DAY-41 | KUBERNETES LIVE PROJECT | CONFIGMAPS & SECRETS | HOW TO USE CONFIGMAPS & SECRETS INSIDE POD

Sdílet
Vložit
  • čas přidán 14. 03. 2023
  • Support my work
    www.buymeacoffee.com/abhishekprd FREE DEVOPS COURSE
    • DEVOPS ZERO TO HERO CO...
    Hi Everyone, Today is Day-41 of our complete DevOps course and in this video, we will learn about Kubernetes ConfigMaps and Secrets using a Live Project.
    We will learn,
    1. What is a Kubernetes ConfigMap ?
    2. What is a Kubernetes Secret ?
    3. Difference between ConfigMap & Secret ?
    4. How to use ConfigMap data as ENV Vars inside a Django Python Container ?
    5. How to use Configmap data as Volume Mount file inside a Django Python container App ?
    6. What are the advantages of using a Volume Mount over Env var for reading ConfigMap in Kubernetes ?
    7. Interview Questions related to Secrets in Kubernetes ?
    8. Much more.
    Kubernetes Secrets Assignment Reference:
    ===================================
    www.containiq.com/post/kubern...
    Telegram channel
    ===============
    telegram.me/abhishekveeramalla
    About me:
    -----------------
    LinkedIn: / abhishek-veeramalla-77...
    GitHub: github.com/iam-veeramalla
    Medium: / abhishekveeramalla-av
    CZcams: / @abhishekveeramalla .
    .
    Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
  • Zábava

