1. Configmap is created on the node1. That should be mounted as volumes in pod.yml.
2. How to define in pod.yml?
spec:
volumes:
- name: conf-vol
hostPath: <node-name>/<configmapname>
containers:
- name:
image:
volumeMounts:
- name: conf-vol
mountPath: <what to and how to>