Skip to content

Commit e37d22e

Browse files
authored
Fixed a bug where shards could not resolve individual proxies. (#4188)
## Motivation An omission of the correct `Service` name in the `serviceName` definition of the proxy statefulset meant that proxy instances could not be uniquely resolved by ordinal. ## Proposal Update the `serviceName`. ## Test Plan Tested manually. ## Future Work As was suggested by @Twey, it might be better to not use ordinals, but instead do DNS lookups to resolve individual IP addresses and use those instead. Since individual proxy instances are undifferentiated, ordering is unimportant (unlike the current shard setup for example).
1 parent 393a086 commit e37d22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubernetes/linera-validator/templates/proxy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ kind: StatefulSet
3939
metadata:
4040
name: proxy
4141
spec:
42-
serviceName: "proxy"
42+
serviceName: "proxy-internal"
4343
selector:
4444
matchLabels:
4545
app: proxy

0 commit comments

Comments
 (0)