kubectl Cheat Sheet | Kubernetes
kubernetes.io › docs › referenceKubectl apply apply manages applications through files defining Kubernetes resources. It creates and updates resources in a cluster through running kubectl apply. This is the recommended way of managing Kubernetes applications on production. See Kubectl Book. Creating objects Kubernetes manifests can be defined in YAML or JSON.
Kubectl Reference Docs - Kubernetes
kubernetes.io › docs › referencekubectl apply --prune -f manifest.yaml -l app =nginx Apply the configuration in manifest.yaml and delete all the other config maps that are not in the file. kubectl apply--prune-f manifest. yaml--all--prune-whitelist=core/v1/ConfigMap. Apply a configuration to a resource by file name or stdin. The resource name must be specified.
Kubectl apply | cert-manager
cert-manager.io › docs › installationMar 23, 2022 · $ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/cert-manager.yaml By default, cert-manager will be installed into the cert-manager namespace. It is possible to run cert-manager in a different namespace, although you’ll need to make modifications to the deployment manifests.
kubectl | Kubernetes
kubernetes.io › docs › referenceJun 29, 2021 · kubectl apply - Apply a configuration to a resource by filename or stdin kubectl attach - Attach to a running container kubectl auth - Inspect authorization kubectl autoscale - Auto-scale a Deployment, ReplicaSet, or ReplicationController kubectl certificate - Modify certificate resources. kubectl cluster-info - Display cluster info
Kubectl apply | cert-manager
https://cert-manager.io/docs/installation/kubectl23.03.2022 · Kubectl apply Installing with regular manifests Prerequisites. Install kubectl version >= v1.19.0-rc.1. (otherwise, you will have issues updating the CRDs - see v0.16 upgrade notes); Install a supported version of Kubernetes or OpenShift.; Read Compatibility with Kubernetes Platform Providers if you are using Kubernetes on a cloud platform.; Steps