Skip to content

Why does vs not take effect after I set waypoint label on helloworld service #54496

Open
@yanglan-ly

Description

Is this the right place to submit this?

  • This is not a security vulnerability or a crashing bug
  • This is not a question about how to use Istio

Bug Description

I've set the label "istio. io/dataplane-mode=ambient" for the sample namseapce, "istio. io/use-waypoint=hello-svc-waypoint" for the helloworld service. and the label for hello-svc-waypoint is "istio.io/waypoint-for: all". but the virtualService and destinationRule for helloworld are not working when I curl "helloworld:5000/hello" in sleep pod . Is there any problem with my settings?

image
image

virtualservice config is:

spec:
    hosts:
    - helloworld
    http:
    - name: default
      route:
      - destination:
          host: helloworld
          subset: v2
        weight: 100
      - destination:
          host: helloworld
          subset: v1

destinationRule config is :

spec:
  host: helloworld
  subsets:
  - labels:
      version: v2
    name: v2
  - labels:
      version: v1
    name: v1

Version

# istioctl version
client version: 1.24.1
control plane version: 1.24.1
data plane version: 1.17.0 (1 proxies), 1.24.1 (8 proxies)
# kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.10", GitCommit:"5c1d2d4295f9b4eb12bfbf6429fdf989f2ca8a02", GitTreeState:"clean", BuildDate:"2023-01-18T19:15:31Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"28", GitVersion:"v1.28.13", GitCommit:"024ab2a13ff700705efd3ab63a0e27c38c462070", GitTreeState:"clean", BuildDate:"2024-08-14T19:44:20Z", GoVersion:"go1.22.5", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.24) and server (1.28) exceeds the supported minor version skew of +/-1

Additional Information

No response

Metadata

Assignees

No one assigned

    Labels

    area/ambientIssues related to ambient mesh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions