forked from kubeflow/katib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.yaml
36 lines (36 loc) · 823 Bytes
/
ui.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: katib-ui
namespace: kubeflow
labels:
katib.kubeflow.org/component: ui
spec:
replicas: 1
selector:
matchLabels:
katib.kubeflow.org/component: ui
template:
metadata:
labels:
katib.kubeflow.org/component: ui
annotations:
sidecar.istio.io/inject: "false"
spec:
containers:
- name: katib-ui
image: docker.io/kubeflowkatib/katib-ui
command:
- "./katib-ui"
args:
- "--port=8080"
env:
- name: KATIB_CORE_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- name: ui
containerPort: 8080
serviceAccountName: katib-ui