If you are learning Kubernetes and preparing for Kubernetes certifications, these voucher codes will help you save money on your certification registration.
CKA, CKAD, CKS, KCNA etc.. aspirants can save 35% today
Important
Use code 35KUBECT at https://kube.promo/devops. It is a limited-time offer from the Linux Foundation.
The following are the best bundles to save upto 45% with code 35KUBESC
- CKA + CKAD: kube.promo/cka-ckad
- CKA + CKS Bundle: kube.promo/bundle
- CKA + CKAD + CKS Exam bundle: kube.promo/k8s-bundle
Checkout all the latest bundle offers at Linux Foundation Coupon repo.
Note
⌛ Act fast—this limited-time offer won’t be around much longer! You have one year of validity to appear for the certification exam after registration
Fully Automated Kubernetes setup on MAC Silicon M1/M2 laptops using Vagrant and VMWare Fusion.
It can be used as CKA, CKAD, and CKS practice lab.
For MAC intel based setup, check - Vagrant Kubeadm Setup on MAC Intel
Here is the high level workflow.
A working Vagrant setup using VMware Fusion on MAC.
To install Vagrant & VMWare Fusion please refere this detailed Document Vagrant + Vmware Fusion Setup
Important Note: Please restart the system after the installation.
To provision the cluster, execute the following commands.
Important Note: You have to use sudo with all the vagrant commands.
git clone https://github.com/techiescamp/vagrant-kubeadm-mac-silicon.git
cd vagrant-kubeadm-mac-silicon
sudo vagrant upYou can connect to the Vagrant cluster from your local mac terminal by configuring the following.
cd vagrant-kubeadm-mac-silicon
cd configs
sudo chmod +r config
export KUBECONFIG=$(pwd)/configor you can copy the config file to .kube directory.
cp config ~/.kube/Validate the cluster access
kubectl get po -n kube-systemThe dashboard is automatically installed by default, but it can be skipped by commenting out the dashboard version in settings.yaml before running vagrant up.
If you skip the dashboard installation, you can deploy it later by enabling it in settings.yaml and running the following:
vagrant ssh -c "/vagrant/scripts/dashboard.sh" controlplaneTo get the login token, copy it from config/token or run the following command:
kubectl -n kubernetes-dashboard get secret/admin-user -o go-template="{{.data.token | base64decode}}"Make the dashboard accessible:
kubectl proxyOpen the site in your browser:
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/loginsudo vagrant haltsudo vagrant upsudo vagrant destroy -f