[Kubernetes] Kubernetes Scanner to find Security Vulnerability and Misconfiguration
Tạm thời note các tool để scan cluster k8shttps://geekflare.com/kubernetes-security-scanner/ Kube HunterKube BenchCheckovMKITKubeiKube ScanKubeauditKubesec Kubeeye https://www.kitploit.com/2022/11/kubeeye-tool-to-find-various-problems.html?fbclid=IwAR1oXWcLkiRt2-ntpp4L7OqvCeu6vVEBr7WQ6kdaA-hsAMhd5CLumSskr60
[Kubeshark] Monitoring and Viewing traffics on Kubernetes easily by Kubeshark
Một phần mền nội tiếng là wireshark thì trên k8s chúng ta có Kubeshark Kubeshark is an observability and monitoring tool for Kubernetes, enabling dynamic analysis of the microservices, detecting anomalies and triggering functions when certain patterns appear in runtime. 1) Install Kubeshark via helm chart Đâu tiên các bạn cần đăng nhập và lấy token:https://console.kubeshark.co/ Sau khi đã có token thì bạn…
Read More “[Kubeshark] Monitoring and Viewing traffics on Kubernetes easily by Kubeshark” »
[XAMPP] Error: MySQL shutdown unexpectedly
[AWS/ElastiCache] Configure Redis Cross-Region Replication or Global DataStore
Learn how to create cross-region replication between elasticache redis clusters –https://aws.amazon.com/elasticache/redis/global-datastore/
[Linux] The helpful command on Linux
Gen SSH key https://superuser.com/questions/1004254/how-can-i-change-the-directory-that-ssh-keygen-outputs-to Show top memory consumers in human-readable format
[AWS] View Windows AMIs that have faster launching enabled
You can use the describe-fast-launch-images command in the AWS CLI, or the Get-EC2FastLaunchImage Tools for Windows PowerShell cmdlet to get details for Windows AMIs that have faster launching enabled.
[Coding] 10 VScode extensions cho Cloud/DevOps Engineer
Nguồn: https://vntechies.dev/blog/cloud/10-vs-code-extensions-cho-cloud-engineers?fbclid=IwAR1JzP0h5jupf6ERbCpJ1V_0SNzTZVojIjYi3DvUFJ4MevTAAPV6-W-7KOY#%C4%91%E1%BB%81-c%E1%BB%AD-danh-d%E1%BB%B1 Với Cloud/DevOps engineer, viết code + scripting có thể là một trong những việc mà chúng ta cần phải làm thường xuyên. Với cá nhân mình thì VSCode là lựa chọn hàng đầu cho công việc hàng ngày vì sự tiện dụng của nó, cho dù thi thoảng vẫn sử dụng NeoVim cho…
Read More “[Coding] 10 VScode extensions cho Cloud/DevOps Engineer” »
[Terraform] How to create or public a module terraform on the public registry
1) Public a module terraform https://developer.hashicorp.com/terraform/registry/modules/publish#requirements Bạn cần tạo 1 repo github public nhé Cách đặt tên như sau:Named terraform-<PROVIDER>-<NAME>ví dụ như là: terraform-google-vault or terraform-aws-ec2-instance Mính đã tạo: https://github.com/mrnim94/terraform-aws-eks-ebs-csi Bạn cần tạo release để terraform sẽ thấy được tag của release đó Dưới đây là module của mìnhmrnim94/eks-ebs-csi/aws | Terraform Registry Trong 1 folder của terraform bình…
Read More “[Terraform] How to create or public a module terraform on the public registry” »
[AWS] Creat Persistent Volume on EKS via EBS.
1) Overview 2) Demo 2.1) Create EKS cluster Bạn sẽ cần tạo EKS clusterhttps://github.com/mrnim94/terraform-aws/tree/master/eks/AWS-EKS-Cluster-Basics 2.2) EBS-CSI and Install Kubernetes Storage Bược này chúng ta sẽ EBS CSI Đầu tiên chúng ta có file: c4-01-ebs-csi-datasources.tf Bạn có thể khám phá file này.https://raw.githubusercontent.com/kubernetes-sigs/aws-ebs-csi-driver/master/docs/example-iam-policy.json File trên là policy để add và ec2 tương tác với storage. Bước tiếp…