amazon-web-services - 如何将新 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。
解决方案
推荐阅读
- dart - 尝试初始化 StreamSubscription 时应用程序崩溃
- echarts - Echarts:为所有系列设置默认选项
- jquery - 如果 html == 0 和 html == 2 jquery ajax php 是什么意思
- codeigniter - 如何为多语言更改 codeigniter 中的标准 URL?
- xml - XSLT 2.0:复制和修改分支,但保持源代码处于原始状态
- html - 连续3个项目,但中间应包含多个div并居中
- android - 如何使用 Android 有条件地启动 Opencv 实时图像处理?
- html - 无法修复左侧边栏
- vb.net - 大幅增加数组的大小
- r - 如何用 R 打开一个 .int 文件?