首页 > 解决方案 > 如何将新 pod 部署到 Kubernetes 集群中的专用节点?

问题描述

我正在设计一个用户提交文件的应用程序,该文件将在 pod 上进行处理,并将通过 rest api 调用返回详细信息。我一直在使用 AWS,并将为此使用 EKS。流程有点:

File Uploaded -> Added to Docker Container while build and pushed to registry -> Kube API will create a new node and run the pod in that node -> After scanning, return back the results to server using Auth Headers -> Drop node from cluster

我开始将 EKS 与 Cloudformation 一起使用,但必须提供硬编码的缩放值,但此应用程序的节点范围为 1 到 100。而且,我无法理解如何通过 SDK 从 Cloudformation 和 EKS 中添加或删除节点。我目前正在使用 eksctl。

标签: amazon-web-servicesamazon-ec2kuberneteskubernetes-podamazon-eks

解决方案


推荐阅读