Skip to content

Rohit-1920/Kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Install kubectl**

1: Download the latest release with the command:

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"

2: Validate the binary

 curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"

3: Validate the kubectl binary against the checksum file:

echo "$(cat kubectl.sha256)  kubectl" | sha256sum --check

4: Install kubectl:

sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

Note: 5: If you do not have root access on the target system, you can still install kubectl to the ~/.local/bin directory:

chmod +x kubectl
mkdir -p ~/.local/bin
mv ./kubectl ~/.local/bin/kubectl
kubectl version --client

Install AWS CLI on Ubuntu**

Download the aws cli bundle using below command
snap install aws-cli --classic

4:Configure AWS CLI

To connect AWS using CLI we have configure AWS user using below command
aws configure

: Log In Into EKS cluster

aws eks update-kubeconfig --name <clustername>
##eks

aws eks update-kubeconfig --region ap-south-1 --name cluster ** to get cluster info

kubectl cluster-info
aws eks update-kubeconfig

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors