Difference between revisions of "Kubernetes namespaces"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
  
 
* <code>[[kubectl create]] namespace MY_TEST_NAMESPACE</code> or  <code>[[kubectl create]] ns MY_TEST_NAMESPACE</code>  
 
* <code>[[kubectl create]] namespace MY_TEST_NAMESPACE</code> or  <code>[[kubectl create]] ns MY_TEST_NAMESPACE</code>  
 +
namespace/MY_TEST_NAMESPACE created
  
 
  [[kubectl get namespaces]]  
 
  [[kubectl get namespaces]]  

Revision as of 08:36, 20 August 2020


Defaults: default and kube-system

namespace/MY_TEST_NAMESPACE created

kubectl get namespaces 
kubectl get pods --all-namespaces

Activities

See also

Advertising: