1 Star 0 Fork 0

piao / helm-charts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

helm-charts

hello-chart

  1. 创建hello-chart
$ helm create hello-chart
  1. 修改hello-chart/Chart.yaml

  2. 修改hello-chart/values.yaml

  3. 校验Chart.yaml

$ helm lint
  1. 打包
$ helm package hello-chart --debug
  1. 更新index.yaml
$ helm repo index --url https://piaohua.github.io/helm-charts/ --merge index.yaml .
  1. 提交*.tgz & index.yaml
  2. 更新repo
$ helm repo update
$ helm search list
  1. 部署hello-chart
$ helm install piaohua/hello-chart --generate-name --namespace hello

$ export POD_NAME=$(kubectl get pods --namespace hello -l "app.kubernetes.io/name=hello-chart,app.kubernetes.io/instance=hello-chart-1595757801" -o jsonpath="{.items[0].metadata.name}")

$ kubectl --namespace hello port-forward $POD_NAME 8080:80

$ kubectl get deployment,rs,rc,pod -n hello

$ curl -X GET http://127.0.0.1:8080

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/piao/helm-charts.git
git@gitee.com:piao/helm-charts.git
piao
helm-charts
helm-charts
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891