Skip to content

help request: Apisix3 decoupled mode does not automatically refresh CP data without DP #9582

Description

@XW512

Description

I have set up the decoupled mode of Apisix3, but found that the DP node will not automatically refresh the modified data of the CP node. If I restart the DP node and the data can be synchronized to the DP node, is there a problem with my configuration

the DP config

apisix:
ssl:
ssl_trusted_certificate: /app/apisix-3.3.0/conf/cert/mtls_ca.crt
deployment:
role: data_plane
role_data_plane:
config_provider: control_plane
control_plane:
host:
- "https://gw-cp.intsit.local:9280"
timeout: 5
prefix: "/apisix"
admin:
admin_key:
- name: admin
key: 7b0d04aef23327824710da9ce10c55f0 # using fixed API token has security risk, please update it when you deploy to production environment
role: admin

this CP config

deployment:
role: control_plane
role_control_plane:
config_provider: etcd
conf_server:
listen: 0.0.0.0:9280
cert: /app/apisix-3.3.0/conf/cert/mtls_server.crt
cert_key: /app/apisix-3.3.0/conf/cert/mtls_server.key
admin:
admin_key:
- name: admin
key: 7b0d04aef23327824710da9ce10c55f0 # using fixed API token has security risk, please update it when you deploy to production environment
role: admin

Environment

  • APISIX version (run apisix version): 3.3.0
  • Operating system (run uname -a): centos8
  • OpenResty / Nginx version (run openresty -V or nginx -V): 1.19.9.1
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.9
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version): 3.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions