当前位置:网站首页>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
边栏推荐
- AI model risk assessment Part 2: core content
- Conference OA project - my approval
- Hugo NexT V4 介绍
- 就这?TypeScript其实并不难!(建议收藏)
- Leetcode bit operation
- 阿里P8爆出的这份大厂面试指南,看完工资暴涨30k!
- Kunlunbase instruction manual (III) data import & synchronization
- ECCV 2022 | SSP: 自支持匹配的小样本任务新思想
- Use R-Pack skimr to collect the beautiful display of President measurement
- Peking University open classes are coming! Welcome to the "AI for science" class
猜你喜欢

DNS协议、ICMP协议、NAT技术

Getting started with pytoch

Qt 之自定义界面(实现无边框、可移动)
小笑授权系统V5.0开心版

Factoextra: visual PCA of multivariate statistical methods

周鸿祎:360是世界上最大的安全大数据公司

8.穿插-从架构设计到实践理解ThreadPoolExecutor线程池

QWidget、QDialog、QMainWindow 的异同点

如何开始为您的 Kubernetes 应用程序编写 Helm 图表

Kunlunbase instruction manual (IV) real time synchronization of data from Oracle to kunlunbase
随机推荐
Meeting OA project (V) -- meeting notice and feedback details
周鸿祎:360是世界上最大的安全大数据公司
Kunlunbase instruction manual (III) data import & synchronization
为什么应该在开发环境中使用 Kubernetes
Applied practical skills of deep reinforcement learning
golang 实现文件上传下载
Svn revision keyword
Peking University open classes are coming! Welcome to the "AI for science" class
如何开始为您的 Kubernetes 应用程序编写 Helm 图表
If distributed file storage is realized according to integrated Minio
QWidget、QDialog、QMainWindow 的异同点
多线程顺序运行的 4 种方法,面试随便问!
如何使用 grep 跨多行查找模式匹配
leetcode-位运算
QT基本工程的解析
深入理解C# 进入快速通道的委托
大伟 Golang之路
Zhou Hongyi: 360 is the largest secure big data company in the world
阿里P8爆出的这份大厂面试指南,看完工资暴涨30k!
LeetCode二叉树系列——144.二叉树的前序遍历