You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/19 15:28:02 UTC

[GitHub] [apisix-ingress-controller] BFergerson commented on issue #1088: request help: DigitalOcean support

BFergerson commented on issue #1088:
URL: https://github.com/apache/apisix-ingress-controller/issues/1088#issuecomment-1159756099

   Thanks for the recommendation. I'm trying to follow [this guide](https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/practices/the-hard-way.md), but I'm running into this error:
   ```
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
   request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused
   ```
   
   All the previous steps work fine:
   ```sh
   b@b:~/Desktop/tester$ kind create cluster
   Creating cluster "kind" ...
    ✓ Ensuring node image (kindest/node:v1.24.0) đŸ–ŧ
    ✓ Preparing nodes đŸ“Ļ  
    ✓ Writing configuration 📜 
    ✓ Starting control-plane 🕹ī¸ 
    ✓ Installing CNI 🔌 
    ✓ Installing StorageClass 💾 
   Set kubectl context to "kind-kind"
   You can now use your cluster with:
   
   kubectl cluster-info --context kind-kind
   
   Not sure what to do next? 😅  Check out https://kind.sigs.k8s.io/docs/user/quick-start/
   b@b:~/Desktop/tester$ kubectl create ns apisix
   namespace/apisix created
   
   b@b:~/Desktop/tester$ kubectl apply -f config
   config2.yaml  config.yaml   
   
   b@b:~/Desktop/tester$ kubectl apply -f etcd.yaml 
   service/etcd-headless created
   statefulset.apps/etcd created
   
   b@b:~/Desktop/tester$ kubectl -n apisix exec -it etcd-0 -- etcdctl endpoint health
   127.0.0.1:2379 is healthy: successfully committed proposal: took = 3.743602ms
   
   b@b:~/Desktop/tester$ kubectl apply -f apisix.yaml 
   deployment.apps/apisix created
   
   b@b:~/Desktop/tester$ kubectl -n apisix create cm apisix-conf --from-file ./config.yaml
   configmap/apisix-conf created
   ```
   
   I see there is a note to ensure `etcd.host` matches the headless service. What command would I use to ensure that?


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