Kubernetes ConfigMap and Secret as Kubernetes Volumes | Demo

  Рет қаралды 206,337

TechWorld with Nana

TechWorld with Nana

Күн бұрын

Пікірлер
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
► 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 😊🙏
@SuperDeb1985
@SuperDeb1985 4 жыл бұрын
what will happen if we delete file from volume from container ,will it be deleted from pod too ?
@kushagraahire1871
@kushagraahire1871 10 ай бұрын
I signed up for java but they are also giving me work related to devops. This video is a life saver.😅
@rajasivagaminathan9828
@rajasivagaminathan9828 4 жыл бұрын
Nana the life saver of kubernetes developers
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
I'm glad that you think so Raja 😅 Thanks for the support. Please don't forget to subscribe and share. 🙂
@guilhermegiusti04
@guilhermegiusti04 3 жыл бұрын
No doubt, when we talk about kubernetes your channel is the best
@SERV007
@SERV007 4 жыл бұрын
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.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
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 :)
@raghavops146
@raghavops146 4 жыл бұрын
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!
@adimardev1550
@adimardev1550 2 жыл бұрын
after watching lots of devops toturials, everything is becoming a lot more easier. thanks for our great youtube content creators like Nana and others...
@pallavkan
@pallavkan 4 жыл бұрын
best channel to learn K8s. Explanation is simple and can easily be remembered. Brilliant!!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thankful for the opportunity to help Pallav. Your compliment is much appreciated. 😇
@arpitashriwastav5095
@arpitashriwastav5095 4 жыл бұрын
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♥️♥️♥️♥️♥️♥️
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome, really glad to hear that they helped you :)
@bharathkumar2007
@bharathkumar2007 10 ай бұрын
What a wonderful explanation - Must know concepts explained in very simple way. Well done :)
@jaspaljuneja7708
@jaspaljuneja7708 4 жыл бұрын
Thankyou so very much ankita, this video lecture was like a walk on snow you made it just so easy. Keep it up!!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you for the encouragement Jaspal. Just the little things that I need to fuel my passion. Much appreciated. 😇
@AdityaSingh-ih1fz
@AdityaSingh-ih1fz 4 жыл бұрын
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.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome Aditya. Wishing you all the best in your career. Stay safe. 😇
@jeeperscreepers7
@jeeperscreepers7 2 жыл бұрын
Best video on configmaps on KZbin, thx!
@lutif1415
@lutif1415 4 жыл бұрын
Putting a like before even watching., 👍👍👍
@_Username__
@_Username__ 3 жыл бұрын
I play her vids as comforting BGM while I code other stuff :)
@saravanachilla
@saravanachilla 4 жыл бұрын
You are an amazing presenter. Good work.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Grateful for the appreciation Saravana. 😅
@AmolGautam
@AmolGautam 2 жыл бұрын
Thank you so much for this video. I constantly come back to this and refer a few things.
@sylvia-liu
@sylvia-liu 3 жыл бұрын
It became so much clear after watching your video. Great explanation! Thanks for sharing.
@ianku
@ianku 2 жыл бұрын
this video was lifesaver for me thanks for these quality content
@nmrkmsis2000
@nmrkmsis2000 4 жыл бұрын
WoWwwww thank you so much. You are simply great. I asked the content and you have recorded.😍😍😍😍😍
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks Murali :)
@amulsharma8172
@amulsharma8172 4 жыл бұрын
Thanks nana, you r genius, beauty with brain, such an extraordinary person. Thanks a lot. Grat work keep it up ❤❤
@allards
@allards Жыл бұрын
Thank you, the best explanation of this subject i found.
@flinox
@flinox 3 жыл бұрын
Great video Nana, tks so much for share this knoledge with us !!
@rajasekharp1176
@rajasekharp1176 Жыл бұрын
Thanks Nana for this tutorial. I find it very useful and Appreciate your good job.
@pratapreddy231
@pratapreddy231 3 жыл бұрын
I love this video. I learn from a detailed explanation. Thank you so much!
@Joy-vo4ne
@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.
@amarlukade2225
@amarlukade2225 3 жыл бұрын
perfectly explained.. really helped me all doubts ... youuuuu rocks !!!! thank you
@nirmaljha1453
@nirmaljha1453 3 жыл бұрын
This was amazing demonstration of config map.
@Hackenbaker
@Hackenbaker 3 жыл бұрын
I always learn something new thanks to you 🙏
@minhtungdoan8034
@minhtungdoan8034 6 ай бұрын
Very straightforward and useful tutorial
@SandroAldave
@SandroAldave 4 жыл бұрын
You are great at explaining concepts. Keep it up!!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you Sandro :)
@davidjhons2549
@davidjhons2549 11 ай бұрын
Congratulations🎉 For 1 M
@mabanu7711
@mabanu7711 2 жыл бұрын
Thanks Nana for the explanation and implementation
@rush2112chile
@rush2112chile 3 жыл бұрын
La mejor explicación! te amo!
@DevOpsJourney
@DevOpsJourney 4 жыл бұрын
I love kubernetes. Just recently been doing some videos on it on my channel
@vipinkoul9129
@vipinkoul9129 4 жыл бұрын
Waiting for your other videos on different volume types.
@cobalt_3283
@cobalt_3283 3 жыл бұрын
Very helpful, thanks Nana!
@deepakg3331
@deepakg3331 4 жыл бұрын
Its nice lecture am the fan of u, the way u r taking in to the topics keep on
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you Deepak, glad you like my teaching style :)
@ravism1585
@ravism1585 3 жыл бұрын
Great, good to start with basics
@kemibrianolimba682
@kemibrianolimba682 Жыл бұрын
Thanks Nana. that was a great explanation
@soujatyabhattacharya1530
@soujatyabhattacharya1530 2 жыл бұрын
Wonderful Video Nana ❤❤
@srinathvk
@srinathvk 4 жыл бұрын
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
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks, video will come soon!
@ro2010jo
@ro2010jo 3 жыл бұрын
@@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_qa7322
@hector_qa7322 3 жыл бұрын
Guys please show some love on the comments, remember all this Kubernetes training is well made and besides it is free
@George-mk7lp
@George-mk7lp 3 жыл бұрын
you are awesome Nana!
@andreilq
@andreilq 4 жыл бұрын
Very good and precise tutorial!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you so much :)
@ajk7151
@ajk7151 3 жыл бұрын
excellent explanation!
@mohammedsuhailbasha4860
@mohammedsuhailbasha4860 4 жыл бұрын
Thanks for your beautiful explaination.please make and upload videos on statefulsets.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
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 :)
@ianzhang7048
@ianzhang7048 4 жыл бұрын
Great video, really helpful!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks Ian. 😇
@SilverWyn23
@SilverWyn23 3 жыл бұрын
High quality education videos! Thank you for your great work ^^
@charankowndinya94
@charankowndinya94 4 жыл бұрын
super explanation
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks 🙂
@SrikarAnanthula
@SrikarAnanthula 3 жыл бұрын
simplicity ! as usual awesome.
@sahilsethi2132
@sahilsethi2132 3 жыл бұрын
great and simple explanation
@Mr1911995
@Mr1911995 9 ай бұрын
Can you please explain where do the symlinks that the newly sourced files via the configmap and the secret point to?
@decisionsystems4984
@decisionsystems4984 3 жыл бұрын
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.
@akashdubey8341
@akashdubey8341 2 жыл бұрын
Hi Nana, will spring boot be able to pick up application.properties file from /config location. Thanks for video
@Sachin2011jan
@Sachin2011jan 2 жыл бұрын
Very well explained
@rajeshraju5060
@rajeshraju5060 3 жыл бұрын
Hi Nana, How to use configure Centralised configuration by using configmap in the kustomization.
@adithjawahar1638
@adithjawahar1638 2 жыл бұрын
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?
@jaja43511
@jaja43511 3 жыл бұрын
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?
@amitji24x7
@amitji24x7 2 жыл бұрын
Hi Nana, I don't understand the point of secrets if I have access to secret manifest and can decode it?
@sdcookingpassion
@sdcookingpassion 4 жыл бұрын
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
@jayashrees1992
@jayashrees1992 4 жыл бұрын
Thanks .it is very helpful
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome Jayashree.😇
@namanrawal5849
@namanrawal5849 3 жыл бұрын
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?
@rokofromhell9264
@rokofromhell9264 4 жыл бұрын
Thanks a lot! I love your videos!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Happy to see that you watch all my videos :) Thanks for that!
@kayoutube690
@kayoutube690 2 жыл бұрын
Hi Nana, I just wanted to ask if do you have module for AWS parameter store for eks??
@inzheneher
@inzheneher 4 жыл бұрын
Hi Nana, is it possible to create secret specification for creating secret from file, not from command line with --from-file attribute?
@tapas511
@tapas511 Жыл бұрын
Awesome. It's an easy to understand concept. Do you have full courses in udemy?
@yashwantvarma3921
@yashwantvarma3921 4 жыл бұрын
Nicely explained
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks, glad to hear!
@ceciivanov6152
@ceciivanov6152 2 жыл бұрын
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 ?
@rakeshnagarajan7701
@rakeshnagarajan7701 4 жыл бұрын
Hi nana, which software are you using to create these animations?
@devved8615
@devved8615 3 жыл бұрын
What is best practice to separate development (local development) and production (k8s) ?
@kunalbagwe6091
@kunalbagwe6091 3 жыл бұрын
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.
@drsquarefx
@drsquarefx 4 жыл бұрын
Can we share the storage volumes in between two pods in k8s cluster
@ColumbusO
@ColumbusO 3 жыл бұрын
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.
@ashrafhariff1580
@ashrafhariff1580 3 жыл бұрын
Hi Nana, thank you for your videos they're incredible. I was wondering if you had a demo video for local persistent volumes?
@veenumittal1327
@veenumittal1327 2 жыл бұрын
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
@chanpaul1248
@chanpaul1248 3 жыл бұрын
Would you please tell me where is the secret stored in k8s?
@akashrajvanshi6362
@akashrajvanshi6362 3 жыл бұрын
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
@sivabhimireddy2283
@sivabhimireddy2283 4 жыл бұрын
Awesome orchestration!! I wanna marry you😁
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
😅
@lividfont8714
@lividfont8714 3 жыл бұрын
When we do exec -it, are we getting into the pod or the container? A pod may have multiple containers.
@zarakikun1
@zarakikun1 3 жыл бұрын
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
@lividfont8714
@lividfont8714 3 жыл бұрын
@@zarakikun1 That's what I thought. Thank you very much.
@You9553
@You9553 2 жыл бұрын
Hi Nana, Is there a way to append contents to the .conf file instead of overwriting the whole file?
@Nemhesis10
@Nemhesis10 9 ай бұрын
excellent example!!! it's possible use this volumeMount to declare envs, using cat /secret/secret.file?
@headinthekloudz
@headinthekloudz 4 жыл бұрын
Thanks nana🥳
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome :)
@MelomaniacForever
@MelomaniacForever 3 жыл бұрын
you are the best!
@davidebattaglia4474
@davidebattaglia4474 3 жыл бұрын
Is it unsafe to encode secrets in base64?
@raphaelkrupinski7572
@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
@bhavyasreethakur6634
@bhavyasreethakur6634 4 жыл бұрын
Thank you so much for this video, can you also explain about ConfigMap generator to configure secrets & Certificates from json file
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Hi Bhavyasree! You're welcome. Hopefully we can add that to the pipeline. Appreciate the support. 🙂
@anmolrai9568
@anmolrai9568 3 жыл бұрын
Hello Nana Whenever I am creating a container it is always showing as containerCreating in status and container is not ready and running
@prasadjaiswal353
@prasadjaiswal353 2 жыл бұрын
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.
@bhaskar6705
@bhaskar6705 4 жыл бұрын
Hey it’s great video 😀
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks, glad you like it :)
@dconwheels5309
@dconwheels5309 4 жыл бұрын
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..
@rauldee
@rauldee 4 жыл бұрын
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
@Alhansy21
@Alhansy21 3 жыл бұрын
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 ?
@madhupelluri5025
@madhupelluri5025 3 жыл бұрын
Hi Nana, how to use the existing seal secrets with the new API seal secrets
@wchopite
@wchopite 4 жыл бұрын
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
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
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.
@wchopite
@wchopite 4 жыл бұрын
​@@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!
@chrispure7461
@chrispure7461 4 жыл бұрын
What if my pod wants to dynamically refresh the secret (password, if it changes) from configmap volume without restarting the pod?
@sabriboubaker
@sabriboubaker 4 жыл бұрын
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
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks Sabri. No, you can't change configMap value from the pod.
@nagendrareddybandi1710
@nagendrareddybandi1710 4 жыл бұрын
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-bn8iw
@VS-bn8iw 2 жыл бұрын
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?
@hariharansiddharthsuresh1240
@hariharansiddharthsuresh1240 4 жыл бұрын
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 ?
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
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.
@hariharansiddharthsuresh1240
@hariharansiddharthsuresh1240 4 жыл бұрын
@@TechWorldwithNana Thank You!
Pull Image from Private Docker Registry in Kubernetes cluster | Demo
21:44
TechWorld with Nana
Рет қаралды 100 М.
Kubernetes StatefulSet simply explained | Deployment vs StatefulSet
16:00
TechWorld with Nana
Рет қаралды 242 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Kubernetes Volumes Simplified
39:37
Pavan Elthepu
Рет қаралды 39 М.
Credentials and Configs in Kubernetes Secrets and ConfigMaps
19:54
Christian Lempa
Рет қаралды 21 М.
Day 19/40 - kubernetes configmap and secret - CKA Full Course 2024
17:09
Tech Tutorials with Piyush
Рет қаралды 4,5 М.
Fluentd on Kubernetes: Log collection explained
27:54
That DevOps Guy
Рет қаралды 50 М.
ConfigMaps and Secrets in Kubernetes
16:35
Pavan Elthepu
Рет қаралды 14 М.