How to move kubernetes cluster to another aws zone

0 votes
I've been working on kubernetes for quite some time now. I've been working in one zone and now i need to shift to another zone. Is that possible?
Oct 8, 2018 in Kubernetes by lina
• 8,100 points
23 views

2 answers to this question.

0 votes

Follow these steps:

  1. Create new cluster in the new zone
  2. Deploy apps to the new cluster
  3. Check everything is started successfully
  4. Redirect traffic to the new cluster via switching NAT/Load Balancer/DNS
  5. Shut down/Destroy old cluster
answered Oct 8, 2018 by Kalgi
• 37,320 points
0 votes

It can also be done in this manner:

  1. Stop all the K8S services.
  2. Move the EC2 instances to the target zones as mentioned here.
  3. Start the EC2 instances in the target zones.
answered Oct 8, 2018 by Nilesh
• 6,900 points

Related Questions In Kubernetes

0 votes
1 answer

How to start and stop a cluster on AWS using kops without stopping the instance

Export your KOPS_STAT_STORE variable export KOPS_STATE_STORE=s3://your-bucket-name Get your instances ...READ MORE

answered Jan 8 in Kubernetes by Kashish
432 views
0 votes
1 answer
0 votes
1 answer

How to use gravitational teleport in a container/kubernetes environment?

You can use teleport to augment kubernetes ...READ MORE

answered Jun 28, 2018 in Kubernetes by ajs3033
• 7,240 points
253 views
0 votes
1 answer

Unable to run Kubernetes on rancher cluster

switch Docker to 1.12.x; Kubernetes doesn't support ...READ MORE

answered Aug 28, 2018 in Kubernetes by Kalgi
• 37,320 points
103 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 37,320 points
48 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 37,320 points
43 views
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

Trying to create Kubernetes cluster inside existing vpc in aws

You can add this ENV variable  export VPC_ID=vpc-YOURID READ MORE

answered Oct 17, 2018 in Kubernetes by Kalgi
• 37,320 points
43 views