Kubernetes and Helm packing
SETUP for Kubernetes
Install the docker and check the version. (Visit the docker website to install)
check the version using the command docker version
Install Minikube
- wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
- cp minikube-linux-amd64 /usr/local/bin/minikube
- sudo chmod 755 /usr/local/bin/minikube
- minikube version
minikube start ->to start the Kubernetes this command will take a couple of minutes to complete.
Install Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
give permission for the folder
chmod u+x kubectl
move this folder to user bin
sudo mv kubectl /usr/local/bin/
execute kubectl version to check client and server versions
See the compatible client and server GitVersions v1.25.2
check whether the cluster is running or not using ->minikube status
Helm Installation
Visit https://helm.sh/docs/intro/install/
Executed the below commands as described in the website
$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.sh
To add repo ->helm repo add bitnami https://charts.bitnami.com/bitnami
helm search repo bitnami ->to see the repository
helm install bitnami/WordPress --generate-name
The above command will install wordpress
Clean Helm Setup
helm uninstall wordpress-1665576090
after this, all the WordPress related instances will be removed
Comments
Post a Comment