How Kubernetes picks which pods to delete during scale-in

Source: https://rpadovani.com/k8s-algorithm-pick-pod-scale-in

Have you ever wondered how K8s choose which pods to delete when a deployment is scaled down? Given it is not documented, I dived in the source code to learn.

Facebook và một loạt website của các bigtech down!

Mạng xã hội Facebook và một loạt các website lớn như Youtube, Google Play, Instagram... đồng loạt gặp lỗi vào khoảng 10h17 PM 05/03/2024 (UTC+7), với Facebook người dùng bị log-out khỏi ứng dụng hoặc lỗi 500 trên trang chủ.

ảnh chụp post của 1 người dùng trên X

Hometube

View Youtube with my style :)

Github is Down! (04/11/2023 UTC+7)

What Are Context Managers in Python?

What is a Context Manager in Python?

According to the Python glossary, a context manager is —

An object which controls the environment seen in a with statement by defining enter() and exit() methods.

[GitHub] Awesome-Selfhosted

Self-hosting is the practice of hosting and managing applications on your own server(s) instead of consuming from SaaSS providers.

Find this list here: https://github.com/awesome-selfhosted/awesome-selfhosted

Quy tắc sao lưu (backup) dữ liệu 3-2-1

Quy tắc sao lưu (backup) 3-2-1 đề cập đến cách tiếp cận đã được thử nghiệm, kiểm chứng để sao lưu dữ liệu hiệu quả, an toàn hơn, cụ thẻ:

  • Lưu giữ ít nhất ba (3) bản sao dữ liệu
  • Lưu trữ hai (2) bản sao lưu trên các phương tiện lưu trữ khác nhau
  • Lưu trữ một (1) bản sao lưu ngoại vi (ví dụ: cloud)