Followers

Kubernetes-Helm Charts

 





    


HELM (The package manager for Kubernetes)

Helm is the best way to find, share and use software built for kubernetes

Installation Steps On Ubuntu


  •  curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
  •  sudo apt-get install apt-transport-https --yes
  •  echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
  •  sudo apt-get update
  •  sudo apt-get install helm

Verification

 helm version
 helm --help

Add Stable Repository

  1.  helm repo add stable https://charts.helm.sh/stable
  2.  helm search repo stable
  3.  helm remove repo stable
  4.  helm repo add bitnami https://charts.bitnami.com/bitnami
  5.  helm search repo bitnami
  6.  helm install apache bitnami/apache
  7.  kubectl get all
Create a chart with default template

  • helm create helloworld
  • helm install helloworld-1 helloworld
  •  kubectl get deploy
  • helm install --set replicaCount=2 helloworld-2 helloworld
  • kubectl get deploy
  • helm upgrade --set replicaCount=4 helloworld-2 helloworld
  • Overwride values.yaml. create a file called myvalues.yaml
  •   replicaCount: 5
  •  helm upgrade -f myvalues.yaml helloworld-2 helloworld

Create Charts

1. Create a chart name it mychart 
         helm create mychart
2. helm template mychart
3. helm lint mychart
2. Remove all the files under the template folder
         rm -ifr *
3. Create a Yaml file under template folder

apiVersion: v1
kind: Pod
metadata:
    name: pod20
spec:
   containers:
   - name: c1
     image: nginx

4. Change to home directory

cd /home/ubuntu

5. Install mychart 

    helm install mychart ./mychart

6. list the charts

   helm list

7. List the pods

  pod20 should be created.

8. helm uninstall mychart


 

 


   




COMMENTS

Name

Ansible,6,AWS,1,Azure DevOps,1,Containerization with docker,2,DevOps,2,Docker Quiz,1,Docker Swarm,1,DockerCompose,1,ELK,2,git,2,Jira,1,Kubernetes,1,Kubernetes Quiz,5,SAST DAST Security Testing,1,SonarQube,3,Splunk,2,vagrant kubernetes,1,YAML Basics,1,
ltr
static_page
DevOpsWorld: Kubernetes-Helm Charts
Kubernetes-Helm Charts
DevOpsWorld
https://www.devopsworld.co.in/p/kubernetes-helm-charts.html
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/p/kubernetes-helm-charts.html
true
5997357714110665304
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content