LAB06: Play with Cluster
LAB15 Play with cluster
If You Are Using kubeadm (MOST COMMON)
The cluster name is embedded in these places:
🅰️ (Recommended) Use kubeadm to Reconfigure the Cluster Name
Step 1: Edit your kubeadm config file
Step 2: Apply kubeadm upgrades
Step 3: Regenerate kubeconfigs
Step 4: Replace your local kubeconfig
🅱️ (Unsafe but Works) Manually Change Kubeconfig Cluster Name
🅲️ Full Reinstall (Only if You Want Clean & Correct Setup)
⚡ SUMMARY
Method
Changes Internal Cluster Name?
Changes Kubeconfig?
Risk
✅ Purpose of kube-public Namespace
1. Publicly readable, cluster-wide information
What is stored there by default?
📌 kube-public/cluster-info ConfigMap
kube-public/cluster-info ConfigMapWhy keep it public?
Security Implications
Summary
Namespace
Purpose
Typical usage (admins):
Last updated