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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มี.ค. 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
    TH-cam: / @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.
  • บันเทิง

ความคิดเห็น • 114

  • @sathiyamohan8119
    @sathiyamohan8119 7 หลายเดือนก่อน +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....

  • @himalbajgain2280
    @himalbajgain2280 6 วันที่ผ่านมา

    Abhishek is an outstanding teacher

  • @jeromepenanoh9061
    @jeromepenanoh9061 5 หลายเดือนก่อน +2

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

  • @rajarishny2213
    @rajarishny2213 3 หลายเดือนก่อน +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

  • @AnujKumar-ot5vi
    @AnujKumar-ot5vi 9 หลายเดือนก่อน +3

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

  • @user-fd3uv5lp9u
    @user-fd3uv5lp9u ปีที่แล้ว

    This is perfect explaination!

  • @vback4238
    @vback4238 ปีที่แล้ว +1

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

  • @dharmendradasadhikari4087
    @dharmendradasadhikari4087 6 หลายเดือนก่อน +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'''

  • @rajkiransenapaty5379
    @rajkiransenapaty5379 ปีที่แล้ว +1

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

  • @abhijaysaraswat2833
    @abhijaysaraswat2833 2 หลายเดือนก่อน

    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!!

  • @Cs_Naidu
    @Cs_Naidu 3 หลายเดือนก่อน

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

  • @agun21st
    @agun21st ปีที่แล้ว +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.

  • @thanvikamadhala-ip7kg
    @thanvikamadhala-ip7kg ปีที่แล้ว +2

    Great Stuff. Thank you for your efforts.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว +1

      Glad you like them! Please share the channel with others

  • @nauserzulfikar8742
    @nauserzulfikar8742 หลายเดือนก่อน

    I love the way you explain the concepts. Thanks

  • @moyinopoola2035
    @moyinopoola2035 4 หลายเดือนก่อน +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.

  • @venkatajagadeesh6826
    @venkatajagadeesh6826 ปีที่แล้ว +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

  • @avinashkillam9982
    @avinashkillam9982 ปีที่แล้ว +1

    Crystal clear explanation... liked it Bro

  • @aditya8sharmaDevOps
    @aditya8sharmaDevOps 4 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +1

      @@Tagore-lv1wc Thanks

  • @karthiksundaram544
    @karthiksundaram544 5 หลายเดือนก่อน +1

    Hi Abhishek I will completely my devops journey thru u ❤

  • @devopslab-livescenarios1302
    @devopslab-livescenarios1302 ปีที่แล้ว +1

    simply wow.

  • @ajaykumarsv-yt3zn
    @ajaykumarsv-yt3zn ปีที่แล้ว +1

    First comment
    Thanks for making everything as planned

  • @rohitvyawahare7452
    @rohitvyawahare7452 3 หลายเดือนก่อน

    Great explanation Abhishek

  • @isaacambi1914
    @isaacambi1914 4 หลายเดือนก่อน +1

    Impeccable content once again. Im glad I met you.

  • @samikshasharma3544
    @samikshasharma3544 5 หลายเดือนก่อน

    Awesome video ❤

  • @tanmoysantra1112
    @tanmoysantra1112 ปีที่แล้ว +1

    This video gonna help me a lot ❤

  • @Prasad_gutha
    @Prasad_gutha 8 หลายเดือนก่อน +1

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

  • @chakriatwork3062
    @chakriatwork3062 9 หลายเดือนก่อน

    Thanks bro

  • @headfullofcode
    @headfullofcode 8 หลายเดือนก่อน +1

    great stuff again :) thanks

  • @shubhamsingh240
    @shubhamsingh240 ปีที่แล้ว +1

    Very helpful..👍👍

  • @reneshmlal2809
    @reneshmlal2809 2 หลายเดือนก่อน

    Thank You ❤

  • @yogithakakarla1716
    @yogithakakarla1716 ปีที่แล้ว +2

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

  • @Muni.P
    @Muni.P ปีที่แล้ว +2

    Thanks bro ❤

  • @saikiran-ez1fg
    @saikiran-ez1fg ปีที่แล้ว +3

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

  • @DinaDeva-h3w
    @DinaDeva-h3w 6 วันที่ผ่านมา

    Good explanation

  • @msatyamounika
    @msatyamounika 9 หลายเดือนก่อน +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!🎉

  • @Maniteja6
    @Maniteja6 10 หลายเดือนก่อน

    Good explanation 😊

  • @uniqueeduclasses
    @uniqueeduclasses 8 หลายเดือนก่อน +1

    Awesome

  • @user-dx4kg9np8h
    @user-dx4kg9np8h 3 หลายเดือนก่อน +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

  • @ashwin134
    @ashwin134 ปีที่แล้ว +1

    master in devops

  • @jaykumaranbu7173
    @jaykumaranbu7173 ปีที่แล้ว +1

    Good session

  • @PrincePazol
    @PrincePazol 2 หลายเดือนก่อน +1

    I made it to Day 41 🚀

  • @gauravsinghjethuri5405
    @gauravsinghjethuri5405 ปีที่แล้ว +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.

  • @sathyanarayenamaddirazu7257
    @sathyanarayenamaddirazu7257 ปีที่แล้ว +4

    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  ปีที่แล้ว +2

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

  • @amarnathmansali2687
    @amarnathmansali2687 ปีที่แล้ว +1

    Loved the humor at 33:00😂

  • @Cloudnp9458
    @Cloudnp9458 6 หลายเดือนก่อน

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

  • @kislaysinha9772
    @kislaysinha9772 7 หลายเดือนก่อน +2

    @Abhishek plz make videos on statefulsets and persistent volumes

  • @srisai7801
    @srisai7801 20 ชั่วโมงที่ผ่านมา

    Hi Abhishek, awesome stuff thanks for sharing.
    One doubt if we need to load multiple secret files to docker container path using helm, what will be deployment and secret yml file changes.
    Thanks again.
    Regards,
    Sri Sai

  • @Cloudnp9458
    @Cloudnp9458 6 หลายเดือนก่อน

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

  • @user-ti4fr2ji3b
    @user-ti4fr2ji3b 2 หลายเดือนก่อน +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

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i 28 วันที่ผ่านมา

    Done with Day 41✌

  • @user-tm1yd7pb5e
    @user-tm1yd7pb5e ปีที่แล้ว +1

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

  • @Cloudnp9458
    @Cloudnp9458 6 หลายเดือนก่อน

    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

  • @Cloudnp9458
    @Cloudnp9458 6 หลายเดือนก่อน

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

  • @chauhanshreyash1981
    @chauhanshreyash1981 หลายเดือนก่อน

    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.

  • @anil-kumar75
    @anil-kumar75 ปีที่แล้ว +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  ปีที่แล้ว +2

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

  • @chaitun7704
    @chaitun7704 10 หลายเดือนก่อน

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

  • @satheeshasokan6989
    @satheeshasokan6989 8 หลายเดือนก่อน

    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

  • @proudindian603
    @proudindian603 ปีที่แล้ว +1

    First comment
    Waiting for this ❤

  • @harishh4464
    @harishh4464 ปีที่แล้ว +1

    Bro please make a detailed video on AKS Auto scaling .

  • @shantanuchaughule
    @shantanuchaughule 13 วันที่ผ่านมา

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

  • @vinaykumarmatam3708
    @vinaykumarmatam3708 ปีที่แล้ว +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  ปีที่แล้ว

      Yes .. perfect

    • @vinaykumarmatam3708
      @vinaykumarmatam3708 ปีที่แล้ว

      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)

  • @im-monaa
    @im-monaa 4 หลายเดือนก่อน

    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.

  • @engineerbeings3156
    @engineerbeings3156 5 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

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

  • @ravikumarnum2104
    @ravikumarnum2104 7 หลายเดือนก่อน

    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

  • @Indhusri879
    @Indhusri879 5 หลายเดือนก่อน

    There are no volume and statefukset concept Abhishek please do vidios

  • @GreyMostly
    @GreyMostly 24 วันที่ผ่านมา

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

  • @Cloudnp9458
    @Cloudnp9458 6 หลายเดือนก่อน

    5:15

  • @user-hj9iv1is3e
    @user-hj9iv1is3e 10 หลายเดือนก่อน

    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

  • @rashmihs4651
    @rashmihs4651 2 หลายเดือนก่อน

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

  • @madhulikatiwari8855
    @madhulikatiwari8855 หลายเดือนก่อน

    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
    ~

  • @sumansamanta330
    @sumansamanta330 4 หลายเดือนก่อน

    22nd Feb, 2024

  • @nageshgkrishna1063
    @nageshgkrishna1063 7 หลายเดือนก่อน +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