Skip to content

Commit

Permalink
support multiple docker paths when docker root is updated thru knode (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vishiy authored Sep 1, 2020
1 parent 7fc4d4c commit 281a77c
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions kubernetes/omsagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,13 @@ spec:
name: host-log
- mountPath: /var/lib/docker/containers
name: containerlog-path
readOnly: true
- mountPath: /mnt/docker
name: containerlog-path-2
readOnly: true
- mountPath: /mnt/containers
name: containerlog-path-3
readOnly: true
- mountPath: /etc/kubernetes/host
name: azure-json-path
- mountPath: /etc/omsagent-secret
Expand Down Expand Up @@ -444,6 +451,12 @@ spec:
- name: containerlog-path
hostPath:
path: /var/lib/docker/containers
- name: containerlog-path-2
hostPath:
path: /mnt/docker
- name: containerlog-path-3
hostPath:
path: /mnt/containers
- name: azure-json-path
hostPath:
path: /etc/kubernetes
Expand Down Expand Up @@ -528,8 +541,6 @@ spec:
name: docker-sock
- mountPath: /var/log
name: host-log
- mountPath: /var/lib/docker/containers
name: containerlog-path
- mountPath: /etc/kubernetes/host
name: azure-json-path
- mountPath: /etc/omsagent-secret
Expand Down Expand Up @@ -588,9 +599,6 @@ spec:
- name: host-log
hostPath:
path: /var/log
- name: containerlog-path
hostPath:
path: /var/lib/docker/containers
- name: azure-json-path
hostPath:
path: /etc/kubernetes
Expand Down

0 comments on commit 281a77c

Please sign in to comment.