Bookmark this page

Summary

  • Imperative commands perform actions, such as creating a deployment, by specifying all necessary parameters as command-line arguments.

  • In the declarative workflow, you create manifests that describe resources in the YAML or JSON formats, and use commands such as kubectl apply to deploy the resources to a cluster.

  • Kubernetes provides tools, such as the kubectl diff command, to review your changes before applying them.

  • You can use Kustomize to create multiple deployments from a single base code with different customizations.

  • The kubectl command integrates Kustomize into the apply subcommand and others.

  • Kustomize organizes content around bases and overlays.

  • Bases and overlays can create and modify existing resources from other bases and overlays.

Revision: do280-4.14-08d11e1