Category: Kubernetes & Container
[Kubernetes] How to delete namespace is Terminating and very stubborn
[Longhorn] Store label with longhorn in order to create many storage classes and have many storage styles “SSD, HDD, fast, slow”
Hiện tại của k8s của mình có tổng cộng 6 node: 3 node HDD và 3 node SDD giờ mình thực hiện đánh label cho các node HDD Mình cũng đã hướng dẫn cái đặt longhorn: Hồi trước thì ý tưởng của mình là tạo cụm là worker storage k8s chạy ssd và khi mà…
[Istio] Change resource request and limit (RAM-CPU) for components of Istio
Alo như anh em đã biết khi mình cài istio bằng istio-operator Vậy khi anh em muốn change resource request hay limit thì cách:1) Chỉnh ở file operator rồi gen ra manifest2) Chỉnh ngày manifest istio 1) custom resource at file operator, after gen to manifest 1.1) sidecar inject (istio-proxy and istio-init) sau khi mình…
Read More “[Istio] Change resource request and limit (RAM-CPU) for components of Istio” »
[Nextcloud] Install and Upgrade new version for Nextcloud Docker.
1) Upgrade new version https://help.nextcloud.com/t/exit-maintanence-mode-in-docker/34434 Giờ thực hiện remove container và remove image cũ-> cách này có downtime chút. Bí quyết đây bạn lưu lại câu run docker lúc trước nhé, không là hơi khoai đây Khi completed thì chuyển maintenance thành false 2) các command hay sử dụng Sync data giữa các thư mục….
Read More “[Nextcloud] Install and Upgrade new version for Nextcloud Docker.” »
[Istio] OMG – Metric of an Istiod pod had 2 versions. Why???
1) The new version was deployed in place or overwritten on the old version Sau khi cầu hình monitor cho istiod thì phát hiện sao trong 1pod istiod lại có đến 2 version. Và hình như mà mình đã phát hiện ra điều j đó: 1.1) First – install istio version 1.9.8 Đầu tiên thực…
Read More “[Istio] OMG – Metric of an Istiod pod had 2 versions. Why???” »
[Istio] Research tracing in Istio
https://istio.io/latest/docs/tasks/observability/distributed-tracing/configurability/telemetry-api/#configuring-workload-specific-tracing-behavior Khi các bạn cài istio thì mặc định là tracing sẽ được enable giữa workload có inject istio-proxy và giữa ingress gateway với workload có inject istio-proxy 1. Disable Tracing 1.1 Disable tracing a particular workload by Telemetry Giờ bạn quay lại ui jaeger ko con thấy hiện thị tracing nữa. Bạn thấy kind…
[Istio] Explain MutatingWebhookConfiguration to auto-injected istio-proxy.
MutatingWebhookConfiguration with namespaceSelector Khi cái istio thì anh em sẽ biết là để auto inject sidecard Istio thì chúng ta cần add label cho namespace Mặc định sẽ là:kubectl label namespace default istio-injection=enabled Nếu anh em sài revision cho istio và muốn inject istio theo revisio thì:kubectl label namespace sample istio-injection- istio.io/rev=1-9-9 đôi khi là…
Read More “[Istio] Explain MutatingWebhookConfiguration to auto-injected istio-proxy.” »
[Istio] Security authentication và authorization with ISTIO
Như ở 1 bài viết mình đã có nhắc đến authentication và authorization cũng với test một vài feature istio trong bài viết bên dưới: Nếu bạn đang tò mò security của istio có j, thì chúng ta sẽ đi chi tiết. Security links: https://istio.io/latest/docs/reference/config/security/ 1) Authorization Policy Configuration for access control on workloads. The…
Read More “[Istio] Security authentication và authorization with ISTIO” »
[Udemy] Download khóa học Udemy giá rẻ chỉ với 50k/khóa
CAM KẾT: Đầy đủ Video + Sub.srt Nhận khóa học qua Google Drive 1) Download tất cả khoá học trên udemy Bước 1: Bạn tìm khoá học trên trang udemyBước 2: Command links khoá học và để lại gmailBước 3: Chuyển khoản 50K vào tài khoản momo với link bên dướihttps://nhantien.momo.vn/nimtechnology Hoặc quét QR MOMO…
Read More “[Udemy] Download khóa học Udemy giá rẻ chỉ với 50k/khóa” »