Skip to content

tpneik/helm-test

Repository files navigation

Pakage

Make package

Go to chart folder

helm package . # /// -> return my-chart-0.1.0.tgz

Move the tgz file to github repo

cd ../my-chart-repo
mv ../my-chart-0.1.0.tgz .

Add index for repo

# helm repo index . --url https://your-username.github.io/your-repository, below is mine !
helm repo index . --url https://tpneik.github.io/helm-test

Do as normal

git add .
git commit -m "Add Helm chart my-chart-0.1.0"
git push origin main

Enable GitHub Pages

Go to your GitHub repository on the GitHub website and enable GitHub Pages:

  • Navigate to the repository settings.
  • Scroll down to the "GitHub Pages" section.
  • Select the branch you want to use for GitHub Pages (e.g., main).
  • Choose the root directory (/).

Deploy

Defaul yml

namespace: nodetest-ns

appName: nodetest

outterPort: 31313
replicas: 5

image:
  name: tpneik/apptest
  tag: v1

service:
  nodeport:
    port: 80
    targetport: 3000
    nodeport: 31313
  loadbalancer:
    port: 80
    targetport: 3000
  clusterip:
    port: 80
    targetport: 3000

env: clusterip

Add repo

helm repo add helm-test https://tpneik.github.io/helm-test
helm repo update

Runnnnnn

# you can overside as the value I add above !
# you alse can choose the service type by define env

helm install example helm-test/nodetest --set env=clusterip --set namespace=example

About

Mini helm test for K8S cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published