[EKS] Checking your EKS cluster that is working efficiently.
Đầu tiên chúng ta follow theo documents: EKS Best Practices. Hoặc dụng toolhttps://github.com/aws-samples/hardeneks
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Đầu tiên chúng ta follow theo documents: EKS Best Practices. Hoặc dụng toolhttps://github.com/aws-samples/hardeneks
Mình đã viết nhiều bài về việc tạo PVC trên eks hay k8s 1) Install CSI Driver SMB Vậy nếu trong cluster k8s của bạn có cả linux và windows node thì phải làm sao?vâng chúng đó có 1 giải pháp đó là CSI Driver SMB https://github.com/kubernetes-csi/csi-driver-smbhttps://www.phillipsj.net/posts/how-to-use-the-windows-csi-proxy-and-csi-smb-driver-for-kubernetes/ Đầu tiên bạn cần cài đặt CSI Driver…
Read More “[csi-driver-smb] Providing PVC with type ReadWriteMany base on SMB” »
Just make sure cluster-autoscaler has permission to use the resource csidrivers you can edit the clusterrole – RBAC and add the access for storage.k8s.io Edit cluster role with this
Nếu bạn đã cấu hình pvc dựa trên efs và eksnhưng bạn thấy các pod của bạn không không mount được vào pvc Lỗi như dưới dây https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues/637#issuecomment-1049355766 Bạn cần kiểm tra Security Group đã allow cho subnet của EKS access vào đó chưa?
1) Introduce Why do we need to use EFS CSI Driver in EKS Cluster? AWS EFS Container Storage Interface (CSI) driver allows EKS clusters to manage the lifecycle of EFS File System in Kubernetes Needs big size Node Group for EFS CSI Controller to run 2) Install EKS cluster Bạn sẽ cần tạo EKS cluster…
Bạn có thể build VS Code trên server linux và access vào VS code thông qua website https://github.com/gitpod-io/openvscode-server Docker Deployment Helm chart Ngoài ra bạn có thể sử dụng helm chart do Nim has writen. Value mẫu
Rolling Update Ở chiến lược triển khai Rolling Update thì ta sẽ không bị downtime khi ta triển khai ứng dụng, nhưng lúc này thì ứng dụng của ta sẽ chạy hai phiên bản cùng một lúc trong thời gian triển khai Khi sử dụng RollingUpdate strategy, có 2 lựa chọn giúp chúng ta giúp…
Read More “[Kubernetes] Discovering the strategy deployment on K8s” »
Mình đang gặp 1 problem với go-git trong build docker. Mình gặp vấn đề này trên github.com/go-git/go-git/v5 v5.5.0 Lúc này bạn cần edit go-git về version github.com/go-git/go-git/v5 v5.4.2 bằng command: Edit version go package https://stackoverflow.com/questions/24855081/how-do-i-import-a-specific-version-of-a-package-using-go-get
Hiện tại mình cài đặt next cloud version 25.0.1 thì bị lỗi bên dưới. Bạn có thể fix nhanh lỗi trên bằng cách https://github.com/nextcloud/server/pull/34905/files hoặc chờ bản nâng cấp tiếp theo
https://media.datacumulus.com/aws-sap/AWS%20Certified%20Solutions%20Architect%20Professional%20Slides%20v3.1.1.pdf 1) IAM 1.1) What should you know by now Users: long-term credentialsGroupsRoles: short-term credentials, uses STS – EC2 Instance Roles: uses the EC2 metadata service. One role at a time per instance – Service Roles: API Gateway, CodeDeploy, etc… – Cross Account rolesPolicies – AWS Managed – Customer Manage – Inline PoliciesResource Based Policies…
Read More “[AWS] Solutions Architect Professional: Lesson 1 – Identity & Federation” »