DEV Community

Ahmet Akan
Ahmet Akan

Posted on

2 2

Setting Up Kubernetes Command Line Tool (kubectl)

Summary

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs.

This tutorial will guide you through the installation and configuration of this tool on Linux.

Installation Steps:

Download the Amazon EKS vended kubectl from AWS. To download the Arm version, change amd64 to arm64 before running the command.

$ curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/kubectl
Enter fullscreen mode Exit fullscreen mode

Add execute permission to the binary.

$ chmod +x ./kubectl
Enter fullscreen mode Exit fullscreen mode

Add the binary to the search path.

$ mkdir -p $HOME/bin && cp ./kubectl $HOME/bin/kubectl && export PATH=$PATH:$HOME/bin
Enter fullscreen mode Exit fullscreen mode

Verify the version with the following command:

$ kubectl version --short --client
Client Version: v1.21.2-13+d2965f0db10712
Enter fullscreen mode Exit fullscreen mode

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay