vi /etc/kubernetes/manifests/etcd.yaml
volumeMounts:
- mountPath: /opt/qfusion/etcd
name: etcd-data
- mountPath: /etc/kubernetes/pki/etcd
name: etcd-certs
- mountPath: /etc/localtime
name: localtime
hostNetwork: true
priorityClassName: system-node-critical
securityContext:
seccompProfile:
type: RuntimeDefault
volumes:
- hostPath:
path: /etc/kubernetes/pki/etcd
type: DirectoryOrCreate
name: etcd-certs
- hostPath:
path: /opt/qfusion/etcd
type: DirectoryOrCreate
name: etcd-data
- hostPath:
path: /usr/share/zoneinfo/Asia/Shanghai
type: File
name: localtime