fix glbc jobs

use latest stable version
add permissions for endpointslices
This commit is contained in:
Antonio Ojea 2022-11-11 16:23:17 +00:00
parent a1048c840d
commit 962dbbba48
2 changed files with 6 additions and 1 deletions

View File

@ -67,3 +67,7 @@ rules:
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get","create","update"]
# GLBC uses endpoint slices
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["get","list", "watch"]

View File

@ -15,7 +15,7 @@ spec:
terminationGracePeriodSeconds: 600
hostNetwork: true
containers:
- image: gcr.io/k8s-ingress-image-push/ingress-gce-glbc-amd64:v1.12.0
- image: gcr.io/k8s-ingress-image-push/ingress-gce-glbc-amd64:v1.20.1
livenessProbe:
httpGet:
path: /healthz
@ -56,6 +56,7 @@ spec:
- --running-in-cluster=false
- --config-file-path=/etc/gce.conf
- --healthz-port=8086
- --enable-endpoint-slices
- --gce-ratelimit=ga.Operations.Get,qps,10,100
- --gce-ratelimit=alpha.Operations.Get,qps,10,100
- --gce-ratelimit=beta.Operations.Get,qps,10,100