Description
What version of Knative?
1.15.x
Expected Behavior
I have configured an knative service to have target-burst-capacity to 0, when I only add this annotation to the service and inturn to the revision things are working fine and I can see the endpoints of the service is pointing to the pods directly when an single traffic hits the knative service. When I combine the same annotations with other annotations things are not working as expected and the endpoints are still pointing to activation pods when request is hit the knative service
The service endpoints to point to the knative revisions pods when the target burst is reached
Actual Behavior
The endpoints are not getting updated when the target burst is reached if the annotations is used with some other annotations
Steps to Reproduce the Problem
Create an knative service with target burst annotation coupled with any other annotation In my case below is the one used
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: demo-svc
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/window: "60s"
autoscaling.knative.dev/target-burst-capacity: "0"
spec:
containers:
- env:
- name: TARGET
value: World
image: ghcr.io/knative/helloworld-go:latest
name: user-container
ports:
- containerPort: 8080
protocol: TCP
Hit the service to check if the endpoints are getting updated kubectl get endpoints demo-svc-00001 -o yaml