Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make minimal modifications to make dual-stack-negs work with self-managed controller #2125

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/deploy/gke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,17 @@ issue.
If you have issues with the controller after the script execution and you do not
know what it causing it, invoke the script in its cleanup mode. The is a quick
and simple way of going back to how everything was before.

## Script stuck on "Waiting for old GLBC service and pod to be removed..."

This is usually the case when turning off HTTPLoadBalancing in the cluster does
not delete the resources for the default-http-backend. This can be easily
resolved by manually deleting them:

```
# Delete the service for the default-http-backend.
kubectl delete svc -n kube-system default-http-backend

# Delete the deployment for the default-http-backend.
kubectl delete deploy -n kube-system l7-default-backend
```
2 changes: 1 addition & 1 deletion docs/deploy/resources/glbc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
- --gce-ratelimit=ga.HealthChecks.Get,qps,1.8,1
- --gce-ratelimit=alpha.HealthChecks.Get,qps,1.8,1
- --enable-frontend-config
- --enable-endpoint-slices
- --enable-dual-stack-neg
volumes:
- name: google-cloud-key
secret:
Expand Down
6 changes: 6 additions & 0 deletions docs/deploy/resources/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ rules:
- apiGroups: ["networking.k8s.io"]
resources: ["ingressclasses"]
verbs: ["get", "list", "watch", "update", "create", "patch"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["*"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down