loved the way you explain complex stuff in a very simplified manner that too hands on, highly appreciate it
@justmeandopensource4 жыл бұрын
Hi Rajiv, thanks for watching and taking time to comment/appreciate. Cheers.
@Suktoo4 жыл бұрын
Its really a good video... I have been searching for vpa but did not fine any good one and finally got insight from this video ... Keep up the good work venkat 😀.
@justmeandopensource4 жыл бұрын
Hi Diptendu, thanks for watching this video.
@kiranpadam57034 жыл бұрын
it's really very good venkat,upto know i have knowledge on hpa only,thanks for posting this video,it's really help ful
@justmeandopensource4 жыл бұрын
Hi Kiran, thanks for watching. CHeers.
@mustufamithaiwala72054 жыл бұрын
Venkat!!!, you are Awesome man!!!, SuperB explaination...
@justmeandopensource4 жыл бұрын
Hi Musufa, thanks for watching this video and taking time to comment/appreciate. Cheers.
@araratpetrosyan15424 жыл бұрын
Really great tutorial!!!! This is awesome Venkat!!
@justmeandopensource4 жыл бұрын
Hi Ararat, thanks for watching. Cheers
@oyee39004 жыл бұрын
Hi Venkat, this is helpful. Thanks for the video!
@justmeandopensource4 жыл бұрын
You are welcome and thanks for watching this video.
@danialatash98153 жыл бұрын
I have learned a lot. Thanks for the video!
@justmeandopensource3 жыл бұрын
Hi Danial, thanks for watching. Cheers 😊
@BharatSingh-hf1yt3 жыл бұрын
Amazing and very useful video Thanks
@justmeandopensource3 жыл бұрын
Hi Bharat, thanks for watching.
@pareshpatel4933 жыл бұрын
Great one...
@justmeandopensource3 жыл бұрын
Hi Paresh, thanks for watching.
@thannasip80014 жыл бұрын
Nice explanation 👌👍
@justmeandopensource4 жыл бұрын
Thanks for watching.
@prabhakersaxena55533 жыл бұрын
Really great tutorial!!! Thanks Venkat.
@justmeandopensource3 жыл бұрын
Hi Prabhakar, thanks for watching. Cheers.
@MRkumar-kx8rw Жыл бұрын
Hi, thanks for detail steps and i have followed everything but in VPA recommendations are not showing
@machireddyshyamsunder9872 жыл бұрын
very useful...
@justmeandopensource2 жыл бұрын
Thanks for watching.
@devopscommunity53213 жыл бұрын
Its really a good video Can you please make a separate video using helm Thanks
@justmeandopensource3 жыл бұрын
Hi, thanks for watching. I don't think there is official helm chart for VPA.
@devopscommunity53213 жыл бұрын
@@justmeandopensource no they have that repo helm repo add cowboysysop cowboysysop.github.io/charts/ helm install my-vertical-pod-autoscaler cowboysysop/vertical-pod-autoscaler --version 3.0.0 artifacthub.io/packages/helm/cowboysysop/vertical-pod-autoscaler
@venkatmamillapalli4 жыл бұрын
Hi Venkat Can you Please explan breafly about user creation in cluster and assining roles for them
@justmeandopensource4 жыл бұрын
Yeah I have that on my list. Cheers
@manikandans88084 жыл бұрын
Always enjoying k8s videos here....it's cool and amazing...so according to u which one would be preferable?
@justmeandopensource4 жыл бұрын
Do you mean vertical or horizontal? Each has its own usecase. Cheers.
@rsrini74 жыл бұрын
Hi Venkat. Thanks for the tutorial. I tried using the metrics-server in KIND (1master, 2 worker) cluster. kubectl top nodes (shows below errors) Default mode (no edit) "Error : metrics not available yet" with insecure-tls : Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io) Tried with helm charts too. Not able to fix.
@justmeandopensource4 жыл бұрын
Hi Srini, I had the same problem recently. Neither direct deployment nor helm deployment worked for metrics-server. I think its because the nodes are containers rather than complete machines, the metrics are not being collected. I then had to use vagrant environment to use metrics server. I will try it again this weekend and let you know if I succeed. Thanks.
@jlan4214 жыл бұрын
Venkat, awesome video! question about the autoscaler manifest itself, instead of creating individual VPA for each deployment, can you define multiple targetRef in the spec stanza for each additional deployment in that same VPA? Thanks in advance, keep up the good work!
@justmeandopensource4 жыл бұрын
Hi, I don't think you can have multiple targetRef sections in the VPA specification. I read through some documentations, and there were no mentions about multiple targets for autoscaling. Best to test it. Sure it will throw error. Thanks.
@NitishSingh-ul1gu2 жыл бұрын
Hi Venkat, awesome video! my question is that , actually approx i have done but one error showing .... Conditions: Last Transition Time: 2021-11-22T10:16:39Z Message: Cannot read targetRef. Reason: Unhandled targetRef apps/v1 / Rollout / my-rec-deployment, last error no matches for kind "Rollout" in group "apps" Status: True Type: ConfigUnsupported Last Transition Time: 2021-11-22T10:16:39Z Message: No pods match this VPA object Reason: NoPodsMatched Status: True Type: NoPodsMatched Last Transition Time: 2021-11-22T10:16:39Z Message: No pods match this VPA object Reason: NoPodsMatched Status: False Type: RecommendationProvided Recommendation:
@rmnobarra4 жыл бұрын
nice video man!! there's any content about git ops comming?
@justmeandopensource4 жыл бұрын
Hi Leonardo, thanks for watching this video. I haven't looked at GitOps yet but many viewers asked for it. So soon I will learn and upload video. Cheers.
@vatcharinkongsakul44784 жыл бұрын
Hi Venkat, i want to use manage secrets tool hashicorp vault install with HA node can you make a video? thakyou.
@justmeandopensource4 жыл бұрын
Hi Vatcharin, thanks for watching this video. Vault is on my list and will do a video soon. Cheers.
@vatcharinkongsakul44784 жыл бұрын
@@justmeandopensource thankyouu
@justmeandopensource4 жыл бұрын
@@vatcharinkongsakul4478 Sure. Thanks.
@abhinavmishra23283 жыл бұрын
Hi. Really nice explanation. But I am having problems right after running ./vpa-up.sh. My vpa-recommender pod is always in pending state. Like this: kube-system vpa-admission-controller-6d449d5876-sld4l 1/1 Running 0 19m 192.168.32.5 kworker kube-system vpa-recommender-6cb878fdc7-s6px8 0/1 Pending 0 19m kube-system vpa-updater-6c9d65dd6f-9dt4z 1/1 Running 0 19m 192.168.32.4 kworker Thanks !
@justmeandopensource3 жыл бұрын
Hi Abhinav, thanks for watching. Is there anything that you are doing differently to the steps in this video? If you are following the exact steps and seeing this issue, I can re-test this video. Otherwise your environment might be different to mine trying to reproduce. More information would be helpful. Cheers.
@ninja75934 жыл бұрын
I am doing a similar approach. I created a nodejs app that receives requests from a benchmark tool and generate cpu and mem utilization to trigger the vpa. Additionally I created a service manifest to expose my app using load balacer, also I pointed to the image of my app and removed "command" and "args" of the deployment file. When the load is generated I can see through the minikube dashboard that the cpu and mem usage is increasing and reaching the limit but the vpa doesn't recreate the conteiner with more resources. Any ideas?
Hi Kewyn, thanks for watching. When you create the VPA resource, have you changed the updatepolicy to either Auto or Recreate? In this video, I showed with UpdatePolicy set to Off which will show the recommendations but won't take any action on increasing the resource limits. Then changed the updatepolicy to auto to actually increase the resource limits under load.
@ninja75934 жыл бұрын
@@justmeandopensource Yes, I did it. I copied and pasted everything on Stackovflw. It is defined as "Auto" but not nothing happens.
@justmeandopensource4 жыл бұрын
@@ninja7593 Hmm strange. Can you try it on a different cluster? Is metrics server running fine?
@ninja75934 жыл бұрын
@@justmeandopensourceI am testing it using minikube. Metrics-server is running fine. It is possible to be something related to the service load balancer?
@ashutoshojha4 жыл бұрын
I want to use HPA on rabbitmq queue using custom metrics. I tried, but could not deploy it properly.. Can you look into that?
@justmeandopensource4 жыл бұрын
Hi Ashutosh, thanks for watching this video. I haven't tried auto-scaling based on custom metrics yet. I will do that one soon. Cheers.
@ashutoshojha4 жыл бұрын
@@justmeandopensource I will be waiting for that video.😊
@justmeandopensource4 жыл бұрын
@@ashutoshojha Cheers.
@ninja75934 жыл бұрын
I will be waiting too xD
@justmeandopensource4 жыл бұрын
@@ninja7593 Cheers.. Thanks for watching.
@georgmohan Жыл бұрын
could you please help, iam getting this error Status: Conditions: Last Transition Time: 2022-11-06T22:13:41Z Message: Cannot read targetRef. Reason: Deployment kube-system/my-app does not exist Status: True Type: ConfigUnsupported Last Transition Time: 2022-11-06T22:13:41Z Message: No pods match this VPA object Reason: NoPodsMatched Status: True Type: NoPodsMatched Last Transition Time: 2022-11-06T22:13:41Z Message: No pods match this VPA object Reason: NoPodsMatched Status: False Type: RecommendationProvided Recommendation: Events: trying on k8s 1.25.3
@justmeandopensource Жыл бұрын
Hi Mohan, thanks for watching. The error message says that it couldn't find a deployment named my-app. VPA resource act on the deployment that you specify but it couldn't find the deployment. Are you sure the deployment has been created and pods running?
@vishalvarshney9613 жыл бұрын
When load becomes down, does it scale down to original CPU and memory?
@justmeandopensource3 жыл бұрын
What do you mean by original cpu and memory?
@vishalvarshney9613 жыл бұрын
@@justmeandopensource when load goes down and container are not in much use ,does hpa recommendation get back to CPU 100m and memory 50mi and new pod if created has this configuration?
@justmeandopensource3 жыл бұрын
@@vishalvarshney961 I only tested hpa. In case of vpa, the controller will get a cpu/mem recommendation based on the current load and will modify the pods accordingly. You could test it yourself.
@ninja75934 жыл бұрын
It is possible to test it using minikube? Because when I try to do the gcp tutorial for VPA I got an error: error: unable to recognize "my-rec-vpa.yaml": no matches for kind "VerticalPodAutoscaler" in version "autoscaling.k8s.io/v1"
@justmeandopensource4 жыл бұрын
Hi Kewyn, did you managed to get metrics-server working in your minikube environment? May I know how you installed metrics-server? Did you follow the step in this video or did you do "minikube addons enable metrics-server"? Is "kubectl top nodes" showing metrics? Thanks.
@justmeandopensource4 жыл бұрын
Hi Kewyn, I just tested it on my Minikube environment and its working perfectly fine. However you need to do one slight change in the vpa api version. When you deploy my-rec-vpa, use v1beta2 instead of v1. You can see more details of my testing in the below pastebin link. pastebin.com/DLMwNidf Please let me know if it worked. Thanks.
@ninja75934 жыл бұрын
@@justmeandopensource I did it and now it is working fine. Thank you!
@justmeandopensource4 жыл бұрын
@@ninja7593 Cool.
@jiaxingdu18404 жыл бұрын
I ran into a problem, VPA keeps terminating old pods and creating a new pod with specified resource request instead of recommended request, it seems that vpa detected a pod doesn't have recommended resource request, but failed to transfer the recommended request to new pod. Any idea about the problem?
@justmeandopensource4 жыл бұрын
Hi Jiaxing, thanks for watching. I haven't encountered that issue yet unfortunately to be able to assist you. It must be your configurations thats causing this. Have you tried that with any other deployments? Is it happening to all deployments using VPA?
@VinuezaDario4 жыл бұрын
Hi, I have a this error: metrics-server-775577f8dc-mdmk4 0/1 Error 3 3m7s
@VinuezaDario4 жыл бұрын
I execute: kubectl -n kube-system logs metrics-server-775577f8dc-mdmk4
@VinuezaDario4 жыл бұрын
this error: I1214 21:23:45.230478 1 serving.go:312] Generated self-signed cert (apiserver.local.config/certificates/apiserver.crt, apiserver.local.config/certificates/apiserver.key) Error: Get 10.96.0.1:443/api/v1/namespaces/kube-system/configmaps/extension-apiserver-authentication: dial tcp 10.96.0.1:443: i/o timeout
@justmeandopensource4 жыл бұрын
Okay. Could you please wait for one more week. I am going to release another video on how to deploy metrics-server using Helm.
@VinuezaDario4 жыл бұрын
It worked, my problem was that I was working with version 3.6, I change the metricas version to 3.4, and it ok worked, Thanks!
@justmeandopensource4 жыл бұрын
@@VinuezaDario Glad that you got it resolved. Cheers.