We run a hands-on demo AWS EKS Logs with EC2 Data Plan Logging.
👉🏼 Video content file: https://gitlab.com/LianDuanTrainingGr...
👉🏼 YAML files: https://gitlab.com/LianDuanTrainingGr...
🧡 Subscribe to show your support! https://bit.ly/3hrhOmW
Video Related Commands:
🌕 Create an EKS cluster using Terraform:
terraform init
terraform apply
🌕 Create logging-demo namespace
kubectl apply -f namespace.yaml
🌕 Deploy an App: The app will generate logs without any input.
kubectl apply -f app/demo-app-config-dep.yaml
kubectl get svc log-generator-jmx-exporter-service -n logging-demo
🌕 Deploy Fluent Bit as DaemonSet: Kubernetes will keep one Fluent Bit running on each EC2 node.
kubectl apply -f fluent/fluent-bit.yaml
🌕 Links the Fluent Bit K8s service account to an IAM role, make user Fluent Bit are able to access EC2 node log.
aws iam get-role --role-name eks-demo-ec2-node-group-role-01
kubectl annotate serviceaccounts fluent-bit -n logging-demo "eks.amazonaws.com/role-arn={your RAN}:role/eks-demo-ec2-node-group-role-01"
🌕 Update Control Plane Log Group Retention
aws logs put-retention-policy --log-group-name /aws/eks/eks-demo-cluster-01/cluster --retention-in-days 7
🌕 Destroys all the resources provisioned by Terraform
terraform destroy
⏰ T I M E S T A M P S ⏰
00:00 Start
01:00 EKS EC2 Data Plan Logging Architecture
02:47 Why Use Log?
03:23 Reduce Logging Cost
04:02 Hands-on Demo Prerequisites
04:36 Overview Hands-on Demo
04:02 Hands-on Demo Prerequisites
04:02 Create DaemonSet Fluent Bit - IAM Policy
06:02 Create Fluent Bit DaemonSet
06:39 Hands-on Demo
12:00 Summary
------------------------------------------------------------------------------------
Easy Connect:
🏢 https://bit.ly/3tN3DeI
🐦 https://bit.ly/3LF2q1Z
Auf dieser Seite können Sie das Online-Video AWS EKS Logs | EC2 Data Plan Logging | AWS EKS Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Lian 18 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 60 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!