简体   繁体   English

仅在AWS EC2实例上运行Kubernetes

[英]Run Kubernetes on AWS EC2 Instance only

I wanted to use kubernetes on AWS EC2 , i have created EC2 instance and following this link1 link2 , but it will create master and minion node as new EC2 instance. 我想在AWS EC2上使用kubernetes ,我创建了EC2实例并遵循此link1 link2 ,但是它将创建master和minion节点作为新的EC2实例。 In this case there will be more then 3 EC2 instance will be there. 在这种情况下,将有3个以上的EC2实例。

I am using aws free tier, as per that i can use only one instance for a month, if multiple instance get created then i will get charged. 我正在使用aws免费套餐,因为我只能使用一个实例一个月,如果创建了多个实例,那么我将被收取费用。

How can i manager kubernetes on run on same EC2 instance which i created to setup kubernetes . 我怎么能经理kubernetes上相同的运行EC2我创建的安装实例kubernetes

I am using my application for just development, not for production. 我将我的应用程序仅用于开发,而不用于生产。 So now i have to play with aws free tier only. 所以现在我只需要玩AWS免费套餐。

I am not sure if I understand your question correctly, but don't necessarily need minion instances, since the master also deploys pods (if you didn't explicity disabled them). 我不确定我是否正确理解了您的问题,但不一定需要奴才实例,因为主人也部署了Pod(如果您未明确禁用它们)。

This means skipping the minion part should work, respectively setting the master count to 1 and the worker count to 0 . 这意味着跳过小兵部分应该起作用,分别将主计数设置为1并将工作计数设置为0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM