Added daemonset.yaml volumes types
Added volume types to avoid the K8s default behavior of creating a directory when host path isn't available. When applying multiple ptp instances, the varrun volumes weren't available for a long period of time, than K8s created a directory in place, causing a major issue. Test Plan: Pass: Verify ptp-notification operation when it starts before PTP configuration. Pass: Verify ptp-notification operation when it starts after PTP configuration. Pass: Verify ptp-notification operation when PTP configuration is reapplied. Pass: Verify ptp-notification operation after a system restart. Closes-Bug: 2068397 Change-Id: I94da0440192245c147265176f8da21ee42173615 Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
This commit is contained in:
parent
3b73dc7b8c
commit
fa9ca57ef8
@ -329,13 +329,16 @@ spec:
|
||||
- name: varrun
|
||||
hostPath:
|
||||
path: {{ .Values.ptptracking.ptp4lSocket }}
|
||||
type: Socket
|
||||
{{ end }}
|
||||
- name: pmc
|
||||
hostPath:
|
||||
path: /usr/sbin/pmc
|
||||
type: File
|
||||
- name: phcctl
|
||||
hostPath:
|
||||
path: /usr/sbin/phc_ctl
|
||||
type: File
|
||||
- name: conf
|
||||
hostPath:
|
||||
path: /etc/
|
||||
|
Loading…
x
Reference in New Issue
Block a user