How to edit ConfigMap to add new data

0 votes

Hi Guys,

I have created one ConfigMap. Now I want to add new data to this ConfigMap. How can I do that?

Aug 31, 2020 in Kubernetes by MD
• 95,460 points
9,216 views

1 answer to this question.

0 votes

Hi@MD,

You can edit your ConfigMap. Kubectl has commands to edit your file. It will show in YML format by default. Use the below command to edit your ConfigMap.

$ kubectl edit configmap my-config
answered Aug 31, 2020 by akhtar
• 38,260 points

Related Questions In Kubernetes

0 votes
1 answer

How to add ConfigMap data to a Volume in a Pod?

Hi@akhtar, When you create a ConfigMap using --from-file, the ...READ MORE

answered Aug 31, 2020 in Kubernetes by MD
• 95,460 points
1,242 views
0 votes
1 answer
0 votes
1 answer

How to configure a Pod to use the updated configMap?

If the config map is mounted into ...READ MORE

answered Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
1,174 views
0 votes
2 answers

How to recover pods data if you lose them?

POD does t maintain state and when ...READ MORE

answered Feb 15, 2020 in Kubernetes by RR
3,065 views
0 votes
0 answers

How to access the configmap created on a worker node, in the pod.yaml in Master?

1. Configmap is created on the node1. ...READ MORE

Apr 5, 2020 in Kubernetes by jayabmaguluri
• 140 points
1,030 views
0 votes
1 answer

How to create a ConfigMap from literals?

Hi@akhtar, You can use kubectl create configmap with the --from-literal argument to ...READ MORE

answered Aug 31, 2020 in Kubernetes by MD
• 95,460 points
2,280 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,577 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP