dxq6888 commented on issue #12479:
URL: https://github.com/apache/apisix/issues/12479#issuecomment-3150834390

   > Hi [@dxq6888](https://github.com/dxq6888), can you share the configuration 
you use in production to highlight the above problem? You can replace some 
characters to ensure safety, we are mainly concerned about the format.
   
   @Baoyuantop 
   
   Here is my configuration file, but the host and token have been replaced
   
   ```
   cat config.yaml
   apisix:
     node_listen: 9080
     enable_ipv6: false
   
     enable_control: true
     control:
       ip: "0.0.0.0"
       port: 9092
   
   #nginx_config:
   #  error_log_level: debug
   
   discovery:
     kubernetes:
       - id: aliyun-gz-ack-game
         service:
           schema: "https"
           host: "aliyun-gz-ack-game-domain"
           port: "443"
         client:
           token: aliyun-gz-ack-game-token
         shared_size: 10m
         watch_endpoint_slices: true
       - id: tencet-bj-tke-shopping
         service:
           schema: "https"
           host: " tencet-bj-tke-shopping-domain"
           port: "443"
         client:
           token: tencet-bj-tke-shopping-token
         shared_size: 50m
       - id: aws-sgp-eks-order
         service:
           schema: "https"
           host: "aws-sgp-eks-order-domain"
           port: "443"
         client:
           token: aws-sgp-eks-order-token 
         shared_size: 5m
   
   deployment:
     admin:
       allow_admin:
         - 0.0.0.0/0
   
       admin_key:
         - name: "admin"
           key: edd1c9f034335f136f87ad84b625c8f1
           role: admin
   
         - name: "viewer"
           key: 4054f7cf07e344346cd3f287985e76a2
           role: viewer
   
     etcd:
       host:
         - "http://etcd:2379";
       prefix: "/apisix"
       timeout: 30
   
   plugin_attr:
     prometheus:
       export_addr:
         ip: "0.0.0.0"
         port: 9091
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to