第 5 章 Using oc and kubectl commands
The Kubernetes command-line interface (CLI), kubectl, can be used to run commands against a Kubernetes cluster. Because MicroShift is a certified Kubernetes distribution, you can use the supported kubectl CLI tool or you can gain extended functionality by using the OpenShift CLI (oc).
5.1. The kubectl CLI tool 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can use the kubectl CLI tool to interact with Kubernetes primitives on your MicroShift cluster. You can also use existing kubectl workflows and scripts for users coming from another Kubernetes environment, or for those who prefer to use the kubectl CLI.
-
The
kubectlCLI tool is included in the archive when you downloadoc. - For more information, see the Kubernetes CLI tool documentation.