当前位置:网站首页>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
边栏推荐
- 带你浅聊一下PHP搭建的电商商城系统
- QT基本工程的解析
- Structure the eighth operation of the combat battalion module
- R language uses data set veteran for survival analysis
- ES6-箭头函数this指向
- 深入理解C# 进入快速通道的委托
- Package Delivery(贪心)
- Watch the open source summit first | quick view of the sub Forum & Activity agenda on July 29
- QT工程基本构建
- 重磅 | 基金会为白金、黄金、白银捐赠人授牌
猜你喜欢

为什么应该在开发环境中使用 Kubernetes

北京大学公开课重磅来袭!欢迎走进「AI for Science」课堂

DNS协议、ICMP协议、NAT技术

TCP和UDP

即学即用的问题解决思维,给无意识的生活装上“后视镜”

Discussion on the application of arcing smart electricity in elderly care institutions

DOD and Dor, two artifacts to reduce "cognitive bias"

The heavy | open atomic school source activity was officially launched

「PHP基础知识」使用数组保存数据

StarRocks 技术内幕:实时更新与极速查询如何兼得
随机推荐
PyQt5快速开发与实战 6.6 QFormLayout(表单布局) && 6.7 嵌套布局 && 6.8 QSplitter
GBase8s核心数据备份
DOD and Dor, two artifacts to reduce "cognitive bias"
带你浅聊一下PHP搭建的电商商城系统
Peking University open classes are coming! Welcome to the "AI for science" class
开源峰会抢先看 | 7 月 29 日分论坛 & 活动议程速览
一文搞懂什么是二叉树(二叉树的种类、遍历方式、定义)
Qt 之自定义界面(实现无边框、可移动)
leetcode-位运算
Discussion on the application of arcing smart electricity in elderly care institutions
Determine whether the values of two objects are equal
Niuke net brush questions
Regular expression matching URL
Using R-Pack premsim to predict microsatellite instability based on gene expression
Zhou Hongyi: 360 is the largest secure big data company in the world
2.安装MySQL
专访 | 阿里巴巴首席技术官程立:云 + 开源共同形成数字世界的可信基础
HMS Core Discovery第16期回顾|与虎墩一起,玩转AI新“声”态
Package Delivery(贪心)
Ggdag draw DAG and cause and effect diagram