kubectl apply

The kubectl command that creates or updates Kubernetes objects to match the manifests you give it.

In more detail

It is the typical push-model deploy step. A GitOps controller performs the equivalent continuously from Git instead.

Examples

kubectl apply -f deploy/production.yaml
kubectl apply -f web-deployment.yaml

Related terms

Taught in

References

Certification courses