Install Operator-SDK on Linux-[STEP-2]

Install OPERATOR-SDK


 Operator SDK source code to compile and install the SDK CLI.

 

  1. Clone the operator-sdk repository:

     mkdir -p $GOPATH/src/github.com/operator-framework
     cd $GOPATH/src/github.com/operator-framework
     git clone https://github.com/operator-framework/operator-sdk
     cd operator-sdk
  2. Check out to branch:

     git checkout tags/v0.19.4 -b v0.19.4
  3. Install "make" binary by using yum/dnf  
     dnf install make
  4. Install the SDK CLI tool:

      make tidy
      make install

    Above command installs the CLI binary operator-

    sdk at $GOPATH/bin.

     

  5. Verify CLI tool was installed correctly:

    operator-sdk -h
    operator-sdk version

NOTE: Please follow the link below before getting in to above steps.


Comments

Popular posts from this blog

Install Go [STEP-1]

Creating a simple Web Operator using Operator SDK Ansible framework-[STEP-3]