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,220 points
809 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
• 52,350 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
• 7,060 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
9,372 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
• 59,230 points
1,212 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, 2020 in Kubernetes by MD
• 95,460 points
1,641 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
• 52,350 points
1,396 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
• 52,350 points
752 views
+1 vote
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
• 52,350 points
809 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP