728x90
반응형
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo list
helm search repo mysql
helm repo update
helm install mydb bitnami/mysql
helm list
helm uninstall mydb 후 재 배포시 파드가 실행 안되는 문제 발생
kubectl describe 를 통해 pod 로그 확인
startup probe failed: mysqladmin: [Warning] Using a password on the command line interface can be insecure.
bitnami/mysql 이 스테이트풀셋으로 배포됨. 파드별 스토리지 소유 & 스케일 다운시에도 PVC는 남기고 파드 삭제됨.
root 패스워드 지정 안하면 root 패스워드가 랜덤으로 생성됨.
아래와 같이 values 변경을 위한 테스트 파일 만들어준 후
helm install mydb bitnami/mysql -f test.yaml
이후 삭제 및 재배포 해도 에러 발생하지 않음을 확인 가능.
artifacthub 에서 bitnami/mysql 의 Default values 를 참고하거나
helm show values bitnami/mysql
를 통해 확인하여 수정할 수 있겠다.
참고
https://dev-scratch.tistory.com/180
https://github.com/bitnami/charts/issues/4826
https://artifacthub.io/packages/helm/bitnami/mysql?modal=values&path=auth.rootPassword
728x90
'자질구레' 카테고리의 다른 글
[Linux] "Warning: The unit file, source configuration file or drop-ins of XXX.service changed on disk. Run 'systemctl daemon-reload' to reload units." (0) | 2025.01.30 |
---|---|
맥북 시간 이상할 때 (1) | 2024.12.15 |
시간복잡도, Big O, 점근적 표기법 (0) | 2024.12.12 |
vscode code 명령어 사라짐 해결 (mac) (0) | 2024.11.09 |
[C++] split함수 (0) | 2024.10.01 |