You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: centraldashboard
|
|
name: centraldashboard
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: centraldashboard
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: centraldashboard
|
|
sidecar.istio.io/inject: "true"
|
|
spec:
|
|
containers:
|
|
- name: centraldashboard
|
|
image: ghcr.io/kubeflow/kubeflow/central-dashboard
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: 8082
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 30
|
|
ports:
|
|
- containerPort: 8082
|
|
protocol: TCP
|
|
env:
|
|
- name: USERID_HEADER
|
|
value: CD_USERID_HEADER_PLACEHOLDER
|
|
- name: USERID_PREFIX
|
|
value: CD_USERID_PREFIX_PLACEHOLDER
|
|
- name: PROFILES_KFAM_SERVICE_HOST
|
|
value: profiles-kfam.kubeflow
|
|
- name: REGISTRATION_FLOW
|
|
value: CD_REGISTRATION_FLOW_PLACEHOLDER
|
|
- name: DASHBOARD_CONFIGMAP
|
|
value: CD_CONFIGMAP_NAME_PLACEHOLDER
|
|
- name: LOGOUT_URL
|
|
value: '/oauth2/sign_out'
|
|
- name: POD_NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
- name: COLLECT_METRICS
|
|
value: CD_COLLECT_METRICS
|
|
serviceAccountName: centraldashboard
|
|
|