Preloader
Skip to content
Integrating Google Cloud Logging with BKE

Integrating Google Cloud Logging with BKE

This article is published in Vietnamese.

Integrating Google Cloud Logging with BKE

Triển khai

1. Khởi tạo service account và cung cấp quyền cho log agent writer

Truy cập vào google cloud IAM và khởi tạo service account mới trên project mà muốn đẩy log

Tại mục Role của service account lựa chọn 2 role sau

  • Logging > Logs Writer. This authorizes the Logging agent to ingest logs.
  • Monitoring > Monitoring Metric Writer. This authorizes the Logging agent to ingest its own health metrics.

Sau khi khởi tạo xong thực hiện download tại mục key (nếu chưa có thì khởi tạo). Chọn kiểu JSON

Tích hợp Google Cloud Logging với BKE - Ảnh 1.

 

2. Tạo namespace logging

Tích hợp Google Cloud Logging với BKE - Ảnh 2.

 

 3. Tạo secret cho service account file (download từ GCP IAM) lên cụm k8s

Tích hợp Google Cloud Logging với BKE - Ảnh 3.

 

 4. Tạo Config map sử dụng YAML sau

Tích hợp Google Cloud Logging với BKE - Ảnh 4.

 

Tích hợp Google Cloud Logging với BKE - Ảnh 5.

 

Tích hợp Google Cloud Logging với BKE - Ảnh 6.

 

 Sử dụng kubectl

Tích hợp Google Cloud Logging với BKE - Ảnh 7.

 

 Tạo RBAC cho fluentbit

Tích hợp Google Cloud Logging với BKE - Ảnh 8.

 

 5. Tạo Daemonset Fluentbit

Sử dụng manifest sau

Tích hợp Google Cloud Logging với BKE - Ảnh 9.

 

Tích hợp Google Cloud Logging với BKE - Ảnh 10.

 

Tích hợp Google Cloud Logging với BKE - Ảnh 11.

 

 Kiểm tra dashboard Cloud Logging

Tích hợp Google Cloud Logging với BKE - Ảnh 12.
Share:
Phạm Thanh Long
Author

Phạm Thanh Long

Pho Tue SoftWare Solutions JSC là Nhà Cung cấp dịch Trung Tâm Dữ Liệu, Điện Toán Đám Mây Và Phát Triển Phần Mềm Hàng Đầu Việt Nam. Hệ Thống Data Center Đáp Ứng Mọi Nhu Cầu Với Kết Nối Internet Nhanh, Băng Thông Lớn, Uptime Lên Đến 99,99% Theo Tiêu Chuẩn TIER III-TIA 942.

Leave a comment

Your email address will not be published. Required fields are marked *

Trusted by more than 85,000 customers in Vietnam and worldwide

Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo
Customer logo

Technology partners we build with

Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo
Partner logo

Resources for building your digital infrastructure

Technical support

Start your deployment with a dedicated Pho Tue Software team.

Latest updates

Service announcements, in-depth analysis and ecosystem activity.

International certifications and security standards

Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard
Certification and standard

Member of regional and national internet registries

Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
Internet registry
We use cookies to improve your experience on this website. Privacy policy