오픈소스/kafka
[미완성] 카프카 helm으로 변경
pastime
2023. 5. 4. 19:08
728x90
기존 로컬에서 docker-compose로 카프카를 구축하여 사용하였지만, helm으로 변경하기 위한 작업 진행.
# 사용할 helm repo
helm repo add bitnami https://charts.bitnami.com/bitnami
# download
helm pull bitnami/kafka
# dir 구조
├─infra
└─kafka
├─charts
│ ├─common
│ │ └─templates
│ │ └─validations
│ └─zookeeper
│ ├─charts
│ │ └─common
│ │ └─templates
│ │ └─validations
│ └─templates
├─ci
└─templates
helm pull 한 다음 기본적인 세팅은 kafka 안에 ci라는 dir를 반드로 values.yaml파일을 추가하여 작성한다.
helm upgrade --install -f .\values.yaml -n kafka-study kafka-helm-study .
728x90