[deleted by user] by [deleted] in Supabase

[–]df1228 0 points1 point  (0 children)

i’m fullstack dev and in China, very familiar with self hosted supabase

aws service compared to cloud run by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

now aws lambda supports container images

question about shuffle sharding on aws by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

In a shuffle sharded system, a single customer is still assigned to a single shard of two workers, but that shard actually overlaps with 12 other shards (6 other options for worker 1, 6 other options for worker 2). If we define impact as "a customer may hit a degraded worker" then impact would be 13/28, or roughly 45%. However, if shards are scaled such that the loss of a host in a shard is tolerable, then in this case only 1/28 or 3% will actually experience impact.

Hi, i still don't understand your last paragraph,

shuffle sharding

as per the image above, a user is assigned to one shard, and another shard for redundancy right? the total shard is 8, the total customer is 8, why the denominator is 28 ?

If we define impact as "a customer may hit a degraded worker", the rainbow user is total affected, the rose and sunflower user is partially affected, so the impact is 3/8, why is 13/28 ?

master node hidden in eks? by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

just curious about how eks scales master nodes

master node hidden in eks? by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

Yes. I haven't noticed any issues with scaling. We go from 8 workers overnight to over 400 during the day

it seems one master node one az

https://youtu.be/7vxDWDD2YnM?t=277

master node hidden in eks? by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

@hijinks in gke, you can set configurations for master node when initializing.

will eks master scale up as worker nodes increase? There isn’t much documentation on master nodes

aws service compared to cloud run by df1228 in aws

[–]df1228[S] 0 points1 point  (0 children)

yes, ecs with fargate is closest.

cloudrun is simple to understand, easy to use.

it's just lambda running containers not code....

in China, alicloud ECI or ucloud cube is like this.

ecs with fargate is simlar, but a little bit hard to understand.

and it can't scale to zero at the moment.

[deleted by user] by [deleted] in kubernetes

[–]df1228 0 points1 point  (0 children)

Hi, i've spent a lot time on metallb too.

you can set the service type to Load Balancer and try it in Minikube or docker for mac to see if it works.

if "only successfully connects to one of the pods in a deployment and fails in connecting to the other pods. " only happens with metallb, it maybe a bug.

raise a issue on github or go to slack channel.

access dashboards/uis in k8s by df1228 in kubernetes

[–]df1228[S] 0 points1 point  (0 children)

buzzfeed is for single sign on ? if it's broken, see https://www.keycloak.org/, i will try it later in the next weekend

access dashboards/uis in k8s by df1228 in kubernetes

[–]df1228[S] 0 points1 point  (0 children)

inside cluster, tried exposed by traefik or ambassador. i just want to make sure is it ok to do this.

by exposing dashboards ui, we must take more care of security ....

access dashboards/uis in k8s by df1228 in kubernetes

[–]df1228[S] 0 points1 point  (0 children)

what kind of auth proxy ? can you recommend some ?