Komentáře • 111

  • @sathiyamohan8119
    @sathiyamohan8119 Před 7 měsíci +12

    Hi Abhishek, before watching your videos, the concepts looks like a huge mountain, but your video makes that into dust particles, as if nothing is there in it. Clear explanations, precise things, what more to say.... you are really awesome.... Thankyou so much for your contribution to the community... Hatsoff....

  • @jeromepenanoh9061
    @jeromepenanoh9061 Před 5 měsíci +2

    I am so proud to have an online teacher like you. You are really changing me in person.

  • @rajarishny2213
    @rajarishny2213 Před 3 měsíci +1

    Hi sir, you are an angel teacher, i always remember the quotes that showed on of your reels "sharing knowledge is a blessing "
    every time when we watch your videos you get a blessing sir. thankyou sir

  • @aditya8sharmaDevOps
    @aditya8sharmaDevOps Před 4 měsíci +5

    15:50 we use kubectl apply... over kuberctl create...
    Because when apply cmd is used, we can simply kubectl edit... the concerned files, without applying again.
    In kubectl create..., you can't use use kubectl edit, you need to manually change the YAML and and create again.

    • @Tagore-lv1wc
      @Tagore-lv1wc Před 3 měsíci +1

      When we use "kubectl create", it creates a new resource based on the provided configuration file.If the resource already exists, kubectl create will return an error, indicating that the resource already exists.
      It's typically used for creating resources that don't already exist in the cluster.
      "kubectl apply" is used to create or update resources based on the provided configuration file. If the resource already exists, kubectl apply will update the existing resource with the new configuration. kubectl apply is idempotent, i.e., we can apply the same configuration multiple times, and it will ensure that the resource is in the desired state. It's commonly used for both creating new resources and updating existing ones.
      I think this clarifies well😊

    • @aditya8sharmaDevOps
      @aditya8sharmaDevOps Před 3 měsíci +1

      @@Tagore-lv1wc Thanks

  • @dharmendradasadhikari4087
    @dharmendradasadhikari4087 Před 5 měsíci +1

    Hi Abhishek, Before watching your video i had gone through many instrcators who are provding the Devops or kubernects concepts. But i must say your way of explaining the concept is totally different . its really touching directly to the heart and mind. Easy to understand the concepts and practial. clear explanation the things to make easy.. Thank you so much abhishek. Now i am a big fan'''

  • @agun21st
    @agun21st Před rokem +2

    I have to mention that, this is a master class to learn about ConfigMap and Secret for K8S. Gain Clear cut concept. Thank you Abhishek Sir.

  • @user-fd3uv5lp9u
    @user-fd3uv5lp9u Před rokem

    This is perfect explaination!

  • @AnujKumar-ot5vi
    @AnujKumar-ot5vi Před 8 měsíci +3

    Excellent..nothing can be better than this on config map and secret 🎉🎉

  • @abhijaysaraswat2833
    @abhijaysaraswat2833 Před 2 měsíci

    your explanation is top notch and you dont miss the small important details thats why i watch devops related content only from this channel.Keep it up!!

  • @chandrasekhar5660
    @chandrasekhar5660 Před 3 měsíci

    You’re the best. I am confident now to apply for interviews and switch my current job ❤

  • @moyinopoola2035
    @moyinopoola2035 Před 4 měsíci +2

    Thank you once again great man. my biggest fear before i encountered your channel use to be an interviewer asking me to write out syntax from memory. You definitely put that fear to bed.

  • @nauserzulfikar8742
    @nauserzulfikar8742 Před měsícem

    I love the way you explain the concepts. Thanks

  • @venkatajagadeesh6826
    @venkatajagadeesh6826 Před rokem +2

    Excellent class about config map and secrets. I saw other tutorials but have not clarity of explanation. We appreciate your support towards us and thanks Abhishek

  • @vback4238
    @vback4238 Před rokem +1

    Thank you so much!!! It's all making sense now!

  • @thanvikamadhala-ip7kg
    @thanvikamadhala-ip7kg Před rokem +2

    Great Stuff. Thank you for your efforts.

  • @rohitvyawahare7452
    @rohitvyawahare7452 Před 3 měsíci

    Great explanation Abhishek

  • @rajkiransenapaty5379
    @rajkiransenapaty5379 Před rokem +1

    So much info you provided in this video. Thanks a lot Sir

  • @Prasad_gutha
    @Prasad_gutha Před 7 měsíci +1

    very good explanation....thankyou Abhishek.
    keep going on....... we will support you brother.

  • @samikshasharma3544
    @samikshasharma3544 Před 5 měsíci

    Awesome video ❤

  • @msatyamounika
    @msatyamounika Před 8 měsíci +3

    I laughed when you said "I know you wouldn't believe" when it took time to show 3309 port😂Even you cracked up. Thankyou for this session once again Abhishek and Congratulations on the Silver Button!🎉

  • @avinashkillam9982
    @avinashkillam9982 Před rokem +1

    Crystal clear explanation... liked it Bro

  • @user-dx4kg9np8h
    @user-dx4kg9np8h Před 3 měsíci +1

    Hi abhishek, I'm following your channel and videos since 2 months. Very informative and clear explanation, which makes things easy for us. Can you do videos on Istio service mesh with practical example and storage's, volumes and what is helm? It would be great opportunity for us to learn about how they are used in real time

  • @karthiksundaram544
    @karthiksundaram544 Před 5 měsíci +1

    Hi Abhishek I will completely my devops journey thru u ❤

  • @saikiran-ez1fg
    @saikiran-ez1fg Před rokem +3

    I feel like there's no one else, who has more knowledge than you on the subject. You're Awesome!!😍

  • @isaacambi1914
    @isaacambi1914 Před 4 měsíci +1

    Impeccable content once again. Im glad I met you.

  • @headfullofcode
    @headfullofcode Před 7 měsíci +1

    great stuff again :) thanks

  • @ajaykumarsv-yt3zn
    @ajaykumarsv-yt3zn Před rokem +1

    First comment
    Thanks for making everything as planned

  • @yogithakakarla1716
    @yogithakakarla1716 Před rokem +2

    I have been working on k8s without knowing why exactly I am using those. Really helpful

  • @chakriatwork3062
    @chakriatwork3062 Před 9 měsíci

    Thanks bro

  • @devopslab-livescenarios1302

    simply wow.

  • @reneshmlal2809
    @reneshmlal2809 Před 2 měsíci

    Thank You ❤

  • @tanmoysantra1112
    @tanmoysantra1112 Před rokem +1

    This video gonna help me a lot ❤

  • @shubhamsingh240
    @shubhamsingh240 Před rokem +1

    Very helpful..👍👍

  • @Maniteja6
    @Maniteja6 Před 9 měsíci

    Good explanation 😊

  • @uniqueeduclasses
    @uniqueeduclasses Před 7 měsíci +1

    Awesome

  • @user-ti4fr2ji3b
    @user-ti4fr2ji3b Před 2 měsíci +1

    Hi abishek ..whether we have to do terraform zero to hero or the terraform in this devops course itself enough to land a job? And also i certified cloud practitioner so i could skip aws 0 to hero and can learn only tis devops course

  • @Muni.P
    @Muni.P Před rokem +2

    Thanks bro ❤

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci

    Both are used to pass information to pod in form of environment variables or mounted as file

  • @kislaysinha9772
    @kislaysinha9772 Před 7 měsíci +2

    @Abhishek plz make videos on statefulsets and persistent volumes

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci

    To change the configmp value on running container, use volume mounting s file instead of environment variables

  • @chaitun7704
    @chaitun7704 Před 10 měsíci

    Hi Bro
    What is the difference between CKAD and CKA?
    As a Devops engineer which one suits me the best?

  • @jaykumaranbu7173
    @jaykumaranbu7173 Před rokem +1

    Good session

  • @ashwin134
    @ashwin134 Před rokem +1

    master in devops

  • @gauravsinghjethuri5405
    @gauravsinghjethuri5405 Před rokem +1

    Only 4.3k viewers are blessed one who have seen you video, feel bad for the rest who are following the other tutorials just for learning real time things. And they are getting fooled by them. Please raise the awareness of this channel.

  • @chauhanshreyash1981
    @chauhanshreyash1981 Před měsícem

    Hi abhishek, i want to know if there are necessary to remember the installation processes for any resources or services, or i can simply use ChatGPT or specific documentation files for reference. and thank you so much for this awesome content.

  • @shantanuchaughule
    @shantanuchaughule Před 6 dny

    Can we use Azure Container registry to store sensitive info of POD

  • @sathyanarayenamaddirazu7257

    Please do a master classes bro like end to end of devops with one cloud and finally we want expecting job ready classes(like shubham bro)

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem +2

      Hi Satya , Thanks for the comment .. This 45 days course is same bro .. Please watch all the videos

  • @PrincePazol
    @PrincePazol Před měsícem +1

    I made it to Day 41 🚀

  • @anil-kumar75
    @anil-kumar75 Před rokem +1

    Hi Abhishek, Thanks for the crystal clear explanation,I have one doubt: Secrets will do encryption of data or just base64 encoding, I have read somewhere that it is encoding the data but not encryption. Can you clarify on this..

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem +2

      Yes. . just base64 encryption on the secrets level .. which is very simple to debug for anyone . It also gets encrypted at the etcd

  • @satheeshasokan6989
    @satheeshasokan6989 Před 8 měsíci

    Thanks, Very informative.. Where to keep this secret yml file, i hope we shouldnt keep it in github.. Then how CD pipeline will get this secret value, please explain

  • @im-monaa
    @im-monaa Před 4 měsíci

    Hi @AbhishekVeeramalla "Unable to use a TTY - input is not a terminal or the right kind of file" -- I'm getting this error again and again on windows using git bash I tried every solution, but it didn't work. I'm unable to exec the pod ... please guide.

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci

    Configmap is used to store data , this data can be later used by containerised application as environment variables or fileas volume mount

  • @amarnathmansali2687
    @amarnathmansali2687 Před rokem +1

    Loved the humor at 33:00😂

  • @user-tm1yd7pb5e
    @user-tm1yd7pb5e Před rokem +1

    Bro please do video on Scenario based interview questions on each tool.

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i Před 21 dnem

    Done with Day 41✌

  • @vinaykumarmatam3708
    @vinaykumarmatam3708 Před rokem +1

    Hi Abhishek, If we use configmap as env variables, developers will use directly from it. How will they utilise the values if we attach cm as volume mounts?? Is it by reading the value in those particular files ??

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Před rokem

      Yes .. perfect

    • @vinaykumarmatam3708
      @vinaykumarmatam3708 Před rokem

      Thank you Abhishek.
      Don't mind, I am just asking in curiosity.
      If I have configured this DB_PORT as volume mounts and we should use it as below right ?
      DB_PORT=$(cat /opt/db-port | more)

  • @engineerbeings3156
    @engineerbeings3156 Před 5 měsíci

    I have one simple question
    If we use volumeMount how developers will fetch the value for application ?
    Is this the way
    secret_file_path = "/path/to/mounted/secrets/mysecret.txt"
    with open(secret_file_path, 'r') as file:
    secret_value = file.read()

  • @sandeepvemu794
    @sandeepvemu794 Před 7 měsíci

    Hi Abhishek, How can we reach in telegram and the expertise to post and interact on the k8s

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci

    Secrets is used to do the same for sensitive data in encrypted way😅😅. Good practice is to make a strong rbac policy for devops engineer to limit access to secret

  • @harishh4464
    @harishh4464 Před rokem +1

    Bro please make a detailed video on AKS Auto scaling .

  • @user-hj9iv1is3e
    @user-hj9iv1is3e Před 10 měsíci

    I am trying to doing same way however I am getting error as error: Environment variable not found: how to fix this issue I followed all step

  • @GreyMostly
    @GreyMostly Před 17 dny

    can you please confirm? data in secrets is base64 encoded and not encrypted

  • @ravikumarnum2104
    @ravikumarnum2104 Před 7 měsíci

    Hi bro,
    By default k8s provides base-64 encoding, how its secure way to store sensitive information. becoz hackers are decode base-64 encoding. pls tell me

  • @proudindian603
    @proudindian603 Před rokem +1

    First comment
    Waiting for this ❤

  • @Indhusri879
    @Indhusri879 Před 4 měsíci

    There are no volume and statefukset concept Abhishek please do vidios

  • @rashmihs4651
    @rashmihs4651 Před 2 měsíci

    I am unable to exec the pod getting "OCI runtime exec failed" Command terminated with exit code 126
    Someone please help

  • @madhulikatiwari8855
    @madhulikatiwari8855 Před měsícem

    anyone can help me please. I don't know where I am doing mistake. I can not create deployment, after create volumes and volumemount.
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: nginx-new
    labels:
    app: nginx
    spec:
    replicas: 3
    selector:
    matchLabels:
    app: nginx
    template:
    metadata:
    labels:
    app: nginx
    spec:
    containers:
    - name: nginx
    image: nginx:1.14.2
    volumeMounts:
    - name: db-new
    mountPath: /opt
    volumes:
    - name: db-new
    configMap:
    name: db-test
    ports:
    - containerPort: 80
    ~

  • @Cloudnp9458
    @Cloudnp9458 Před 5 měsíci

    5:15

  • @sumansamanta330
    @sumansamanta330 Před 4 měsíci

    22nd Feb, 2024

  • @nageshgkrishna1063
    @nageshgkrishna1063 Před 7 měsíci +1

    Abhishek sir thank you for your valuable time hope you doing well
    Once I want to meet you please put insta story when you coming to Bangalore