简体   繁体   English

在AWS上运行多个Kubernetes集群

[英]Running multiple Kubernetes clusters on AWS

We're currently running a Kubernetes 1.0 cluster on AWS in production, and we'd like to spin up a second cluster to test out 1.1. 我们目前正在生产AWS上运行Kubernetes 1.0集群,我们想要启动第二个集群来测试1.1。 Based on the AWS helper functions , it looks like multiple clusters aren't supported, but I wanted to be sure. 基于AWS帮助程序功能 ,看起来不支持多个集群,但我想确定。 There's a doc that describes running multiple clusters, but it's fairly brief. 一个描述运行多个集群的文档 ,但它相当简短。

In general, we'd like to have a second cluster continuously running for testing purposes. 通常,我们希望第二个集群连续运行以进行测试。 It seems like this would be a fairly common need. 看起来这是一个相当普遍的需求。

You should be able to run a second cluster by setting INSTANCE_PREFIX before running kube-up . 通过在运行kube-up之前设置INSTANCE_PREFIX ,您应该能够运行第二个集群。 That variable in turn sets CLUSTER_ID which should parameterize everything in the cluster/aws/* scripts. 该变量反过来设置CLUSTER_ID ,它应该参数化cluster/aws/*脚本中的所有内容。

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

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