:_mod-docs-content-type: ASSEMBLY
[id="usage-oc-kubectl"]
= Usage of oc and kubectl commands
include::_attributes/common-attributes.adoc[]
:context: usage-oc-kubectl

toc::[]

[role="_abstract"]
Because {product-title} is a certified Kubernetes distribution, you can use the Kubernetes CLI (`kubectl`) that ships with {product-title} to interact with your cluster. You can also gain extended functionality specific to {product-title} by using the {oc-first} binary.

// The oc binary
include::modules/oc-usage-oc.adoc[leveloffset=+1]

ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
[role="_additional-resources"]
.Additional resources

* xref:../../authentication/understanding-authentication.adoc#understanding-authentication[Understanding authentication]
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]

// The kubectl binary
include::modules/oc-usage-kubectl.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://kubernetes.io/docs/reference/kubectl/overview/[kubectl (Kubernetes documentation)]
* xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-getting-started[Getting started with the OpenShift CLI]
