Hiện tại phiên bản v0.13.x có 1 breakchange, but cũng rất dễ dàng setup. https://metallb.universe.tf/ Đây là các config mẫu.Bạn cần chọn ra 1 range IP cho loadbalancer.
Vừa qua mình gặp mội lỗi trên ingress nginx khi tạo ingress cho rancherkhi vào trong thì bị 404 và log trong ingress controller như dưới mình có đọc bài này:https://stackoverflow.com/questions/64946195/invalid-value-for-nginx-path
Tôi đang copy từ này này:https://www.oreilly.com/openbook/samba/book/ch05_05.html 5.5 Locks and Oplocks Concurrent writes to a single file are not desirable in any operating system. To prevent this, most operating systems use locks to guarantee that only one process can write to a file at a time. Operating systems traditionally lock entire files, although newer ones allow a range…
Helmify là một công cụ mã nguồn mở dùng để convert các file YAML thành chart Helm cho Kubernetes. Nó hỗ trợ việc quản lý các file YAML trong môi trường phân tán và automation trong quá trình setting up và phát triển. Helmify cũng cho phép anh em dễ dàng chỉnh sửa các file…
Mình đã hỏi chat GPT và nó chỉ mình như sau: 1. Monitor I/O Performance Using ‘iostat’ Command: The first and most straightforward way to check disk performance in Linux is to use the ‘iostat’ utility to monitor I/O performance. ‘iostat’ can be used to monitor the I/O statistics of both CPUs and storage devices…
1) Installing Sonarqube on Kubernetes To install the chart: Helm values: Nếu bạn cần tạo ingress cho Sonarqube. 2) Integrate GitHub Action with Sonarqube. 2.1) Create a Token on Sonarqube 2.2) Create a project on Sonarqube. 2.3) Set up GitHub Action. Nếu bạn chưa quen với github action thì có thể tham khảo:https://nimtechnology.com/2022/12/21/github-action-lets-use-github-action-to-build-and-push-the-docker-image-to-the-docker-hub/ tiếp đến…
Gần dây mình có tình viết 1 scheduler bằng Golang.và mình định sử dụng gopkg.in/robfig/cron.v3 khi đó thì bạn sẽ thấy là dụ sài vòng for nhưng kết quả điều giống nhau. Nhưng mình mong muốn là như thế này: Vậy fix sao: https://stackoverflow.com/questions/57095167/how-do-i-create-multiple-cron-function-by-looping-through-a-list Problem in your code is equivalent to the one described here:…
Khi các bạn sử dụng Auto Scaling của AWS thì bạn sẽ thấy có 1 cái tiện là hệ thống của bạn sẽ tự động tăng giảm số node để Nhưng với các môi trường dev và staging nếu developer đi ngủ và bạn cũng muốn cluster k8s của bạn đi ngủ thì làm như…
Lâu lâu coding lại golang thì gặp lỗi này. Mình chạy golang trên Goland. Mình sử dụng vòng for trong echo framework.thì kết quả trả về lúc nào cũng bị double. Run with elevated privileges. Bạn có thể lấy key Goland ở đây:https://3.jetbra.in/(Nếu bạn giàu thì mua key đi nè)