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,200 points
65 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
• 51,890 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,970 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, 2019 in Kubernetes by Kashish
3,549 views
0 votes
1 answer

How to build a high availability cluster in Kubernetes?

Add nodes in a HA cluster in ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 55,300 points
434 views
0 votes
1 answer

How to create one PVC in Kubernetes Cluster?

Hi@akhtar, In Kubernetes, no command is available to ...READ MORE

answered Jul 6 in Kubernetes by MD
• 41,020 points
54 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
• 51,890 points
132 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
• 51,890 points
115 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
• 51,890 points
202 views