LoadBalancer option for common service
- Dominant language
- Go
- Stars
- 283
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
I have a setup on Google Kubernetes Engine where I deploy a cluster in each of three regions. To index data, I need access from outside the cluster, but all I need is an internal IP. I am using annotations that GKE provides for this but it requires being able to set `spec.Type: LoadBalancer` for the service.
```yaml
apiVersion: v1
kind: Service
metadata:
annotations:
cloud.google.com/neg: '{"ingress":true}'
networking.gke.io/internal-load-balancer-allow-global-access: "true"
networking.gke.io/load-balancer-type: Internal
spec:
type: LoadBalancer
...
```
is there a way to set the type for the commonService
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the commonService generation path and inspect how its Service spec and annotations are currently exposed. Verify how a caller can request spec.type: LoadBalancer for the common service, then test that the resulting Service retains the GKE internal-load-balancer annotations and provides the requested internal access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, go, kubernetes
- Domain
- cloud, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100