mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
fix glbc jobs
use latest stable version add permissions for endpointslices
This commit is contained in:
parent
a1048c840d
commit
962dbbba48
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user