Revert "feat(cleanup): remove all Kubernetes and kubectl references, aliases, and completions"
This reverts commit 5d2a23db88.
This commit is contained in:
@@ -13,6 +13,13 @@ function docker-cleanup
|
||||
docker volume prune -f
|
||||
end
|
||||
|
||||
# Kubernetes context info
|
||||
function kinfo
|
||||
echo "Context: "(kubectl config current-context)
|
||||
echo "Namespace: "(kubectl config view --minify -o jsonpath='{..namespace}')
|
||||
kubectl get nodes --no-headers | wc -l | xargs echo "Nodes:"
|
||||
end
|
||||
|
||||
# Quick YAML validation
|
||||
function yaml-check
|
||||
python3 -c "import yaml; yaml.safe_load(open('$argv[1]'))"
|
||||
|
||||
Reference in New Issue
Block a user