This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
система_kubernetes [2022/09/27 14:44] val [Работа с готовыми Charts] |
система_kubernetes [2022/10/01 16:03] val [Система Kubernetes] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Система Kubernetes ====== | ====== Система Kubernetes ====== | ||
+ | |||
+ | * [[https://kubernetes.io/ru/docs/home/|Документация по Kubernetes (на русском)]] | ||
* [[https://youtu.be/sLQefhPfwWE|youtube Введение в Kubernetes на примере Minikube]] | * [[https://youtu.be/sLQefhPfwWE|youtube Введение в Kubernetes на примере Minikube]] | ||
Line 447: | Line 449: | ||
* [[https://kubernetes.github.io/ingress-nginx/deploy/#quick-start|NGINX ingress controller quick-start]] | * [[https://kubernetes.github.io/ingress-nginx/deploy/#quick-start|NGINX ingress controller quick-start]] | ||
<code> | <code> | ||
+ | server# host webd | ||
+ | webd.corpX.un has address 192.168.X.201 | ||
+ | |||
root@node1:~# kubectl port-forward --namespace=ingress-nginx --address 0.0.0.0 service/ingress-nginx-controller 80:80 | root@node1:~# kubectl port-forward --namespace=ingress-nginx --address 0.0.0.0 service/ingress-nginx-controller 80:80 | ||
Line 655: | Line 660: | ||
* [[https://medium.com/containerum/how-to-make-and-share-your-own-helm-package-50ae40f6c221|How to make and share your own Helm package]] | * [[https://medium.com/containerum/how-to-make-and-share-your-own-helm-package-50ae40f6c221|How to make and share your own Helm package]] | ||
* [[https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html|Gitlab Personal access tokens]] | * [[https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html|Gitlab Personal access tokens]] | ||
+ | * role: Mainteiner, api, read_registry, write_registry | ||
<code> | <code> | ||
- | $ helm repo add --username student --password NNNNNN-NNNNNNNNNNNNN webd http://192.168.13.1/api/v4/projects/6/packages/helm/stable | + | $ helm repo add --username student --password NNNNN-NNNNNNNNNNNNNNNNNNN webd http://server.corpX.un/api/v4/projects/4/packages/helm/stable |
+ | "webd" has been added to your repositories | ||
+ | |||
+ | $ ### helm repo remove webd | ||
$ helm repo list | $ helm repo list | ||
Line 665: | Line 673: | ||
$ helm plugin install https://github.com/chartmuseum/helm-push | $ helm plugin install https://github.com/chartmuseum/helm-push | ||
+ | |||
$ helm cm-push webd-chart-0.1.0.tgz webd | $ helm cm-push webd-chart-0.1.0.tgz webd | ||