kubelet: Mount machine-id, resolv.conf
@@ -93,6 +93,12 @@ spec:
- name: os-release
mountPath: /etc/os-release
readOnly: true
+ - name: etc-machine-id
+ mountPath: /etc/machine-id
+ readOnly: true
+ - name: etc-resolv
+ mountPath: /etc/resolv.conf
+ readOnly: true
- name: iscsiadm
mountPath: /usr/sbin/iscsiadm
- name: modules
@@ -141,6 +147,14 @@ spec:
hostPath:
path: /usr/lib/os-release
type: File
+ - name: etc-machine-id
+ hostPath:
+ path: /etc/machine-id
+ type: File
+ - name: etc-resolv
+ hostPath:
+ path: /etc/resolv.conf
+ type: File
- name: iscsiadm
hostPath:
path: /usr/sbin/iscsiadm
