You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "hansedong (via GitHub)" <gi...@apache.org> on 2023/04/19 04:05:36 UTC

[GitHub] [apisix] hansedong commented on issue #9336: bug: error_log report error in the way apisix connected to etcd using gRPC

hansedong commented on issue #9336:
URL: https://github.com/apache/apisix/issues/9336#issuecomment-1514102359

   I will add some configuration related to Etcd in APISIX.
   
   ```
     etcd:
       host:                           # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
       - "https://10.72.8.66:2379"   # multiple etcd address, if your etcd cluster enables TLS, please use https scheme,
       - "https://10.72.8.67:2379"   # e.g. https://127.0.0.1:2379.
       - "https://10.72.8.68:2379"
   
       prefix: /apisix                 # configuration prefix in etcd
       use_grpc: true                  # enable the experimental configuration sync via gRPC
       timeout: 7200                     # 30 seconds. Use a much higher timeout (like an hour) if the `use_grpc` is true.
       #resync_delay: 5                # when sync failed and a rest is needed, resync after the configured seconds plus 50% random jitter
       #health_check_timeout: 10       # etcd retry the unhealthy nodes after the configured seconds
       startup_retry: 2                # the number of retry to etcd during the startup, default to 2
       #user: root                     # root username for etcd
       #password: 5tHkHhYkjr6cQY       # root password for etcd
       tls:
         # To enable etcd client certificate you need to build APISIX-Base, see
         # https://apisix.apache.org/docs/apisix/FAQ#how-do-i-build-the-apisix-base-environment
         cert: /etc/etcd/etcdSSL/apisix.pem    # path of certificate used by the etcd client
         key: /etc/etcd/etcdSSL/apisix-key.pem     # path of key used by the etcd client
         verify: true                  # whether to verify the etcd endpoint certificate when setup a TLS connection to etcd,
                                       # the default value is true, e.g. the certificate will be verified strictly.
         sni: etcdservervip-dev.xxx.com                        # the SNI for etcd TLS requests. If missed, the host part of the URL will be used.
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org