amazon-archives / k8s-cloudwatch-adapter

An implementation of Kubernetes Custom Metrics API for Amazon CloudWatch
Apache License 2.0
158 stars 98 forks source link

Multiple Replicas? #28

Open pc-mreeves opened 4 years ago

pc-mreeves commented 4 years ago

Can this be deployed with > 1 replica or does this need to be a "singleton"?

If so, what do you suggest for attempting HA?

chankh commented 4 years ago

There shouldn't be a problem running multiple replicas. The adapters sit behind a k8s service which routes requests to each pod. I tried scaling my deployment to 2 pods and they seems to be running perfectly fine.