This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
универсальный_helm-чарт [2026/06/08 15:30] val [Добавляем lifecycle.postStart и Gateway API] |
универсальный_helm-чарт [2026/06/09 18:04] (current) val |
||
|---|---|---|---|
| Line 53: | Line 53: | ||
| kube1:~/webd-k8s# mkdir -p uni-webd-chart/templates/ | kube1:~/webd-k8s# mkdir -p uni-webd-chart/templates/ | ||
| - | mv -v my-webd-deployment.yaml uni-webd-chart/templates/ | + | cp -v my-webd-deployment.yaml uni-webd-chart/templates/ |
| - | mv -v my-webd-service.yaml uni-webd-chart/templates/ | + | cp -v my-webd-service.yaml uni-webd-chart/templates/ |
| </code> | </code> | ||
| Line 444: | Line 444: | ||
| <code> | <code> | ||
| kube1:~/webd-k8s# | kube1:~/webd-k8s# | ||
| - | mv -v my-httproute.yaml uni-webd-chart/templates/ | + | cp -v my-httproute.yaml uni-webd-chart/templates/ |
| - | mv -v my-gateway.yaml uni-webd-chart/templates/ | + | cp -v my-gateway.yaml uni-webd-chart/templates/ |
| </code><code> | </code><code> | ||
| kube1:~/webd-k8s# cat uni-webd-chart/values.yaml | kube1:~/webd-k8s# cat uni-webd-chart/values.yaml | ||
| Line 516: | Line 516: | ||
| {{- end }} | {{- end }} | ||
| </code><code> | </code><code> | ||
| + | kube1:~/webd-k8s# helm template my-htwebd uni-webd-chart/ -f env.yaml -f apps/htwebd/values.yaml | ||
| + | |||
| kube1:~/webd-k8s# helm upgrade -i my-htwebd uni-webd-chart/ -f env.yaml -f apps/htwebd/values.yaml -n my-ns --create-namespace | kube1:~/webd-k8s# helm upgrade -i my-htwebd uni-webd-chart/ -f env.yaml -f apps/htwebd/values.yaml -n my-ns --create-namespace | ||
| + | |||
| + | kube1:~/webd-k8s# kubectl -n my-ns events | ||
| + | |||
| + | clien1$ curl https://htwebd.corpX.un | ||
| </code> | </code> | ||