Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LeHoangTruong-Finalterm #64

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

descent1511
Copy link

@descent1511 descent1511 commented Jun 13, 2024

Bài tập cuối kỳ chương trình VDT 2024 lĩnh vực Cloud

Description

Dự án yêu cầu triển khai và quản lý một hệ thống Kubernetes hoàn chỉnh. Các nhiệm vụ bao gồm:

  1. Triển khai Kubernetes:

    • Thiết lập một cluster Kubernetes với một master node và một worker node bằng kubeadm.
  2. K8S Helm Chart:

    • Cài đặt ArgoCD và expose qua NodePort.
    • Viết Helm Chart cho web và API deployments.
    • Tạo config repositories cho web và API, sử dụng tính năng multiple sources của ArgoCD để triển khai các dịch vụ lên cluster Kubernetes.
  3. Continuous Delivery:

    • Xây dựng hai luồng CD cho các repositories web và API.
    • Khi có tag mới, build Docker image, push lên Docker Hub và cập nhật giá trị Image version trong file values.yaml.
    • Cấu hình ArgoCD tự động triển khai lại khi có sự thay đổi trong config repositories.
  4. Monitoring:

    • Expose metrics của các dịch vụ web và API.
    • Triển khai Prometheus bằng Prometheus Operator và expose qua NodePort.
    • Sử dụng Service Monitor để giám sát các deployments.
  5. Logging:

    • Sử dụng DaemonSet triển khai Fluentd hoặc Fluentbit để đẩy logs lên ElasticSearch.
  6. Security:

    • Thiết lập HAProxy Loadbalancer với mode TCP, expose các NodePorts của web và API deployments.
    • Sử dụng Ingress hoặc HAProxy sidecar container để đảm bảo truy cập HTTPS.
    • Self-signed certificates.
    • Bảo mật một số URL của API service với xác thực bằng cookie, basic auth hoặc token auth.
    • Ratelimit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant