10000 Target burst annotation not working when used with other annotations · Issue #15817 · knative/serving · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Target burst annotation not working when used with other annotations #15817
Open
@Gokul-Rams

Description

@Gokul-Rams

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/needs-user-inputIssues which are waiting on a response from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0