[ Kube 15 ] Using ConfigMaps in Kubernetes Cluster

  Рет қаралды 16,010

Just me and Opensource

Just me and Opensource

Күн бұрын

Пікірлер: 56
@arunreddy1436
@arunreddy1436 5 жыл бұрын
Nice videos on k8s venkat gaaru, will recommend my friends as well to go through
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Arun, thanks for watching this video. Also appreciate your effort in sharing this with your friends. Cheers.
@koolkravi
@koolkravi 4 жыл бұрын
Nice video and explanation Venkat. I am going through all your videos one by one. Setting up kubeadm kubernetes cluster quicky with vagrant provisioning is really good to set up cluster whenever I need to do the practice or test any new feature. I believe creating a multinode cluster using kubeadm is also used in a production environment
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Ravi, thanks for watching. I guess you meant multi-master cluster. Yes any production cluster needs to be Highly Available with multi-master. Usually anyone would go for a managed kubernetes service like EKS, GKE or AKS where you don't have to worry about managing the controller nodes. Or if you want more control over your cluster, using KOPS or Kubespray would be beneficial as it provides full automation to managing the cluster. There are also other options which I haven't explored.
@koolkravi
@koolkravi 4 жыл бұрын
@@justmeandopensource Thanks for the reply. What is your suggestion on using the tool on setting up a multi-master cluster on-premise? Due to some reason if client does not want to use any cloud vendor.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
@@koolkravi Kubespray would be a good starting point. You can also consider Rancher.
@zhang20244
@zhang20244 4 жыл бұрын
Very good and easy understand instruction, Thank you
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Frank, thanks for watching.
@sureshkaranam4280
@sureshkaranam4280 4 жыл бұрын
awesome brother
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Eswar, thanks for watching.
@sureshkaranam4280
@sureshkaranam4280 4 жыл бұрын
@@justmeandopensource Could you please do more videos on Spinnaker
@romantsyupryk3009
@romantsyupryk3009 4 жыл бұрын
Thanks so much for this tutorial.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Roman, thanks for watching. Cheers.
@wisdom514
@wisdom514 5 жыл бұрын
Hi Venkat, can you please post a video for k8s master with HA(2 Master node instead of one) . Thank you for all the work which you are doing.
@justmeandopensource
@justmeandopensource 5 жыл бұрын
HI Kapil, I have already played with HA multi master cluster. Whenever I get some time I will make a video of it. Thanks, Venkat
@rajithr9065
@rajithr9065 2 жыл бұрын
Can do a video of configmap created during a application is installed...the process how it works with a application
@_siva_polisetty
@_siva_polisetty 6 жыл бұрын
Hi, could you please make video on statefullset with replication of statefull applications and how to use
@justmeandopensource
@justmeandopensource 6 жыл бұрын
Hi Siva, statefulset is in my list. You will be notified when I upload that video. Thanks for following my channel.
@manikandans8808
@manikandans8808 4 жыл бұрын
Hi venkat, when I try to use .env file to deploy as configmaps in Laravel apps. It removes all the file which is present in /var/www/html. Suggest me some ideas for this.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Mani, thanks for watching. I can't troubleshoot without details to the manifest or how exactly you are deploying. Chances are that you are mounting the configmaps on /var/www/html.
@trueprakash4u
@trueprakash4u 4 жыл бұрын
Hi manikandan, did you get soluction ?
@manikandans8808
@manikandans8808 4 жыл бұрын
@@trueprakash4u no bro... instead I used a hacky method for sybolink that .env to /var/www/html. Do you have any idea how I can solve this?
@ramakrishna8692
@ramakrishna8692 4 жыл бұрын
Hi Venkat, Thanks for the detailed explanation. Could you tell me, is the env variables are updated dynamically in configMaps without recreating the POD ? If no why ?. I've tried but failed.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
hi Rama Krishna, thanks for watching. I don't think the env variable in the pod will be updated dynaically. The pod needs to be restarted to take effect.
@Praveen-xx7iy
@Praveen-xx7iy 5 жыл бұрын
Hi Venkat I am deploying applications with helm charts to kubernetes cluster. Configmaps also placed in helm templates. But whenever I want to modify any value in configmaps (example : database server) do I need to redeploy again or any way to take the changed value s in configmaps ??
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Praveen, is this your custom helm chart or one from the stable repo? If its a stable helm repo, I can test it. What sort of configmap are you using? Env variables or volume mounts? I would have thought that when you update the configmap (kubectl edit configmap), it will update and you don't have to redeploy. Cheers.
@Praveen-xx7iy
@Praveen-xx7iy 5 жыл бұрын
@@justmeandopensource hi Venkat it's custom charts and created with --from-env-file option. I tried with kubectl edit cm but the values which I modified was not reflected in pod.
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hmm. In that case, just delete the pod(s), the new ones will have updated config. You don't have to deploy it using helm. Cheers.
@Praveen-xx7iy
@Praveen-xx7iy 5 жыл бұрын
@@justmeandopensource deleting of pods will get downtime. Is it possible without downtime ?
@justmeandopensource
@justmeandopensource 5 жыл бұрын
@@Praveen-xx7iy Are you running just replica? You can scale it to have more replicas and you can delete pods one by one. Or update your helm charts and rollout the update. In any case, if you have just one pod, then I don't think it can be done without a breif downtime.
@smartaquarius2021
@smartaquarius2021 4 жыл бұрын
I need to host a pre compiled tensorflow serving docker image in kubernetes which I cannot edit at all. If I simply host it then it will be accessible as rest api to everyone. Is there anyway to put some authentication wall in the middle. For eg. Client must send a token in the header to post and get the data. I thought to check if certificates would help but in my case I have more than 500 users and certificate maintenance would be difficult. In addition, my certificate expires every 1 year hence, changing on all the machines shall be a problem again. Please suggest.
@sarfarazshaikh
@sarfarazshaikh 5 жыл бұрын
Hi Sir Great Video, In this video you are mounting the configmaps as volume, But can you please make a video of defining configmap directly inside deployment.yaml file. Which one will be better to use?
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Sarfaraz, Thanks for watching this video. I should have included that in my video but forgot. Anyways, you can find an example in the below article. I just did a google search and found this article. All credit goes to article owner. Thanks.
@sagayarajdavid6628
@sagayarajdavid6628 5 жыл бұрын
@@justmeandopensource Can you post the article link, I guess you missed it
@justmeandopensource
@justmeandopensource 5 жыл бұрын
@@sagayarajdavid6628 Thanks for watching this video. Yes, I indeed forgot to paste the link. Here it is. unofficial-kubernetes.readthedocs.io/en/latest/tasks/configure-pod-container/configmap/ Thanks.
@HarshaVardhan-jf9sd
@HarshaVardhan-jf9sd 5 жыл бұрын
Executing kubectl commands is fine,but in order to really automate this entire process,can u do a video on using some IAAC framework like ansible or terraform?
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Harsha, Thanks for watching this video. I have been doing IAC using terrraform for a while. I wanted to cover other topics before diving into Terraform. I am not sure what exactly you are looking for in automation. You can provision Kubernetes cluster using Terraform on public cloud provider. Also you can manage application deployments in Kubernetes using Terraform. Check the below link. www.terraform.io/docs/providers/kubernetes/index.html I will soon start videos on Terraform. Planning to include that on my Learn AWS series. Thanks.
@HarshaVardhan-jf9sd
@HarshaVardhan-jf9sd 5 жыл бұрын
@@justmeandopensource how about ansible for on premise orchestration and not on any cloud provider as such..can terraform be used on premise also..if so which is better?
@justmeandopensource
@justmeandopensource 5 жыл бұрын
From StackOverflow, Terraform operates by calling into the APIs of various service providers and systems. Thus in principle Terraform can manage anything that has an API, and in practice it has existing support for a few different on-premises-capable systems, including: OpenStack VMWare vSphere CloudStack If the compute resources in your existing datacenter infrastructure are already managed with one of these systems, or if you are willing to install them, then Terraform can be used to manage at least parts of these systems. Thanks
@loinguyentri5859
@loinguyentri5859 4 жыл бұрын
what is the software you are using to monitor memory, system. processor,.... ??
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi, thanks for watching. Thats conky process which you can configure to monitor anything actually. But I am not using this environment anymore. Also I don't have that conky configuration right now. Hopefully you can google for some sample conky configuration (conkyrc). Cheers.
@naveverm
@naveverm 4 жыл бұрын
I really like you shell and auto completion, Can you give me any pointers how can I achieve the same. Thanks in advance...
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Naveen, thanks for watching. Its a combination of zsh, oh-my-zsh, zsh-autosuggestions and tmux. I have done a video on it. kzbin.info/www/bejne/qaCkqIinZ8iEfrM Cheers.
@naveverm
@naveverm 4 жыл бұрын
@@justmeandopensource Thanks a lot will give it a try. Thanks you
@justmeandopensource
@justmeandopensource 4 жыл бұрын
@@naveverm You are welcome. Cheers.
@JackLee-i3b
@JackLee-i3b 4 жыл бұрын
I have a question.There is a replicaset. 3 pods. Each one has a same config-key, but different value.How do I write the yaml file.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi, thanks for watching. Pods in a replicaset are meant to be identical in terms of configurations. So you define the pod configurations in the manifest and set the number of replicas to 3 which means they all have to be identical.
@JackLee-i3b
@JackLee-i3b 4 жыл бұрын
Thank you for answering! I will try it.And thanks for your work of videos.
@justmeandopensource
@justmeandopensource 4 жыл бұрын
@@JackLee-i3b You are welcome.
@AgusSetiawan-zb8ox
@AgusSetiawan-zb8ox 5 жыл бұрын
what's kind of OS are you USE ? it's look like simple
@justmeandopensource
@justmeandopensource 5 жыл бұрын
Hi Agoest, thanks for watching. I use Manjaro with I3 tiling window manager. Done few videos on it. If you are interested, here they are, kzbin.info/aero/PL34sAs7_26wOgqJAHey16337dkqahonNX Thanks.
@budget_backpackers
@budget_backpackers 2 жыл бұрын
Hey I am trying to get PODs name using configmap (will use this configmap in my deployment with 3 replicas). Tried using podname=$HOSTNAME inside my configmap. But its not working.
@jimmyxu4355
@jimmyxu4355 4 жыл бұрын
good material, terrible instruction
@justmeandopensource
@justmeandopensource 4 жыл бұрын
Hi Jimmy, thanks for watching. Sorry that you found it terrible.
[ Kube 15.1 ] Immutable secrets & configmaps | How to use them
8:59
Just me and Opensource
Рет қаралды 3,1 М.
[ Kube 13 ] Using Persistent Volumes and Claims in Kubernetes Cluster
44:30
Just me and Opensource
Рет қаралды 36 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Book & OJ is doing Duolingo
10:33
Book & OJ
Рет қаралды 65
[ Kube 14 ] Using Secrets in Kubernetes
21:05
Just me and Opensource
Рет қаралды 22 М.
[ Kube 19 ] Performing Rolling Updates in Kubernetes
45:37
Just me and Opensource
Рет қаралды 10 М.
[ Kube 20 ] NFS Persistent Volume in Kubernetes Cluster
24:08
Just me and Opensource
Рет қаралды 32 М.
ConfigMaps 102: Using ConfigMaps in Dynamic Application Deployments - Trevor McKay
42:41
CNCF [Cloud Native Computing Foundation]
Рет қаралды 10 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 339 М.
Proxmox NETWORKING: VLANs, Bridges, and Bonds!
25:09
apalrd's adventures
Рет қаралды 168 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН