Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the command to create a Kubernetes Namespace?
Home
Kubernetes K8s
What is the command to create a Kubernetes Namespace?
0
votes
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
What is the command to create a Kubernetes Namespace?
a) kubectl create namespace [name]
b) kubectl create -f namespace.yaml
c) kubectl apply -f namespace.yaml
d) kubectl create ns [name]
kubernetes
namespace
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 24
by
rajeshsharma
Answer: d)
Explanation: kubectl create ns [name]. This command creates a new Kubernetes Namespace with the specified name.
Related questions
0
votes
Q: What is a Kubernetes Namespace?
asked
Mar 20
in
Kubernetes K8s
by
rajeshsharma
kubernetes
namespace
0
votes
Q: Command to create a namespace:
asked
Aug 5, 2023
in
Kubernetes K8s
by
Robin
namespace
0
votes
Q: Why use namespace in Kubernetes?
asked
May 23, 2021
in
Kubernetes K8s
by
sharadyadav1986
kubernetes-namespace
namespace
0
votes
Q: What is the command to create a Kubernetes Operator?
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
kubernetes
operator
0
votes
Q: What is the command to create a Kubernetes Secret?
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
kubernetes
secret
0
votes
Q: What is the command to create a Kubernetes ConfigMap?
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
kubernetes
configmap
0
votes
Q: What is the command to create a Kubernetes Deployment?
asked
Mar 24
in
Kubernetes K8s
by
rajeshsharma
kubernetes
deployment
+1
vote
Q: Service accounts created by kubernetes automatically for each namespace is called__________.
asked
Sep 29, 2022
in
Kubernetes K8s
by
SakshiSharma
kubernetes
0
votes
Q: What is namespace in Laravel?
asked
Oct 26, 2023
in
Laravel
by
rajeshsharma
namespace
0
votes
Q: What is the difference between namespace and assembly?
asked
Sep 19, 2023
in
Dot Net
by
Robin
namespace
assembly
...