kubectl is a command line tool (CLI) for Kubernetes, mainly used to help you manage Kubernetes clusters, deploy applications, view and manage various resources and records in various clusters. When we want to create resources, we often use kubectl create
or kubectl apply
to create resources. If we simply want to create resources, the difference between these two sets of commands is very small, but why should we divide them into two? Is it really what he means literally (build/apply)? In this article we will discuss this issue.
… continue reading …
This article is reprinted from https://blog.miniasp.com/post/2022/10/24/Kubernetes-101-diff-between-kubectl-create-and-kubectl-apply
This site is for inclusion only, and the copyright belongs to the original author.