Sau series Docker và Golang, series này mình sẽ cùng các bạn học Kubernetes 1.37: từ chạy cụm trên máy cá nhân với kind tới một cụm k3s thật trên VPS, vừa học vừa triển khai TaskFlow API.
Sau series Docker và Golang, series này mình sẽ cùng các bạn học Kubernetes 1.37: từ chạy cụm trên máy cá nhân với kind tới một cụm k3s thật trên VPS, vừa học vừa triển khai TaskFlow API.
GitOps cho TaskFlow với Argo CD: Application tự sync, prune, selfHeal, migration thành hook với sync wave, Secret ngoài Git,...
Cài cụm k3s server + agent trên VPS, kubeconfig từ xa, Traefik có sẵn với Gateway API, HTTPS bằng cert-manager...
Monitoring TaskFlow trên Kubernetes với kube-prometheus-stack: ServiceMonitor cho /metrics, NetworkPolicy cho Prometheus, PromQL, dashboard Grafana từ ConfigMap và alert bằng...
Debug ứng dụng trên Kubernetes: quy trình get, describe, events, logs, tái hiện ImagePullBackOff, CrashLoopBackOff, Pending, OOMKilled, lỗi Service, NetworkPolicy...
Bảo mật Pod trong Kubernetes: securityContext chạy nonroot, bỏ capability, filesystem chỉ đọc, Pod Security Admission mức restricted và NetworkPolicy...
Phân quyền trong Kubernetes với Role, ClusterRole và binding: token ServiceAccount trong Pod, kubectl auth can-i, tạo user chỉ đọc...
Điều khiển scheduler đặt Pod lên node nào bằng nodeSelector, affinity, topologySpreadConstraints, taint và toleration; drain node an toàn với...
Cài metrics-server, xem CPU bằng kubectl top và dùng HorizontalPodAutoscaler để taskflow-api tự tăng giảm Pod theo CPU: requests, giới...
Tự viết Helm chart cho TaskFlow: values, template, helper, label và selector, ghép DATABASE_URL từ một mật khẩu, Job migration...
Helm là trình quản lý package của Kubernetes. Tìm hiểu chart, release, values, Helm 4, cài chart từ repo và...