Install Kubernetes | 3 Node Cluster | v1.22.2 using Kubeadm | Vagrant | Vitrualbox | CKA
HTML-код
- Опубликовано: 23 авг 2024
- This video provide steps to install Kubernetes cluster version 1.22.2 using Kubeadm, Vagrant and Virtual box. Automated script link is provided below.
You can find Github source code link at github.com/Ima...
To download Virtualbox - www.virtualbox...
To download Vagrant - www.vagrantup....
To download github - git-scm.com/do...
Really good, works really well, I was avoiding creating k8s cluster on AWS or Azure and have been struggling to create a cluster on vagrant, very new to vagrant concept, was able to setup the master node, however the join command was throwing an error, then i came across your video, great work.
Thank you so much, really appreciate your feedback ..
thank you for your contribution! I got stuck on configure vm for kubernetes, getting a lot of errors about ports and joining worker nodes, you helped me a lot!
Thank you so much, really appreciate your feedback ..
Task 8 in initial setup failing
Hello @RachitaGupta-d2n,
Thank you for trying out. Can you please provide more details on the error you are getting.
Hello,
Can you tell me how to access the dashboard pls
Thank you for this video
But i have a problem, with i do all this steps and when i do kubectl get nodes doesn't work and i have error "kubectl command doesn't found"
Can you please share in which node you are trying to run kubectl command.. will help understand further..
I have created a NodePort type service and i want to open it in browser but i need node ip. How can i get it? I run the command -> kubectl get nodes -o wide but it shows none external ip address
hello, the IP's to the nodes are given from the Vagrant script - github.com/ImaginCloud/kubernetes/blob/main/setup-k8s/vagrant-kubeadm/Vagrantfile
IP_NW = "192.168.56."
MASTER_IP_START = 1
NODE_IP_START = 2
And the loop for master VM's is
Line 25 - node.vm.network :private_network, ip: IP_NW + "#{MASTER_IP_START + i}"
And the loop for Worker VM's is
Line 44 - node.vm.network :private_network, ip: IP_NW + "#{NODE_IP_START + i}"
Please let me know if you need any more details
how to access kubernetes dashboard
👌👌👍👍💐
Nice
kubectl: command not found
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Hi Friend,
could you please share the credentials of all nodes?
are the nodes running?
By default you do not need a password as VM is initiated by Vagrant, but if the vagrant configurations are not set to its default then you can use password "vagrant". please let me know if you are finding any other error. I will try to solve it.
@@Priyanka-zg9gj Please let me know if you are finding it difficult to run the nodes at your end. Quick fix will be to check the versions of Virtualbox and Vagrant. should be updated. If specific error then please let me know here. I can try to fix and if required will upload updated version of this video. Thank you.
the password of the login ???
By default you do not need a password as VM is initiated by Vagrant, but if the vagrant configurations are not set to its default then you can use password "vagrant"