Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

Could someone tell me what is Kubectl apply?

1 Answer

0 votes
by (99k points)

The “kubectl apply” command is used to direct a configuration to a resource by filename or stdin. If it exists, the resource won’t be created, but if not, then the resource would be created.

The syntax for using this command is:

kubectl apply -f FILENAME

Wish to learn Kubernetes and become certified? Then have a look at Intellipaat’s Kubernetes training which focuses on enhancing your practical exposure through dedicated 20hrs for projects and exercises apart from 10hrs of training.

Also, check out our YouTube video on Kubectl Basic Commands from our experts, to help you get started.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)

Browse Categories

...