helm create spring-helm-test
repository和tag 修改
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
把端口修改成spring 应用8080
ports:
- name: http
containerPort: 80
protocol: TCP
helm install spring-demo-test ./spring-helm-test/
如果有报错可以uninstall 重来
helm uninstall spring-demo-test
查看生成的k8s 资源文件
helm get manifest spring-demo-test