Kubernetes ConfigMap and Secret as Kubernetes Volumes | Demo

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 164

  • @TechWorldwithNana
    @TechWorldwithNana  4 роки тому +17

    ► 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 9 місяців тому +3

    I signed up for java but they are also giving me work related to devops. This video is a life saver.😅

  • @rajasivagaminathan9828
    @rajasivagaminathan9828 4 роки тому +23

    Nana the life saver of kubernetes developers

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +3

      I'm glad that you think so Raja 😅 Thanks for the support. Please don't forget to subscribe and share. 🙂

  • @guilhermegiusti04
    @guilhermegiusti04 3 роки тому +1

    No doubt, when we talk about kubernetes your channel is the best

  • @adimardev1550
    @adimardev1550 Рік тому

    after watching lots of devops toturials, everything is becoming a lot more easier. thanks for our great youtube content creators like Nana and others...

  • @SERV007
    @SERV007 4 роки тому +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 :)

  • @_Username__
    @_Username__ 3 роки тому +3

    I play her vids as comforting BGM while I code other stuff :)

  • @pallavkan
    @pallavkan 4 роки тому +1

    best channel to learn K8s. Explanation is simple and can easily be remembered. Brilliant!!

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      Thankful for the opportunity to help Pallav. Your compliment is much appreciated. 😇

  • @raghavops146
    @raghavops146 4 роки тому +6

    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!

  • @AdityaSingh-ih1fz
    @AdityaSingh-ih1fz 4 роки тому +1

    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 UA-cam, thx!

  • @bharathkumar2007
    @bharathkumar2007 8 місяців тому

    What a wonderful explanation - Must know concepts explained in very simple way. Well done :)

  • @AmolGautam
    @AmolGautam 2 роки тому

    Thank you so much for this video. I constantly come back to this and refer a few things.

  • @saravanachilla
    @saravanachilla 4 роки тому +2

    You are an amazing presenter. Good work.

  • @ianku
    @ianku 2 роки тому

    this video was lifesaver for me thanks for these quality content

  • @arpitashriwastav5095
    @arpitashriwastav5095 4 роки тому +3

    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 роки тому +2

      You're welcome, really glad to hear that they helped you :)

  • @jaspaljuneja7708
    @jaspaljuneja7708 4 роки тому +1

    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. 😇

  • @sylvia-liu
    @sylvia-liu 2 роки тому

    It became so much clear after watching your video. Great explanation! Thanks for sharing.

  • @allards
    @allards Рік тому

    Thank you, the best explanation of this subject i found.

  • @rajasekharp1176
    @rajasekharp1176 Рік тому

    Thanks Nana for this tutorial. I find it very useful and Appreciate your good job.

  • @minhtungdoan8034
    @minhtungdoan8034 5 місяців тому

    Very straightforward and useful tutorial

  • @lutif1415
    @lutif1415 4 роки тому +4

    Putting a like before even watching., 👍👍👍

  • @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?

  • @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.

  • @mabanu7711
    @mabanu7711 2 роки тому

    Thanks Nana for the explanation and implementation

  • @DevOpsJourney
    @DevOpsJourney 4 роки тому +1

    I love kubernetes. Just recently been doing some videos on it on my channel

  • @flinox
    @flinox 3 роки тому +1

    Great video Nana, tks so much for share this knoledge with us !!

  • @nirmaljha1453
    @nirmaljha1453 2 роки тому

    This was amazing demonstration of config map.

  • @vipinkoul9129
    @vipinkoul9129 4 роки тому +3

    Waiting for your other videos on different volume types.

  • @amarlukade2225
    @amarlukade2225 3 роки тому

    perfectly explained.. really helped me all doubts ... youuuuu rocks !!!!
    thank you

  • @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

  • @davidjhons2549
    @davidjhons2549 9 місяців тому +1

    Congratulations🎉
    For 1 M

  • @rush2112chile
    @rush2112chile 3 роки тому

    La mejor explicación! te amo!

  • @cobalt_3283
    @cobalt_3283 2 роки тому +1

    Very helpful, thanks Nana!

  • @Hackenbaker
    @Hackenbaker 3 роки тому

    I always learn something new thanks to you 🙏

  • @amulsharma8172
    @amulsharma8172 4 роки тому

    Thanks nana, you r genius, beauty with brain, such an extraordinary person. Thanks a lot. Grat work keep it up ❤❤

  • @ravism1585
    @ravism1585 3 роки тому

    Great, good to start with basics

  • @nmrkmsis2000
    @nmrkmsis2000 4 роки тому +1

    WoWwwww thank you so much. You are simply great. I asked the content and you have recorded.😍😍😍😍😍

  • @pratapreddy231
    @pratapreddy231 3 роки тому +1

    I love this video. I learn from a detailed explanation. Thank you so much!

  • @mohammedsuhailbasha4860
    @mohammedsuhailbasha4860 4 роки тому +1

    Thanks for your beautiful explaination.please make and upload videos on statefulsets.

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      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 :)

  • @George-mk7lp
    @George-mk7lp 3 роки тому

    you are awesome Nana!

  • @soujatyabhattacharya1530
    @soujatyabhattacharya1530 2 роки тому

    Wonderful Video Nana ❤❤

  • @kemibrianolimba682
    @kemibrianolimba682 Рік тому

    Thanks Nana. that was a great explanation

  • @SandroAldave
    @SandroAldave 4 роки тому +1

    You are great at explaining concepts. Keep it up!!

  • @srinathvk
    @srinathvk 4 роки тому +3

    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 роки тому +1

      Thanks, video will come soon!

    • @ro2010jo
      @ro2010jo 2 роки тому

      @@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?

  • @ajk7151
    @ajk7151 3 роки тому +1

    excellent explanation!

  • @Nemhesis10
    @Nemhesis10 7 місяців тому

    excellent example!!! it's possible use this volumeMount to declare envs, using cat /secret/secret.file?

  • @SrikarAnanthula
    @SrikarAnanthula 3 роки тому

    simplicity ! as usual awesome.

  • @sahilsethi2132
    @sahilsethi2132 3 роки тому

    great and simple explanation

  • @rajeshraju5060
    @rajeshraju5060 3 роки тому

    Hi Nana, How to use configure Centralised configuration by using configmap in the kustomization.

  • @ianzhang7048
    @ianzhang7048 4 роки тому +1

    Great video, really helpful!

  • @namanrawal5849
    @namanrawal5849 3 роки тому +1

    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?

  • @deepakg3331
    @deepakg3331 4 роки тому +1

    Its nice lecture am the fan of u, the way u r taking in to the topics keep on

  • @andreilq
    @andreilq 4 роки тому +1

    Very good and precise tutorial!

  • @Sachin2011jan
    @Sachin2011jan 2 роки тому

    Very well explained

  • @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.

  • @tapas511
    @tapas511 Рік тому

    Awesome. It's an easy to understand concept. Do you have full courses in udemy?

  • @charankowndinya94
    @charankowndinya94 4 роки тому +1

    super explanation

  • @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..

  • @akashdubey8341
    @akashdubey8341 2 роки тому

    Hi Nana, will spring boot be able to pick up application.properties file from /config location. Thanks for video

  • @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

  • @rokofromhell9264
    @rokofromhell9264 4 роки тому +1

    Thanks a lot! I love your videos!

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      Happy to see that you watch all my videos :) Thanks for that!

  • @jayashrees1992
    @jayashrees1992 4 роки тому +1

    Thanks .it is very helpful

  • @MelomaniacForever
    @MelomaniacForever 2 роки тому

    you are the best!

  • @Mr1911995
    @Mr1911995 7 місяців тому

    Can you please explain where do the symlinks that the newly sourced files via the configmap and the secret point to?

  • @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

  • @yashwantvarma3921
    @yashwantvarma3921 4 роки тому +1

    Nicely explained

  • @Sami-bc9iv
    @Sami-bc9iv 4 роки тому

    Excellent!!!!

  • @peregineme
    @peregineme 2 роки тому

    Thanks for this. Is there a way to make them (configmap and secret) persistent?

  • @ashishemc2
    @ashishemc2 4 роки тому

    Grt tutorials Nana. Could you explain difference between secret and config map, except the data is encoded in secret as base64.... anyone can get the secret using 'kubectl get secret "secretname" -o yaml' and decode from base64, Is there any other key difference that iam missing?

  • @bhavyasreethakur6634
    @bhavyasreethakur6634 4 роки тому +1

    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. 🙂

  • @devved8615
    @devved8615 3 роки тому

    What is best practice to separate development (local development) and production (k8s) ?

  • @armelgansop4039
    @armelgansop4039 4 роки тому

    Thanks Nana did you create a persistent volume and pvc for this example I know in real world if the container gets restarted we lose all data ?

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому +1

      No. That's the difference with configMap and secret. You don't need PV and PVC with them. They persist independent of the pod, so when you restart the pod, it will get remounted every time, so you don't lose the data. you can also use the same configMap and secret in multiple pods. For example if you have 5 pods that all need a client certificate, you create one secret and mount it in every pod. Does it clarify your point?

    • @armelgansop4039
      @armelgansop4039 4 роки тому

      @@TechWorldwithNana Absolutely 👌

  • @SilverWyn23
    @SilverWyn23 3 роки тому

    High quality education videos! Thank you for your great work ^^

  • @madhupelluri5025
    @madhupelluri5025 3 роки тому

    Hi Nana, how to use the existing seal secrets with the new API
    seal secrets

  • @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 ?

  • @vipinkoul9129
    @vipinkoul9129 4 роки тому +1

    Awesome :-)

  • @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?

  • @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 ?

  • @bhaskar6705
    @bhaskar6705 4 роки тому +1

    Hey it’s great video 😀

  • @rakeshnagarajan7701
    @rakeshnagarajan7701 4 роки тому +1

    Hi nana, which software are you using to create these animations?

  • @pengdu7751
    @pengdu7751 3 роки тому

    awesome video!

  • @wchopite
    @wchopite 4 роки тому +1

    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!

  • @_Username__
    @_Username__ 3 роки тому

    hey Nana, they released XML for k8s, please talk about that

  • @headinthekloudz
    @headinthekloudz 4 роки тому +1

    Thanks nana🥳

  • @sivabhimireddy2283
    @sivabhimireddy2283 4 роки тому +1

    Awesome orchestration!! I wanna marry you😁

  • @alexandr55443
    @alexandr55443 4 роки тому +1

    Great!!!

  • @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

  • @amitji24x7
    @amitji24x7 2 роки тому

    Hi Nana, I don't understand the point of secrets if I have access to secret manifest and can decode it?

  • @kayoutube690
    @kayoutube690 2 роки тому

    Hi Nana, I just wanted to ask if do you have module for AWS parameter store for eks??

  • @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?

  • @MuhdKazhim
    @MuhdKazhim 9 місяців тому

    clean tqsm

  • @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?

  • @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.

  • @sabriboubaker
    @sabriboubaker 4 роки тому +1

    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.

  • @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?

  • @davidebattaglia4474
    @davidebattaglia4474 3 роки тому +1

    Is it unsafe to encode secrets in base64?

  • @narsi9672
    @narsi9672 3 роки тому +1

    I tried this in Openshift it didn't work. Do you have any suggestions?

  • @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.

  • @chanpaul1248
    @chanpaul1248 3 роки тому

    Would you please tell me where is the secret stored in k8s?