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
Which kubectl command is used to delete a resource?
Home
Kubernetes K8s
Which kubectl command is used to delete a resource?
+1
vote
asked
Dec 26, 2021
in
Kubernetes K8s
by
SakshiSharma
Which kubectl command is used to delete a resource?
Select the Correct Answer from below option. This Question is related to K8s and was asked during one of the Course in Fresco.
a) kubectl delete
b) kubectl rm
c) kubectl -delete
d) kubectl rmi
kubernetes-resource
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 26, 2021
by
SakshiSharma
Correct answer of the above question is : a) kubectl delete
kubectl delete kubectl command is used to delete a resource
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Kubectl command to take all the details for ayaml file and create the resource it tells API to crate:
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
kubectlcommand
0
votes
Q: "kubectl explain" command is great, but you must know the exact name of the resource (eg pod/services/persistentvolume) to get the details, unless you do recursive How do you get the names of these resources from command line?
asked
Aug 4, 2023
in
Kubernetes K8s
by
SakshiSharma
kubectlexplain
0
votes
Q: Which kubectl command is used to display information about the master and services in the cluster?
asked
Dec 26, 2021
in
Kubernetes K8s
by
SakshiSharma
master-cluster
0
votes
Q: Your computer has no access to internet Which kubectl command can you use to find out syntax of making a pvyaml :
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
kubectl
0
votes
Q: kubectl expose command: port VS targetport: (which one is which ?)
asked
Aug 5, 2023
in
Kubernetes K8s
by
Robin
targetport
0
votes
Q: Kubectl command to make a new yaml file for a service by exposing a already running deployment that runs a pod Name of the deployment: foo
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
kubectlcommand
0
votes
Q: There is pod named foo it is in crashloopbackoff state How to find the cause using a kubectl command?
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
crashloopbackoff-state
0
votes
Q: Write a kubectl command to Create a static pod, have it run a command (so it does not exit) dryrun so that you get yaml file saved :
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
kubectcommand
0
votes
Q: Kubectl command to list all the pods in foo namespace:
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
list-pods
0
votes
Q: When using kubectl command, how do you to get output in json format?
asked
Aug 5, 2023
in
Kubernetes K8s
by
Robin
kubectl
...