当前位置:网站首页>What is kubernetes custom resource definition (CRD)?
What is kubernetes custom resource definition (CRD)?
2022-07-29 10:58:00 【mikes zhang】

Custom resource definition (CRD) yes Kubernetes API Expand , You can define new object types .Pod、ReplicaSet、ConfigMap and Ingress Is an example of common built-in resources .CRD Allows you to add new types to this list , Then use the familiar Kubernetes Tools ( for example Kubectl) Manage them .
CRD Mechanisms are deliberately Abstract , It can be used to store data and build new functions in many ways . You will find custom resources in many popular community tools :Cert-Manager Defines the representation SSL Objects of certificates and issuers , and Helm take Charts Expressed as their own CRD.
What is resource ?
Kubernetes Resources define the types of data that can be stored in the cluster . They are through Kubernetes API Access to the , The API Provides for creating 、 List and modify the endpoints of the project .
You can add custom resources to store your own arbitrary data in the cluster . The project you create will be created by etcd Control plane components are stored with instances of built-in resources .API Custom resources will be automatically displayed , So you don't need to set up your own tools to create project instances .
By default ,CRD Act as a simple data structure . Although wild CRD Usually have their own behavior , But it's not CRD The mechanism provides . Customize Kubernetes Controllers and operators can be used to implement functions around custom resources . If there is no controller ,CRD The project of will always exist as data in the static cluster , You can Kubernetes API Provided CRUD The endpoint interacts with it .
CRD It is a dynamic component that can be created and deleted at any time .Kubernetes Some object types contained in are also implemented as CRD, Thus, more modularity is provided in the core of the cluster .
establish CRD
边栏推荐
- QT's user-defined interface (borderless and movable)
- 建议收藏丨sql行转列的一千种写法!!
- Alibaba P8 broke out this interview guide for big factories. After reading it, the salary soared by 30K!
- One click blog building: how to use WordPress plug-in to build a dedicated blog
- Svn revision keyword
- Detailed arrangement of JVM knowledge points (long text warning)
- 什么是 Kubernetes 自定义资源定义 (CRD)?
- IPV6基础
- R language Monte Carlo method and average method are used to calculate the definite integral. Considering the random point casting method, the confidence is 0.05, and the requirement is ϵ= 0.01, numbe
- 浅谈string中的compareTo方法
猜你喜欢
随机推荐
Matplotlib Chinese question
大伟 Golang之路
StarRocks 技术内幕:实时更新与极速查询如何兼得
Analysis of QT basic engineering
Software testing dry goods
1.MySQL数据库的介绍
LeetCode_ 416_ Divide equal sum subsets
Regular expression matching URL
大伟 GBase8s游标稳定性读ESQL测试用例
QWidget、QDialog、QMainWindow 的异同点
Steps of project explanation in interview
The heavy | open atomic school source activity was officially launched
Conference OA project - my approval
Use tidymodels to solve the binary logistic model
多线程顺序运行的 4 种方法,面试随便问!
GPO: using PowerShell scripts in start/logon
Alibaba P8 broke out this interview guide for big factories. After reading it, the salary soared by 30K!
阿里架构师耗时一年整理的《Lucene高级文档》,吃透你也是大厂员工!
浅谈安科瑞灭弧式智慧用电在养老机构的应用
ES6 arrow function this points to








