Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions kustomize-nfs/dkube/base/dkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,12 @@ spec:
protocol: TCP
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- mountPath: /usr/local/nvidia/lib64
name: nvidia-lib
- mountPath: /var/run/docker.sock
name: docker
serviceAccountName: dkube
dnsConfig:
options:
Expand All @@ -140,6 +143,10 @@ spec:
- hostPath:
path: /usr/lib64/nvidia
name: nvidia-lib
- hostPath:
path: /var/run/docker.sock
name: docker

---
apiVersion: extensions/v1beta1
kind: DaemonSet
Expand All @@ -166,7 +173,7 @@ spec:
procMount: Default
runAsUser: 0
volumeMounts:
- mountPath: /var/lib/docker/containers
- mountPath: LOG_PATH
name: varlibdockercontainers
readOnly: true
- mountPath: /fluentd/etc/
Expand All @@ -181,7 +188,7 @@ spec:
procMount: Default
runAsUser: 0
volumeMounts:
- mountPath: /var/lib/docker/containers
- mountPath: LOG_PATH
name: varlibdockercontainers
readOnly: true
- mountPath: /fluentd/etc/
Expand All @@ -207,7 +214,7 @@ spec:
name: dkube-log-collector
name: dkube-log-collector
- hostPath:
path: /var/lib/docker/containers
path: LOG_PATH
name: varlibdockercontainers
- configMap:
defaultMode: 420
Expand Down
7 changes: 7 additions & 0 deletions kustomize/dkube/base/dkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,12 @@ spec:
protocol: TCP
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- mountPath: /usr/local/nvidia/lib64
name: nvidia-lib
- mountPath: /var/run/docker.sock
name: docker
serviceAccountName: dkube
dnsConfig:
options:
Expand All @@ -146,6 +149,10 @@ spec:
- hostPath:
path: /usr/lib64/nvidia
name: nvidia-lib
- hostPath:
path: /var/run/docker.sock
name: docker

---
apiVersion: extensions/v1beta1
kind: DaemonSet
Expand Down