[Python] what mean if __name__==”__main__”:
Bài này thì giải thích về câu line code: Hiểu đơn giản là nếu bạn chạy trực tiếp file python thì biến __name__ sẽ có giá trị là __main__Bạn cần tham khảo video bên dưới.
[Teamcity] How does TeamCity login and pull/push images to the private Docker HUB
Bài viết hướng dẫn cấu hình teamcity để login, pull, push image mới private docker. 1) Create connection to integrate the private Docker HUB 1.1) root project 1.2) Child project Hoặc cấu hình trong các project con 2) Configure auto-login with Docker hub in Build configuration. 3) Demo build step and recheck result 4) Teamcity…
Read More “[Teamcity] How does TeamCity login and pull/push images to the private Docker HUB” »
[DevOpsSec] What tools does DevopsSec need to secure system/infrastructure
Sau nhiều năm phát triển thì devops thì hiện giờ thì trường đang cần 1 title mới đó là devops Security hay còn gọi là DevopSec.Về bản chất bạn sẽ sài tool để scan anything và ra xoát anything có CVE nào ko? Mình thấy được một repo có thể hữu ích. https://github.com/sottlmarek/DevSecOps Anh khảm…
Read More “[DevOpsSec] What tools does DevopsSec need to secure system/infrastructure” »
[Datree] Admission Controllers Or CLI? Kubernetes Policy Validations with Datree
[Elasticsearch] reason=Validation Failed: 1: this action would add [10] total shards, but this cluster currently has [1000]/[1000] maximum shards open;]]]
Nếu bạn bị lỗibut this cluster currently has [1000]/[1000] maximum shards open tham khảo link bên dướihttps://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html#_this_action_would_add_x_total_shards_but_this_cluster_currently_has_yz_maximum_shards_open