wayilau commented on issue #2725: Add cluster-etcd-plugin URL: https://github.com/apache/skywalking/pull/2725#issuecomment-501627341 > > > > @wayilau In my check, it looks works not good. Please recheck and test before you submit new commit. :P > > > > > > > > > @JaredTan95 please tell me your test scense. & what is the problem is? I will follow your steps to check the problem. > > > > > > OK, > > 1、etcd: https://github.com/etcd-io/etcd/releases/tag/v3.3.13 > > 2、build docker image: `make docker.all` > > 3、start up 2 or 3 skywalking-oap instances with `docker-compose up --scale oap=2 `: > > ```yaml > > version: '3.3' > > services: > > elasticsearch: > > image: docker.elastic.co/elasticsearch/elasticsearch:6.4.3 > > container_name: elasticsearch > > restart: always > > ports: > > - 9200:9200 > > - 9300:9300 > > environment: > > discovery.type: single-node > > ulimits: > > memlock: > > soft: -1 > > hard: -1 > > oap: > > image: skywalking/oap > > container_name: oap > > depends_on: > > - elasticsearch > > links: > > - elasticsearch > > restart: always > > ports: > > - 11800:11800 > > - 12800:12800 > > environment: > > SW_CLUSTER: etcd > > SW_CLUSTER_ETCD_HOST_PORT: Your-etcd-host:2379 > > SW_STORAGE: elasticsearch > > SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200 > > ``` > > thanks, I will check this follow your steps. @JaredTan95 I have tests the cases on my local env. after i modify the key generates. It passed. you can test this again. i add my tests file. `version: '3.3' services: elasticsearch: image: elastic/elasticsearch:6.4.3 container_name: elasticsearch restart: always ports: - 9200:9200 - 9300:9300 environment: discovery.type: single-node ulimits: memlock: soft: -1 hard: -1 etcd: image: quayio/coreos-etcd:v3.2.3 container_name: etcd restart: always command: ["/usr/local/bin/etcd", "--advertise-client-urls=http://0.0.0.0:2379", "--listen-client-urls=http://0.0.0.0:2379"] ports: - 2379:2379 oap: image: skywalking/oap # container_name: oap depends_on: - elasticsearch links: - elasticsearch restart: always # ports: # - 11800:11800 # - 12800:12800 environment: SW_CLUSTER: etcd SW_CLUSTER_ETCD_HOST_PORT: etcd:2379 SW_STORAGE: elasticsearch SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200`
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
