Helm installed with Binary and interacting with Kubernetes cluster

Ticker

6/recent/ticker-posts

Helm installed with Binary and interacting with Kubernetes cluster

 

Installing Helm From the Binary Releases

Question :- 

You have been tasked with installing and verifying Helm in your company's Kubernetes environment. You will need to install Helm on the Kubernetes primary server instance and then ensure that it is working correctly. After this is complete, you should return the cluster to the state it was in when you found it.

On the Kubnernetes primary server, download and install Helm from its packaged binary. Once it is installed, configure the repo and ensure it is named stable and is up-to-date.


Helm provides binary releases for a variety of OS. 

These binary versions can be manually downloaded and installed

Solution :- 

1. Run the wget command with the  tar file provided for the lab to install Helm.

$ wget https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz


2. Run the tar -xzf and ls -l commands to extract and view the file and the related linux-amd64 folder.

$ tar -xzf helm-v3.5.0-linux-amd64.tar.gz


3. Find the helm binary in the unpacked directory, and move it to its desired destination. Run the mv command to move the helm executable to the /usr/local/bin/ directory.

$ mv ./linux-amd64/helm /usr/local/bin/


4. Run the ls -l command on the /usr/local/bin/ directory to ensure the helm binary is still owned by user and can still be run.

$ ls -l /usr/local/bin/


5. Run the helm version command to ensure Helm is available on the path. This shows the version of Helm that is currently installed.

$ helm version


Happy Learning!!!!

Apart from this if you need more clarity,  I have made a  tutorial video on this, please go through and share your comments. Like and share the knowledge 




Post a Comment

0 Comments

Latest Posts

KodeKloud Kubernetes Security CKS  Lab Challenge 4 |  Audit-policy | Install & configure falco utility | Inspect the API server audit logs and identify the user