如何将新的pod部署到kubernetes集群中的专用节点?

时间:2019-05-27 21:33:16

标签: amazon-web-services amazon-ec2 kubernetes kubernetes-pod aws-eks

我正在设计一个应用程序,其中用户提交文件,该文件将在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。而且,我无法理解如何从Cloudformation和EKS中添加或删除节点通过SDK。我目前正在使用eksctl。

0 个答案:

没有答案
相关问题