지 않으며 실제 코드는 중요하지 않다는 점을 밝혀둔다. 중요한 점은 오퍼레이터 구현 시 어
느 부분에 중점을 두어야 할지, 모범 사례와 어떻게 연관되는지 이해하는 것이다.
21.3
API
생성
CRD
는
YAML
로 직접 만들 수도 있지만,
kubebuilder
와 다른 오퍼레이터
SDK
를 사용하여
주어진 코드에 알맞은
API
정의를 자동 생성하는 것이 간편하다. 프로젝트를 초기화한 다음,
kubebuilder
로
API
스캐폴드 및 필요한
Go
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.