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

[I] help request: etcd 2379 is already in use by kubenetes,how can i change the etcd port using by apisix? [apisix]

Tridu33 opened a new issue, #10491:
URL: https://github.com/apache/apisix/issues/10491

   ### Description
   
   
   ```
   \apisix-docker\example>docker-compose -p docker-apisix up -d
   Error response from daemon: driver failed programming external connectivity on endpoint docker-apisix-etcd-1 (a110aa358d21cd9134cec10082b8aa694a79909bcf813df847e7fe2020692971): listen tcp4 0.0.0.0:2379: bind: address already in use
   ```
   
   can i use Apisix with my kubenetes  running?there a daemon "k8s_POD_etcd-docker-desktop_kube-system_a652e9966ea47b54b0275eed498b1cab_7" using the port 2379 which is conflicts.
   
   how can i change the etcd port using by ApiSix?
   
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):latest
   - Operating system (run `uname -a`):Windows Docker Desktop 24.0.2
   - using this file https://github.com/apache/apisix-docker/blob/master/example/docker-compose.yml following the guide in https://apisix.apache.org/zh/docs/apisix/installation-guide/
   


-- 
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.apache.org

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


Re: [I] help request: etcd 2379 is already in use by kubenetes,how can i change the etcd port using by apisix? [apisix]

Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #10491:
URL: https://github.com/apache/apisix/issues/10491#issuecomment-1811720326

   Change this config: https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L666
   
   Add the config to config.yaml


-- 
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


Re: [I] help request: etcd 2379 is already in use by kubenetes,how can i change the etcd port using by apisix? [apisix]

Posted by "Tridu33 (via GitHub)" <gi...@apache.org>.
Tridu33 closed issue #10491: help request: etcd 2379 is already in use by kubenetes,how can i change the etcd port using by apisix?
URL: https://github.com/apache/apisix/issues/10491


-- 
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


Re: [I] help request: etcd 2379 is already in use by kubenetes,how can i change the etcd port using by apisix? [apisix]

Posted by "Tridu33 (via GitHub)" <gi...@apache.org>.
Tridu33 commented on issue #10491:
URL: https://github.com/apache/apisix/issues/10491#issuecomment-1811764549

   nice, i change 
   ```
         ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2387" 
         ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2387"
       ports:
         - "2387:2387/tcp"
   ```
   in `docker-compose.yaml` and 
   ```
         - "http://etcd:2387"          # multiple etcd address
   ```
   in `./apisix_conf/config.yaml` it works.


-- 
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