File tree 5 files changed +40
-4
lines changed
manifests/v1beta1/components 5 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 58
58
name : katib-config
59
59
subPath : katib-config.yaml
60
60
readOnly : true
61
+ securityContext :
62
+ runAsNonRoot : true
63
+ allowPrivilegeEscalation : false
64
+ runAsUser : 1000
65
+ seccompProfile :
66
+ type : RuntimeDefault
67
+ capabilities :
68
+ drop :
69
+ - ALL
61
70
volumes :
62
71
- name : cert
63
72
secret :
Original file line number Diff line number Diff line change 15
15
spec:
16
16
containers:
17
17
- name: training-container
18
- image: docker.io/kubeflowkatib/pytorch-mnist-cpu:latest
18
+ image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.18.0-rc.0
19
19
command:
20
20
- "python3"
21
21
- "/opt/pytorch-mnist/mnist.py"
33
33
spec:
34
34
containers:
35
35
- name: training-container
36
- image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:latest
36
+ image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.18.0-rc.0
37
37
command:
38
38
- python3
39
39
- -u
54
54
spec:
55
55
containers:
56
56
- name: pytorch
57
- image: docker.io/kubeflowkatib/pytorch-mnist-cpu:latest
57
+ image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.18.0-rc.0
58
58
command:
59
59
- "python3"
60
60
- "/opt/pytorch-mnist/mnist.py"
68
68
spec:
69
69
containers:
70
70
- name: pytorch
71
- image: docker.io/kubeflowkatib/pytorch-mnist-cpu:latest
71
+ image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.18.0-rc.0
72
72
command:
73
73
- "python3"
74
74
- "/opt/pytorch-mnist/mnist.py"
Original file line number Diff line number Diff line change 40
40
initialDelaySeconds : 10
41
41
periodSeconds : 60
42
42
failureThreshold : 5
43
+ securityContext :
44
+ runAsNonRoot : true
45
+ allowPrivilegeEscalation : false
46
+ runAsUser : 1000
47
+ seccompProfile :
48
+ type : RuntimeDefault
49
+ capabilities :
50
+ drop :
51
+ - ALL
Original file line number Diff line number Diff line change 68
68
volumeMounts :
69
69
- name : katib-mysql
70
70
mountPath : /var/lib/mysql
71
+ securityContext :
72
+ runAsNonRoot : true
73
+ allowPrivilegeEscalation : false
74
+ runAsUser : 1000
75
+ seccompProfile :
76
+ type : RuntimeDefault
77
+ capabilities :
78
+ drop :
79
+ - ALL
71
80
volumes :
72
81
- name : katib-mysql
73
82
persistentVolumeClaim :
Original file line number Diff line number Diff line change 33
33
ports :
34
34
- name : ui
35
35
containerPort : 8080
36
+ securityContext :
37
+ runAsNonRoot : true
38
+ allowPrivilegeEscalation : false
39
+ runAsUser : 1000
40
+ seccompProfile :
41
+ type : RuntimeDefault
42
+ capabilities :
43
+ drop :
44
+ - ALL
36
45
serviceAccountName : katib-ui
You can’t perform that action at this time.
0 commit comments