Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic_resources not work under windows 10 ? #28923

Closed
dannyxu2015 opened this issue Aug 9, 2023 · 4 comments
Closed

dynamic_resources not work under windows 10 ? #28923

dannyxu2015 opened this issue Aug 9, 2023 · 4 comments
Labels
bug triage Issue requires triage

Comments

@dannyxu2015
Copy link

Title: dynamic_resources seems not work under windows 10

Description:
Environment:
Windows 10 virtual host
envoy version 1.24.0

After start envoy, I've tried to modify the lds.yaml(change listening port) or cds.yaml(change upstream service), both not worked. I've tried it under Mac pro, the change worked immediately.(I use curl to check it).
By searching closing issue, #23433 , create a new config file and replace the config file also not work.
Any ideas? Thanks in advance,

Danny

Following is my config files:

envoy.yaml:

node:
  id: id_1
  cluster: test

dynamic_resources:
  cds_config:
    path_config_source:
      path: ./cds.yaml
  lds_config:
    path_config_source:
      path: ./lds.yaml

cds.yaml: (change the port value)

resources:
- "@type": [type.googleapis.com/envoy.config.cluster.v3.Cluster](http://type.googleapis.com/envoy.config.cluster.v3.Cluster)
  name: example_proxy_cluster
  type: STRICT_DNS
  load_assignment:
    cluster_name: example_proxy_cluster
    endpoints:
    - lb_endpoints:
      - endpoint:
          address:
            socket_address:
              address: 192.168.2.16
              port_value: 8080

lds.yaml: (change the port_value)

resources:
- "@type": [type.googleapis.com/envoy.config.listener.v3.Listener](http://type.googleapis.com/envoy.config.listener.v3.Listener)
  name: listener_0
  address:
    socket_address:
      address: 0.0.0.0
      port_value: 10000
  filter_chains:
  - filters:
      name: envoy.filters.network.http_connection_manager
      typed_config:
        "@type": [type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager](http://type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager)
        stat_prefix: ingress_http
        http_filters:
        - name: envoy.filters.http.router
          typed_config:
            "@type": [type.googleapis.com/envoy.extensions.filters.http.router.v3.Router](http://type.googleapis.com/envoy.extensions.filters.http.router.v3.Router)
        route_config:
          name: local_route
          virtual_hosts:
          - name: local_service
            domains:
            - "*"
            routes:
            - match:
                prefix: "/"
              route:
                cluster: example_proxy_cluster
@dannyxu2015 dannyxu2015 added bug triage Issue requires triage labels Aug 9, 2023
@phlax
Copy link
Member

phlax commented Aug 9, 2023

By searching closing issue, #23433 , create a new config file and replace the config file also not work.

hmm, that was what i was going to suggest - that the issue relates to how it picks up change

iirc it specifically has to be a mv

so following wont work

$ echo "$SOME_NEW_CONFIG" > ./cds.yaml
$ cp new.cds.yaml cds.yaml

@dannyxu2015
Copy link
Author

dannyxu2015 commented Aug 9, 2023

@phlax any luck to fix it, cause no 'mv' under windows...

@phlax
Copy link
Member

phlax commented Aug 9, 2023

im afraid i cant help with windows - we are likely dropping our windows support due to lack of maintenance (#28588)

@dannyxu2015
Copy link
Author

What a letdown!

@dannyxu2015 dannyxu2015 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issue requires triage
Projects
None yet
Development

No branches or pull requests

2 participants