► Reference to YAML Configs: gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/configmap-and-secret-volumes 0:13 - Configuration Files usages in pods 1:13 - ConfigMap and Secret creating individual values (key-value pairs) for env variables 2:40 - ConfigMap and Secret creating files for mounting them into the pod 14:44 - Summary 👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Please don't forget to subscribe and give me a thumbs up if you liked my video 😊🙏
@SuperDeb19854 жыл бұрын
what will happen if we delete file from volume from container ,will it be deleted from pod too ?
@kushagraahire187110 ай бұрын
I signed up for java but they are also giving me work related to devops. This video is a life saver.😅
@rajasivagaminathan98284 жыл бұрын
Nana the life saver of kubernetes developers
@TechWorldwithNana4 жыл бұрын
I'm glad that you think so Raja 😅 Thanks for the support. Please don't forget to subscribe and share. 🙂
@guilhermegiusti043 жыл бұрын
No doubt, when we talk about kubernetes your channel is the best
@SERV0074 жыл бұрын
I have been watching some of the k8s videos. The animated diagrams and the way each sucbject is approached makes complex topics look simple. Tha's a rare talent right there.
@TechWorldwithNana4 жыл бұрын
Wow, thank you for this comment! Glad you think so. If you want to support me, please share my video to people who are interested in learning k8s or devops in general. Would be very helpful :)
@raghavops1464 жыл бұрын
Thank you Naina! what an amazing tutorial and you got the greatest acumen to explain complex things. Kubernetes is no monster to me now after watching your videos. Thanks for being magnanimous and sharing your videos which are worth gold. God bless you!
@adimardev15502 жыл бұрын
after watching lots of devops toturials, everything is becoming a lot more easier. thanks for our great youtube content creators like Nana and others...
@pallavkan4 жыл бұрын
best channel to learn K8s. Explanation is simple and can easily be remembered. Brilliant!!
@TechWorldwithNana4 жыл бұрын
Thankful for the opportunity to help Pallav. Your compliment is much appreciated. 😇
@arpitashriwastav50954 жыл бұрын
Thank you so much for this vedio, from some days i m struggling on this topic and today your vedio appear like miracle to me♥️♥️♥️♥️♥️♥️
@TechWorldwithNana4 жыл бұрын
You're welcome, really glad to hear that they helped you :)
@bharathkumar200710 ай бұрын
What a wonderful explanation - Must know concepts explained in very simple way. Well done :)
@jaspaljuneja77084 жыл бұрын
Thankyou so very much ankita, this video lecture was like a walk on snow you made it just so easy. Keep it up!!
@TechWorldwithNana4 жыл бұрын
Thank you for the encouragement Jaspal. Just the little things that I need to fuel my passion. Much appreciated. 😇
@AdityaSingh-ih1fz4 жыл бұрын
I have always struggled to get a clear understanding of the use cases of configMap and secret but thanks to you for making it so simple to understand and remember.
@TechWorldwithNana4 жыл бұрын
You're welcome Aditya. Wishing you all the best in your career. Stay safe. 😇
@jeeperscreepers72 жыл бұрын
Best video on configmaps on KZbin, thx!
@lutif14154 жыл бұрын
Putting a like before even watching., 👍👍👍
@_Username__3 жыл бұрын
I play her vids as comforting BGM while I code other stuff :)
@saravanachilla4 жыл бұрын
You are an amazing presenter. Good work.
@TechWorldwithNana4 жыл бұрын
Grateful for the appreciation Saravana. 😅
@AmolGautam2 жыл бұрын
Thank you so much for this video. I constantly come back to this and refer a few things.
@sylvia-liu3 жыл бұрын
It became so much clear after watching your video. Great explanation! Thanks for sharing.
@ianku2 жыл бұрын
this video was lifesaver for me thanks for these quality content
@nmrkmsis20004 жыл бұрын
WoWwwww thank you so much. You are simply great. I asked the content and you have recorded.😍😍😍😍😍
@TechWorldwithNana4 жыл бұрын
Thanks Murali :)
@amulsharma81724 жыл бұрын
Thanks nana, you r genius, beauty with brain, such an extraordinary person. Thanks a lot. Grat work keep it up ❤❤
@allards Жыл бұрын
Thank you, the best explanation of this subject i found.
@flinox3 жыл бұрын
Great video Nana, tks so much for share this knoledge with us !!
@rajasekharp1176 Жыл бұрын
Thanks Nana for this tutorial. I find it very useful and Appreciate your good job.
@pratapreddy2313 жыл бұрын
I love this video. I learn from a detailed explanation. Thank you so much!
@Joy-vo4ne Жыл бұрын
Great vedieo. Learned a lot from you. Thanks Nana. It looks like you have used a wrong screenshot at 16:13. while you used the top left with kind/configmap, you use kind/secret for using env variable case.
@amarlukade22253 жыл бұрын
perfectly explained.. really helped me all doubts ... youuuuu rocks !!!! thank you
@nirmaljha14533 жыл бұрын
This was amazing demonstration of config map.
@Hackenbaker3 жыл бұрын
I always learn something new thanks to you 🙏
@minhtungdoan80346 ай бұрын
Very straightforward and useful tutorial
@SandroAldave4 жыл бұрын
You are great at explaining concepts. Keep it up!!
@TechWorldwithNana4 жыл бұрын
Thank you Sandro :)
@davidjhons254911 ай бұрын
Congratulations🎉 For 1 M
@mabanu77112 жыл бұрын
Thanks Nana for the explanation and implementation
@rush2112chile3 жыл бұрын
La mejor explicación! te amo!
@DevOpsJourney4 жыл бұрын
I love kubernetes. Just recently been doing some videos on it on my channel
@vipinkoul91294 жыл бұрын
Waiting for your other videos on different volume types.
@cobalt_32833 жыл бұрын
Very helpful, thanks Nana!
@deepakg33314 жыл бұрын
Its nice lecture am the fan of u, the way u r taking in to the topics keep on
@TechWorldwithNana4 жыл бұрын
Thank you Deepak, glad you like my teaching style :)
@ravism15853 жыл бұрын
Great, good to start with basics
@kemibrianolimba682 Жыл бұрын
Thanks Nana. that was a great explanation
@soujatyabhattacharya15302 жыл бұрын
Wonderful Video Nana ❤❤
@srinathvk4 жыл бұрын
nice walk through of Vol and Secret. Looking forward to learn about local volume as i got 'node affinity conflict' error on mac using docker-desktop
@TechWorldwithNana4 жыл бұрын
Thanks, video will come soon!
@ro2010jo3 жыл бұрын
@@TechWorldwithNana , Many thanks for the excellent videos. I found your explanations to be very useful. Have you finished/posted detailed videos for local and remote volumes, explaining the Yaml files? If so, can you please share the link?
@hector_qa73223 жыл бұрын
Guys please show some love on the comments, remember all this Kubernetes training is well made and besides it is free
@George-mk7lp3 жыл бұрын
you are awesome Nana!
@andreilq4 жыл бұрын
Very good and precise tutorial!
@TechWorldwithNana4 жыл бұрын
Thank you so much :)
@ajk71513 жыл бұрын
excellent explanation!
@mohammedsuhailbasha48604 жыл бұрын
Thanks for your beautiful explaination.please make and upload videos on statefulsets.
@TechWorldwithNana4 жыл бұрын
Hi Mohammed! Thank you, yes I will make a separate video about statefulSets. Turn on the bell to get notified and don't miss new videos :)
@ianzhang70484 жыл бұрын
Great video, really helpful!
@TechWorldwithNana4 жыл бұрын
Thanks Ian. 😇
@SilverWyn233 жыл бұрын
High quality education videos! Thank you for your great work ^^
@charankowndinya944 жыл бұрын
super explanation
@TechWorldwithNana4 жыл бұрын
Thanks 🙂
@SrikarAnanthula3 жыл бұрын
simplicity ! as usual awesome.
@sahilsethi21323 жыл бұрын
great and simple explanation
@Mr19119959 ай бұрын
Can you please explain where do the symlinks that the newly sourced files via the configmap and the secret point to?
@decisionsystems49843 жыл бұрын
Wonderful video! At 7:34 you show the format of the config-file.yaml file. When I do the same, I get separate files; one for each key versus all keys and values being stored in mosquitto.conf What could I be doing wrong? Have K8 changed since this video? Thanks.
@akashdubey83412 жыл бұрын
Hi Nana, will spring boot be able to pick up application.properties file from /config location. Thanks for video
@Sachin2011jan2 жыл бұрын
Very well explained
@rajeshraju50603 жыл бұрын
Hi Nana, How to use configure Centralised configuration by using configmap in the kustomization.
@adithjawahar16382 жыл бұрын
Hi Nana, suppose i am already having a json file in my container, I just need to replace a certain value in that file. What will i do in that scenario?
@jaja435113 жыл бұрын
Few questions: 1. Can you delete a configmap then deploy a new one while a pod is still running or using it? 2. Can you change something in a configmap while it is being used by a running pod? will the pod detect the changes in the configmap?
@amitji24x72 жыл бұрын
Hi Nana, I don't understand the point of secrets if I have access to secret manifest and can decode it?
@sdcookingpassion4 жыл бұрын
I am applying the same mosquitto-config-components.yaml from your repo. I can see the Secret generated for mosquitto to use . But when i logged into the mosquitto pod, I do see /mosquitto/config but not the /mosquitto/secret directory. Any debugging step that can help. No errors on kubectl apply or kubectl pod
@jayashrees19924 жыл бұрын
Thanks .it is very helpful
@TechWorldwithNana4 жыл бұрын
You're welcome Jayashree.😇
@namanrawal58493 жыл бұрын
thank you! This helped me solve a problem with keycloak and realm-export.json. Does the overwrite create the file if the file doesn't exist, or does it simply overwrite what is already there?
@rokofromhell92644 жыл бұрын
Thanks a lot! I love your videos!
@TechWorldwithNana4 жыл бұрын
Happy to see that you watch all my videos :) Thanks for that!
@kayoutube6902 жыл бұрын
Hi Nana, I just wanted to ask if do you have module for AWS parameter store for eks??
@inzheneher4 жыл бұрын
Hi Nana, is it possible to create secret specification for creating secret from file, not from command line with --from-file attribute?
@tapas511 Жыл бұрын
Awesome. It's an easy to understand concept. Do you have full courses in udemy?
@yashwantvarma39214 жыл бұрын
Nicely explained
@TechWorldwithNana4 жыл бұрын
Thanks, glad to hear!
@ceciivanov61522 жыл бұрын
When you write kubectl exex and then pass the --/bin/sh what is that? It is the entry point for the container meaning it will start the shell ?
@rakeshnagarajan77014 жыл бұрын
Hi nana, which software are you using to create these animations?
@devved86153 жыл бұрын
What is best practice to separate development (local development) and production (k8s) ?
@kunalbagwe60913 жыл бұрын
Hello, One question, i have a configmap .ini file which has username and password fields. But i need to provide values to username nd password from the secret file which belongs to other helm chart. Is this possible to carry out as in use secrets inside configmap. If yes, then how can this be done.
@drsquarefx4 жыл бұрын
Can we share the storage volumes in between two pods in k8s cluster
@ColumbusO3 жыл бұрын
Hi, I want to have a fixed number of pods in K8 and each pod will have slightly different configuration, I want this because I want to divide the work among each pods, is there a way to do this ? Thanks in advance.
@ashrafhariff15803 жыл бұрын
Hi Nana, thank you for your videos they're incredible. I was wondering if you had a demo video for local persistent volumes?
@veenumittal13272 жыл бұрын
for one of my services my pod is up and running but when I am trying to access it from chrome (ui) it not opening.. how to debug it
@chanpaul12483 жыл бұрын
Would you please tell me where is the secret stored in k8s?
@akashrajvanshi63623 жыл бұрын
I use this exact same for cassandra.yaml but its gives me error of read only fs. Is there any way i can mount cassanday.yaml and it will be writable by cassandra
@sivabhimireddy22834 жыл бұрын
Awesome orchestration!! I wanna marry you😁
@TechWorldwithNana4 жыл бұрын
😅
@lividfont87143 жыл бұрын
When we do exec -it, are we getting into the pod or the container? A pod may have multiple containers.
@zarakikun13 жыл бұрын
if the pod only has one and only one container running, we will access that that container. If the pod has >1 containers running, it will prompt an error to specify the container to access with a -c flag
@lividfont87143 жыл бұрын
@@zarakikun1 That's what I thought. Thank you very much.
@You95532 жыл бұрын
Hi Nana, Is there a way to append contents to the .conf file instead of overwriting the whole file?
@Nemhesis109 ай бұрын
excellent example!!! it's possible use this volumeMount to declare envs, using cat /secret/secret.file?
@headinthekloudz4 жыл бұрын
Thanks nana🥳
@TechWorldwithNana4 жыл бұрын
You're welcome :)
@MelomaniacForever3 жыл бұрын
you are the best!
@davidebattaglia44743 жыл бұрын
Is it unsafe to encode secrets in base64?
@raphaelkrupinski7572 Жыл бұрын
Thanks for the great explanation! Is there a way to mount a single file, like in docker or does it work only for directories
@bhavyasreethakur66344 жыл бұрын
Thank you so much for this video, can you also explain about ConfigMap generator to configure secrets & Certificates from json file
@TechWorldwithNana4 жыл бұрын
Hi Bhavyasree! You're welcome. Hopefully we can add that to the pipeline. Appreciate the support. 🙂
@anmolrai95683 жыл бұрын
Hello Nana Whenever I am creating a container it is always showing as containerCreating in status and container is not ready and running
@prasadjaiswal3532 жыл бұрын
Thank you so much, I learned a lot through these devops videos also could you help me understand if we can pass Configmap metadata name as variable if it’s dynamic in deployment pods.. along with keys.
@bhaskar67054 жыл бұрын
Hey it’s great video 😀
@TechWorldwithNana4 жыл бұрын
Thanks, glad you like it :)
@dconwheels53094 жыл бұрын
Very good explanation. Please suggest if I have store these secret and configmap files in a separate secure location instead of keeping them with deployment files then how to put it in the deployment file..
@rauldee4 жыл бұрын
Hello Nana, Great course ,Is it possible to mount kubeconfig file this way ,so that the PODs can access them .I have a use case with that
@Alhansy213 жыл бұрын
Thanks Nana for your incredible video, I’ve a small question please How can I create that data: secret.file and how it’s equal to the secret data: params I don’t know how make them equal each other ?
@madhupelluri50253 жыл бұрын
Hi Nana, how to use the existing seal secrets with the new API seal secrets
@wchopite4 жыл бұрын
What about versioning those files? I mean: For example, I have my code with a k8s folder with some files like: deployment.yaml, service.yaml, config.yaml... My question is: Do I must to add a secret.yaml file to the repo versioning? Thanks and your videos are so cool
@TechWorldwithNana4 жыл бұрын
That's a very good question Wladimir. Regarding versioning of secret files, of course they shouldn't be checked in to the repository with other config files. So they are created locally, on the server itself or from your local machine where you execute kubectl commands. You can try to keep the history locally and/or on the cluster node, if others need access too.
@wchopite4 жыл бұрын
@@TechWorldwithNana Excellent. Thank you for your reply. I'm doing exactly what you are saying. Let me congratulate you again, your channel, your videos are very useful and a great resource. Thank very much!
@chrispure74614 жыл бұрын
What if my pod wants to dynamically refresh the secret (password, if it changes) from configmap volume without restarting the pod?
@sabriboubaker4 жыл бұрын
Great explanation! One question: can we change the value of configmap mountes as a volume? I mean if i add a line into the file mosquito.file from one pod, will i be able to see it from another pod ? Thanks
@TechWorldwithNana4 жыл бұрын
Thanks Sabri. No, you can't change configMap value from the pod.
@nagendrareddybandi17104 жыл бұрын
HI Nana, Excellent Video & Nice the way of presentation. Thanks for your time for this. I just have one query on this. in POD definition file under spec: volumes, is it mean volume will create? and the files mosquite-config & secret-file will store on base machine?
@VS-bn8iw2 жыл бұрын
I installed helm prometheus moniter stack on minikube . I am trying to edit Alerts in rules configmap file but after editing changes is not showing in configmap file. And Also trying to delete configmap yaml file but still same configmap yaml file creating again and again . Anyone know why this happened?
@hariharansiddharthsuresh12404 жыл бұрын
I've gone through a lot of videos of yours pertaining to kubernetes and they've been really good and easy to understand. But i have one question here. If the requirement of a config file is known well before hand, is it better to bake it in the docker image while creating or is use of configmaps recommended ?
@TechWorldwithNana4 жыл бұрын
ConfigMaps may change often, if you change the endpoint names, add new ones or change some config details. So by having it outside of docker image, you don't have to rebuild the image. Also you can pass the config map or secret to diff applications, if they both need the same service.