Quick Start to Install Confluent kubectl Plugin
Install and use the Confluent kubectl plugin after completing a quick start. The Confluent for Kubernetes (CFK) bundle contains this plugin for interacting with Confluent for Kubernetes.
Prerequisites
Complete the Quick Start with KRaft or Quick Start with ZooKeeper, ensuring that Confluent Platform remains deployed.
Steps
Download the CFK bundle:
curl -O https://packages.confluent.io/bundle/cfk/confluent-for-kubernetes-3.3.0.tar.gz
Expected: The bundle downloads to your current directory as a
.tar.gzfile namedconfluent-for-kubernetes-followed by the release version.Unpack the downloaded bundle:
tar -xzf confluent-for-kubernetes-3.3.0.tar.gz
Expected: A directory named
confluent-for-kubernetes-followed by the release version and a build ID is created in your current directory, for example,confluent-for-kubernetes-3.3.0-20260709151700.Check the machine’s architecture:
arch
Expected: Your machine’s architecture, for example,
x86_64oraarch64on Linux, orarm64on macOS. Useamd64in the next step for anx86_64machine, andarm64for anaarch64orarm64machine.Unpack the kubectl plugin that matches your client environment, Linux, Windows or macOS (Darwin), into your client environment local executables directory. On macOS and Linux, the directory is
/usr/local/bin/. This enables kubectl to locate the plugin. Use the architecture you retrieved in the previous step (amd64orarm64):tar -xvf kubectl-plugin/kubectl-confluent-<environment>-<architecture>.tar.gz \ -C <local directory for the plugin>
For example, on macOS with the
arm64architecture type:tar -xvf kubectl-plugin/kubectl-confluent-darwin-arm64.tar.gz \ -C /usr/local/bin/
Expected: The archive contents, including the
kubectl-confluentbinary, are extracted into the target directory.Note
If
/usr/local/bin/is not writable by your user, prefix the command withsudo.Open Control Center.
kubectl confluent dashboard controlcenter
Expected: Your default browser opens to the Control Center login page at
http://localhost:9021.View the Confluent Platform version.
kubectl confluent version
Expected: A table listing each deployed component, such as
KafkaandControlCenter, with itsVERSIONandOPERATOR-VERSION.
For more plugin commands, such as viewing external and internal endpoints or checking cluster access, see Confluent plugin. To install the plugin using Krew instead, or to upgrade an existing installation, see Confluent plugin.
Next steps
To plan a production deployment, see Plan for Confluent Platform Deployment Using Confluent for Kubernetes.
To install and manage connectors, see Install connector plugin.