Vmware Workstation: Kubernetes
:
| Issue | Likely Fix | |-------|-------------| | VMs can’t ping each other | Check VMware network settings – use same VMnet, disable Windows firewall for VMware, restart VMware NAT service. | | kubelet fails to start | Ensure swap is off ( free -h ). Check journalctl -u kubelet . | | Networking pod stuck in pending | Calico needs net.bridge.bridge-nf-call-iptables=1 – re-run sysctl settings. | | Time sync issues | Enable VMware Tools / open-vm-tools: sudo apt install open-vm-tools . | | DNS inside pods fails | Restart CoreDNS: kubectl rollout restart -n kube-system deployment/coredns . |
sudo apt-get update sudo apt-get install -y containerd.io vmware workstation kubernetes
Note: We use the CIDR 192.168.0.0/16 specifically for Calico, the network plugin we will use next.
If you want to simulate a production environment, you can manually build a cluster using several Linux VMs. : | Issue | Likely Fix | |-------|-------------|
Access via http://<any-node-ip>:<NodePort> .
Instead of installing the OS three times for three nodes, we will create one "Golden Image" and clone it. | | Networking pod stuck in pending | Calico needs net
Note: Not recommended for performance testing, but great for learning.
