notebooks/components/crud-web-apps/tensorboards/manifests/base/deployment.yaml

24 lines
603 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: deployment
spec:
replicas: 1
template:
spec:
containers:
- name: tensorboards-web-app
image: public.ecr.aws/j1r0q0g6/notebooks/tensorboards-web-app
ports:
- containerPort: 5000
env:
- name: APP_PREFIX
value: $(TWA_PREFIX)
- name: USERID_HEADER
value: $(TWA_USERID_HEADER)
- name: USERID_PREFIX
value: $(TWA_USERID_PREFIX)
- name: APP_SECURE_COOKIES
value: $(TWA_APP_SECURE_COOKIES)
serviceAccountName: service-account