Building clusters with Kubespray and Terraform
4 vCPU · 4 GiB VM 한 대에 kubespray 로 쿠버네티스를 세웁니다. 인벤토리와 group_vars 로 클러스터를 선언하고, 설치 전 점검·설치와 재실행·결과 검증·애드온·마이너 업그레이드·인증서 갱신·초기화와 재설치를 차례로 손으로 해 봅니다. 폐쇄망에 들고 갈 목록을 만들고, Terraform 으로 인벤토리를 템플릿으로 만들어 kubespray 를 감싼 뒤 세운 클러스터에 RBAC 와 앱을 선언하고 drift 를 잡습니다. 여러 노드 설계는 인벤토리와 검사까지 다룹니다.
고급 · 레슨 30 · 실습 10
실습 시작하기
커리큘럼
Designing the inventory and group_vars
Running cluster.yml and idempotency
Verifying the installation
Network plugins and add-ons
Upgrading with upgrade-cluster.yml
Certificate renewal, reset and reinstall
Air-gapped installation overview
Wrapping with Terraform and deploying declaratively
Scaling out to multiple nodes — design and checks
참고 문서