Kubernetes - Namespaces

To separate, use different configuration of secrets and resources you can use namespace in Kubernetes and we can choose two different ways to create a namespace

Kubernetes - Role Based Access - The IT Hollow
-- Creating a namespace in command linekubectl apply -f file.yaml --namespace=my-namespace
-- Creating a namespace inside yaml fileapiVersion: v1kind: ConfigMapmetadata:  name: name-configmap  namespace: my-namespace-- or creating a namespaceapiVersion: v1kind: Namespacemetadata:  name: <insert-namespace-name-here>

Post a Comment

Previous Post Next Post