Войти
  • 225556Просмотров
  • 5 лет назадОпубликованоTechWorld with Nana

Kubernetes ConfigMap and Secret as Kubernetes Volumes | Demo

Demo of using ConfigMap and Secret as Kubernetes Volumes | Kubernetes ConfigMap | Kubernetes Secrets | Kubernetes Volumes ► Subscribe To Me On Youtube: ConfigMap and Secret components are usually used for creating individual values, which are passed as environment variables in the pod configuration. But ConfigMap and Secret are also volume types, which people don't realize in the beginning. Using them as volumes is actually a common requirement, e.g. think of applications that take configuration files as parameter on startup. Like prometheus, elastic search or your own java application taking a properties file or certificate file. The question is how to pass these config files to Kubernetes Pods? In this video I show you how to create these configMap and secret volumes and how to use them in pods. I give you some real-life use cases and show you the syntax of using volumes in a pod configuration. ► Reference to YAML Configs: ► Kubernetes Volumes Explained: ▬▬▬▬▬▬ T I M E S T A M P S 0:00 - Intro 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 ------------------------------------------------------------------------------------------------------- Full Kubernetes and Docker tutorial ► DevOps Tools, like Ansible ► Complete K8s Application Setup ► Kubernetes Components explained ► For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes or another technology. #kubernetes #kubernetestutorial #devops #techworldwithnana ------------------------------------------------------------------------------------------------------- ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬ Join private Facebook group ► Don't forget to subscribe ► DEV ► INSTAGRAM ► TWITTER ► LINKEDIN ► Legal Notice: Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.