简体   繁体   中英

How to create multiple kubernetes cluster with curl -sS https://get.k8s.io | bash

I am running a 1.0.3 kubernetes cluster in AWS and used curl -sS https://get.k8s.io | bash to install it.

I would like to have another cluster to allow me to upgrade to a newer kubernetes version as described here .

When I try to install another cluster it gives an error.

A client error (InvalidIPAddress.InUse) occurred when calling the RunInstances operation: Address 172.20.0.9 is in use.

What's the process to create another cluster using the installation scripts?

Paul, Check out the following file: https://github.com/kubernetes/kubernetes/blob/master/cluster/aws/config-default.sh The second time, the defaults would need to be updated.

If your goal is to simply upgrade the Kubernetes components, have you tried https://github.com/kubernetes/kubernetes/blob/master/cluster/kube-push.sh ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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