Add container log mount path in yaml (#127)
* Add container log mount path * Add container log mount path * Update ocp-omsagent.yaml * Update ocp-ds-omsagent.yaml
This commit is contained in:
Родитель
638aace612
Коммит
ba5737abdd
|
@ -33,6 +33,8 @@ spec:
|
|||
- mountPath: /etc/omsagent-secret
|
||||
name: omsagent-secret
|
||||
readOnly: true
|
||||
- mountPath: /var/lib/docker/containers
|
||||
name: containerlog-path
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
|
@ -48,3 +50,6 @@ spec:
|
|||
- name: omsagent-secret
|
||||
secret:
|
||||
secretName: omsagent-secret
|
||||
- name: containerlog-path
|
||||
hostPath:
|
||||
path: /var/lib/docker/containers
|
||||
|
|
|
@ -35,6 +35,8 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/docker.sock
|
||||
name: docker-sock
|
||||
- mountPath: /var/lib/docker/containers
|
||||
name: containerlog-path
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
|
@ -47,3 +49,6 @@ spec:
|
|||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
- name: containerlog-path
|
||||
hostPath:
|
||||
path: /var/lib/docker/containers
|
||||
|
|
Загрузка…
Ссылка в новой задаче