> For the complete documentation index, see [llms.txt](https://appsecurity.gitbook.io/offensive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appsecurity.gitbook.io/offensive/cloud/sandboxes-containers-virtualization/k8s/tools/helm.md).

# helm

Инициализация репозитория (при условии, что есть коннект до куба). Включает установку tiller на куб (в тч minikube):

```
helm init
```

Составные части:

* Deployment — как запускать контейнеры
* Service — как подключаться к контейнеру
* Netpol — политики взаимодействия между контейнерами (ака Firewall)
* Configmap
* Ingress — настройка контроллера

Добавление дефолтоного репозитория:

```
helm add repo <name> 
kubernetes-charts.storage.googleapis.com/

helm update repo 
helm search <chart>
helm install <name chart local> <name-repo>/<name-chart>
```

Установить чарт (локальный) на кубер:&#x20;

```
helm install <name-chart-on-kube> <helm path ./> --namespace <namespace>
```

Дефолтные helm-charts для кучи всего: <https://github.com/helm/charts/tree/master/stable>
