[Github-Action] Let’s use GitHub Action to build and push the docker image to the docker hub.
Hello các bạn!Hôm nay chúng ta sẽ cùng nhau sử dụng github action để build và push image to dockerhub.Mình thực hiện demo trên repo này: https://github.com/mrnim94/doctor-doom 1) Create Access Token on Docker hub Sau đó bạn tạo 1 repository trên dockerhub 2) Using Github Action Để github action có thể login vào docker hub,…
Wins from Effective Kafka Monitoring at Adobe: Stability, Performance, and Cost Savings
https://blog.developer.adobe.com/wins-from-effective-kafka-monitoring-at-adobe-stability-performance-and-cost-savings-a3ecb701ee5b Co-author: Eugen Nicolae Cojan As the father of quality management W. Edwards Deming, put it: “Without data, you are just another person with an opinion.” This post combines real-world issues faced by our team and our approach to addressing them. It also shares the key metrics to start monitoring Kafka client implementations effectively. Case studies…
[AWS] Solutions Architect Professional: Lesson 2 – Security
https://media.datacumulus.com/aws-sap/AWS%20Certified%20Solutions%20Architect%20Professional%20Slides%20v3.1.1.pdf 1) CloudTrail 1.1) AWS CloudTrail • Provides governance, compliance and audit for your AWS Account• CloudTrail is enabled by default!• Get a history of events / API calls made within your AWS Account by:• Console• SDK• CLI• AWS Services• Can put logs from CloudTrail into CloudWatch Logs or S3• A trail can be applied…
Read More “[AWS] Solutions Architect Professional: Lesson 2 – Security” »
[Oauth2-Proxy] Protect any of your websites on Kubernetes by Oauth2-Proxy
1) Oauth2-proxy integrates with Cognito 1.1) Configure Cognitor on AWS Sau khi tạo xong thì bạn cần chỉnh 1 số thứ. 1.1.update) New UI of cognitor. Hiện tại thì cognitor đang switch sang UI mới hoàn toàn thì chúng ta sẽ cần team ra các chỗ để edit Đây là chỗ domain mà để xác…
Read More “[Oauth2-Proxy] Protect any of your websites on Kubernetes by Oauth2-Proxy” »
[Windows] The helpful command on Powershell
Cài vim trên windows Download file Get Env on windows container: Open the CMD console on Windows core You can also press the following keys simultaneously to bring up the Task Manager – Ctrl + Shift + Esc Then, as xstnc said, File -> Run New Task -> cmd/powershell để switch sang powershell thì gõ powershellđể switch sang command line thì gõ…
[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
[csi-driver-smb] Providing PVC with type ReadWriteMany base on SMB
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” »
[eks] Kubernetes Cluster-AutoScaler error: Failed to watch *v1.CSIDriver
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
[EFS/EKS] Warning: config file does not have retry_nfs_mount_command item in section mount…
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?