Depth analysis Kubebuilder: make it easier to write CRD

Author | Liu Yang (look for inflammation) Ali cloud Senior Development Engineer

REVIEW: Custom Resource CRD (Custom Resource Definition) can be extended Kubernetes API, grasp the CRD is to become an essential skill Kubernetes advanced players, this article will introduce the concept of CRD and Controller, and the preparation of CRD framework Kubebuilder in-depth analysis, so you really understand and be able to quickly develop CRD.

Overview

Controller pattern and declarative API


Prior to the formal introduction Kubebuidler, we need to first understand the underlying implementation K8s extensive use of controller mode, and allows users hooked declarative API, which is the basis of introduction CRDs and Kubebuidler.

Controller Mode


K8S as a "container arrangement" platform, the core is a layout function, a minimum unit K8S Pod scheduling, has many attributes and fields, the arrangement is through K8S

Guess you like

Origin yq.aliyun.com/articles/719215