kubernetes namespace

listado de los namespaces existentes
kubectl get namespace
instrucciones sobre un namespace concreto
kubectl get pods --namespace=<insert-namespace-name-here>
establecer namespace "por defecto"
kubectl config set-context --current --namespace=<insert-namespace-name-here>
kubectl config view --minify | grep namespace:
ver que objetos están en un namespace (o no)
# In a namespace
kubectl api-resources --namespaced=true
# Not in a namespace
kubectl api-resources --namespaced=false
  • tech/k8s/cli/namespace.txt
  • Darrera modificació: 11/05/2020 01:18
  • per mate