| name | k8s-foundation |
| description | Kubernetes cluster health checks and Helm operations |
Kubernetes Foundation Operations
When to Use
- Checking cluster health before deployments
- Applying Helm charts to cluster
- Managing namespaces and resources
- Verifying cluster connectivity
Instructions
Check Cluster Health
- Run health check:
python scripts/health_check.py
- Review cluster status output
- Address any issues before proceeding
Apply Helm Chart
- Add repo:
python scripts/helm_ops.py add-repo <repo-name> <repo-url>
- Update repos:
python scripts/helm_ops.py update
- Install chart:
python scripts/helm_ops.py install <chart> <name> --namespace <ns>
- Verify:
python scripts/verify_installation.py <name> <namespace>
Manage Namespaces
- Create:
python scripts/namespace_manager.py create <name>
- List:
python scripts/namespace_manager.py list
- Delete:
python scripts/namespace_manager.py delete <name>
Validation
Troubleshooting
If cluster health fails:
- Check Minikube status:
minikube status
- Check nodes:
kubectl get nodes
- Restart if needed:
minikube restart
See REFERENCE.md for Helm chart configurations.