Kubernetes Deployment là gì? Một định nghĩa từ trang vmware A Kubernetes Deployment tells Kubernetes how to create or modify instances of the pods that hold a containerized application. Deployments can help to efficiently scale the number of replica pods, enable the rollout of updated code in a controlled manner, or roll back to an earlier deployment version if necessary. Kubernetes deployments are completed using kubectl, the command-line tool that can be installed on various platforms, including Linux, macOS, and Windows. Tại sao phải dùng deployment? Trong bài viết Kubernetes: Setup project ASP.NET core trên minikube - Day 4 , chúng ta đã xây dựng 1 kubernetes bao gồm 1 Pod và 1 NodePort. Pod là đơn vị nhỏ nhất của kubernetes, nhưng nó không có khả năng tự phục hồi khi bị lỗi hoặc bị xóa. Deployment cho phép bạn cập nhật, quay lại hoặc mở rộng các phiên bản ứng dụng một cách tự động. Ngoài ra, deployment trong kubernetes có tác dụng quản lý các replicaset và các pod để chạy các ứ...
Suy nghĩ, yêu thương và làm việc hết mình