minio / sidekick

High Performance HTTP Sidecar Load Balancer
GNU Affero General Public License v3.0
546 stars 82 forks source link

Does Sidekick support multi-replicas through deployment in K8S? #86

Closed Hintic closed 1 year ago

Hintic commented 1 year ago

I uploaded the official image to the local, deployed it through deployment in K8S, and the replicas was 4.

Expected Behavior

All sidekick pods can provide services normally, and output trace logs of health detection and application.

Current Behavior

Some container processes in sidekick pods(sometimes 2, sometimes 3, not fixed) only output listen: 9000 logs and get stuck,these processes handle some S3 requests to get objects and return empty.

Possible Solution

So, in the K8S, how to deploy multiple replicas of sidekick separately through deployment, or as a sidecar container? Or use statefulset for that?

Your Environment

harshavardhana commented 1 year ago

Yes you can create a single cluster IP with multiple sidekick instances.

Sidekick is designed to run as a d Sidecar container to your application pod, so there is point running it centrally like nginx.

So use it accordingly.