$ tar xvf operator-sdk-v1.3.0-ocp-linux-x86_64.tar.gz
The Operator SDK provides a command-line interface (CLI) tool that Operator developers can use to build, test, and deploy an Operator. You can install the Operator SDK CLI on your workstation so that you are prepared to start authoring your own Operators.
OpenShift Container Platform 4.7 supports Operator SDK v1.3.0. |
You can install the OpenShift SDK CLI tool on Linux.
Go v1.13+
docker
v17.03+, podman
v1.9.3+, or buildah
v1.7+
Navigate to the OpenShift mirror site.
From the 4.7.23
directory, download the latest version of the tarball for Linux.
Unpack the archive:
$ tar xvf operator-sdk-v1.3.0-ocp-linux-x86_64.tar.gz
Make the file executable:
$ chmod +x operator-sdk
Move the extracted operator-sdk
binary to a directory that is on your PATH
.
To check your
|
$ sudo mv ./operator-sdk /usr/local/bin/operator-sdk
After you install the Operator SDK CLI, verify that it is available:
$ operator-sdk version
operator-sdk version: "v1.3.0-ocp", ...