Kubernetes HELM

둥냥둥냥둥·2024년 1월 9일
0
post-thumbnail

주요 사이트
HELM : https://helm.sh/
Artifacthub : https://artifacthub.io/


실습 .01

HELM 으로 apache 실핼

1. Artifacthub 검색
적절한 hub : https://artifacthub.io/packages/helm/bitnami/apache


2. 리로지토리 pull
리포지토리 이름 : bitnami
리포지토리 url : https://charts.bitnami.com/bitnami

helm repo add <repository_name> <repository_url>

helm repo add Bitnami https://charts.bitnami.com/bitnami

**3. Install**
helm install <release_name> <chart_name>

helm install myapache bitnami/[설치 할거] [추가 옵션]

helm install myapache bitnami/ apache --set service.type=LoadBalancer


실습 .02

HELM 으로 wordpress 실핼

1. wordpress 검색
적절한 hub : https://artifacthub.io/packages/helm/bitnami/wordpress


2. 리로지토리 pull
리포지토리 이름 : bitnami
리포지토리 url : https://charts.bitnami.com/bitnami

helm repo add <repository_name> <repository_url>

helm repo add Bitnami https://charts.bitnami.com/bitnami

3.네임스페이스 생성

kubectl create namespace <namespace-name>

kubectl create namespace wordpress

4. Install

helm install <release_name> <chart_name>

helm install myapache bitnami/[설치 할거] [추가 옵션]

helm install myapache bitnami/wordpress -n wordpress


5. 확인


실습 .03

HELM 으로 Prometheus Grafana 연동

1. Prometheus Grafana 검색


2. 리로지토리 pull
리포지토리 이름 : bitnami
리포지토리 url : https://charts.bitnami.com/bitnami

helm repo add <repository_name> <repository_url>

helm repo add Bitnami https://charts.bitnami.com/bitnami

3.네임스페이스 생성

kubectl create namespace <namespace-name>

kubectl create namespace monitoring

4. Install

helm install <release_name> <chart_name>

helm install myprometheus bitnami/[설치 할거] [추가 옵션]
helm install mygrafana bitnami/[설치 할거] [추가 옵션]

helm install myprometheus bitnami/prometheus -n monitoring --set service.type=LoadBalance
helm install mygrafana bitnami/grafana -n monitoring --set service.type=LoadBalance
  • myprometheus

  • mygrafana

5. 확인

  • myprometheus

  • mygrafana

profile
Java 먹자

0개의 댓글