Containers now use the host time zone settings.
Change-Id: Ia47ac0f493f89ea8664102c8d447caf3e6f5a748
Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
imagePullPolicy: IfNotPresent
command: [ "/cpu-device-plugin", "-logtostderr" ]
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /etc/cpu-pooler
name: cpu-pooler-config
- mountPath: /var/lib/kubelet/device-plugins/
fieldRef:
fieldPath: spec.nodeName
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: devicesock
hostPath:
# directory location on host
imagePullPolicy: IfNotPresent
command: [ "/cpu-setter", "--poolconfigs=/etc/cpu-pooler", "--cpusetroot=/sys/fs/cgroup/cpuset/kubepods/" ]
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /etc/cpu-pooler
name: cpu-pooler-config
- mountPath: /var/lib/kubelet/device-plugins/kubelet_internal_checkpoint
fieldRef:
fieldPath: spec.nodeName
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: checkpointfile
hostPath:
path: /var/lib/kubelet/device-plugins/kubelet_internal_checkpoint
ports:
- containerPort: {{ .Values.custom_metrics_api.port }}
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /var/run/serving-cert
name: volume-serving-cert
readOnly: true
name: config
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: volume-serving-cert
secret:
secretName: cm-adapter-serving-certs
port: {{ .Values.elasticsearch.port }}
initialDelaySeconds: 5
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /usr/share/elasticsearch/data
name: data
- mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
subPath: elasticsearch-logrotate
terminationGracePeriodSeconds: {{ .Values.elasticsearch.data.terminationGracePeriodSeconds }}
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: elasticsearch-config
configMap:
name: elasticsearch
- containerPort: {{ .Values.elasticsearch.port }}
name: http
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /usr/share/elasticsearch/data
name: data
- mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
name: supervisord-config
subPath: supervisord.conf
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: elasticsearch-config
configMap:
name: elasticsearch
- "--tls-cert-file=/etc/metrics-server/ssl/metrics-server.crt"
- "--tls-private-key-file=/etc/metrics-server/ssl/metrics-server.key"
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: stuffs
mountPath: /etc/metrics-server
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: stuffs
hostPath:
path: /etc/metrics-server
- SYS_ADMIN
- NET_ADMIN
- NET_RAW
+ volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
tolerations:
- effect: NoSchedule
operator: Exists
operator: Exists
terminationGracePeriodSeconds: 0
serviceAccountName: netwatcher
+ volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
limits:
memory: 2Gi
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /var/run/serving-cert
name: prometheus-serving-cert
readOnly: true
initialDelaySeconds: 3
timeoutSeconds: 5
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: prometheus-serving-cert
secret:
secretName: prometheus-serving-certs
- "-v=10"
- "-resource-prefix=nokia.k8s.io"
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- mountPath: /var/lib/kubelet/device-plugins/
name: devicesock
readOnly: false
mountPath: /etc/pcidp/
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: devicesock
hostPath:
path: /var/lib/kubelet/device-plugins/
image: {{ .Values.registry_url }}/{{ .Values.registry_reponame }}/svcwatcher:{{ .Values.svcwatcher.container_version }}
args:
- "--logtostderr"
+ volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
tolerations:
- effect: NoSchedule
operator: Exists
operator: Exists
terminationGracePeriodSeconds: 0
serviceAccountName: svcwatcher
+ volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
{{ end }}
command: [ "/cpu-device-webhook", "-tls-cert-file=/etc/webhook/certs/cpuwebhook.crt", "-tls-private-key-file=/etc/webhook/certs/cpuwebhook.key", "-alsologtostderr", "-v=4" ]
imagePullPolicy: IfNotPresent
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: webhook-certs
mountPath: /etc/webhook/certs
readOnly: true
- name: cpu-pooler-config
mountPath: /etc/cpu-pooler
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
# TODO: make it a secret
- name: webhook-certs
hostPath: