Dynamically create or delete kubernetes manifest

  Kiến thức lập trình

I want to leverage Amazon EKS to host a platform where users can deploy their containerized applications. Additionally, I plan to utilize an ALB for host-based routing, directing incoming requests to specific applications running on the platform. I cannot obtain container information (e.g., Docker image, hostname, etc.) until requests are accepted, so I cannot define Kubernetes manifest beforehand. In my view, I need to dynamically create or delete manifests corresponding to users’ requests, and then trigger Kubernetes deployments to update ALB, Route53, and EKS accordingly.
However, since the Kubernetes manifests are version-controlled on GitLab, modifying them dynamically may not adhere to best practices.
Are there any recommended best practices for implementing this platform?

enter image description here

LEAVE A COMMENT