when i changed somethiing in configmap and then after apply change ,i run kubectl apply changes it reset to default value in configmap , why this is happen
Could you clarify which change have you made ?
For small changes in configMap
, use edit
kubectl edit configmap <cfg-name>
This will open configMap in vi
editor. Make the changes and save it.