KKloud TarusKKloud Tarus
  • Blog
  • Series
  • Đội ngũ
  • Giới thiệu

Blog

Thoughts on engineering, design, and building great products.

SeriesAll postsCRDAIAPFAPIAPI GatewayARPAWSAdmissionAffinityAggregationAnsibleAppArmorArchitectureAuthenticationAuthorization
Operator: CRD Cộng Vòng Lặp Reconcile
DevOpsKubernetes

Operator: CRD Cộng Vòng Lặp Reconcile

CRD cho ta một kiểu dữ liệu mới, nhưng tạo một custom resource thì chưa có gì xảy ra. Operator ghép CRD với một controller chạy vòng lặp: theo dõi custom resource và hành động để đưa thực tế về khớp mong muốn. Bài này dựng một operator thật từ đầu — một CRD Echo và một controller chạy trong pod — rồi xem nó tự tạo Deployment khi ta tạo Echo, tự scale khi ta sửa replicas, và để Deployment bị dọn khi ta xóa Echo.

K
KaiMay 24, 2026· 17 views
CustomResourceDefinition: Thêm Kiểu Của ...
DevOpsKubernetes

CustomResourceDefinition: Thêm Kiểu Của Riêng Bạn

Part XII chuyển từ dùng Kubernetes sang mở rộng nó. Bài đầu là CustomResourceDefinition — khai một kiểu object mới, và API server lập tức phục vụ nó như resource gốc: kubectl get được, validate theo schema, lưu trong etcd. Ta dựng một CRD Widget có ràng buộc kiểu và miền giá trị, tạo custom resource hợp lệ, xem hai cái sai bị từ chối, rồi cập nhật status qua subresource riêng.

K
KaiMay 24, 2026· 27 views
KKloud TarusKKloud Tarus

Khám phá. Xây dựng. Chia sẻ.

  • Blog
  • Đội ngũ
  • Giới thiệu
© 2026 KKloud Tarus. Bảo lưu mọi quyền.