-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help request: etcd keeps failing #11674
Comments
use kubectl describe the pod and view the event‘s error? |
I was able to resolve it by deleting the pvc and creating and attaching a new pvc to it , i have one more doubt I have a service running in gke and for example the dns is www.xyz.com , i am using apisix gateway for it , my question is currently i am able to use only http://www.xyz.com but i want to use https , how can i do it , this is my ApisixRoute yaml apiVersion: apisix.apache.org/v2beta3
|
please can you help @wnz27 @indrekj @huacnlee @markokocic |
please can someone help me regarding this_ I was able to resolve it by deleting the pvc and creating and attaching a new pvc to it , i have one more doubt I have a service running in gke and for example the dns is www.xyz.com , i am using apisix gateway for it , my question is currently i am able to use only http://www.xyz.com/ but i want to use https , how can i do it , this is my ApisixRoute yaml apiVersion: apisix.apache.org/v2beta3 name: xyz |
My point is that the etcd error has nothing to do with the apisixroute resource definition. |
the https issue is resolved but my question still is why does my etcd keep going down @wnz27 , also the false alarm rings in etcd when usage reaches 30 % |
Hi @arjunradiant, any error logs? |
@Baoyuantop @wnz27 i am sharing etcd logs {"level":"info","ts":"2025-01-13T12:56:14.447987Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"39e3f227d2d33a6d [logterm: 63, index: 2008533] sent MsgPreVote request to 3e8d9a4c0aedfad at term 63"} |
this is my apisix logs 025/01/13 13:04:31 [error] 51#51: *13355164 [lua] config_etcd.lua:193: watchdir err: has no healthy etcd endpoint available, context: ngx.timer |
apisix check the etcd healthz not through. |
I noticed you are using etcd inside K8s as Pods. It's a known issue in etcd community and as far as I know, the only one stable solution is to deploy ETCD on a VM. Correct me if I'm wrong |
@juzhiyuan @wnz27 , the reason i deployed it on k8s is because its being connected to k8s services for the routes , if i deploy it in a vm can i connect the apisix to the k8s services and create routes ? and will the etcd issue be reolved because it keeps failing after sometime , I was in a thought that this may be due to the cpu and ram utilization in the etcd pods |
if etcd deploy on vm, first u guarantee the web and host can access, and then u run apisix must change the helm template's config. |
Yes. Deploying ETCD outside of K8s (e.g., on a VM) is much more stable than your current usage, even though it sounds "weird" I know a few open-source users who are using etcd within Kubernetes. Whenever the etcd pods crash, they run Another piece of information I can share is that since API7 Enterprise uses PostgreSQL instead of ETCD, the API7 Ingress Controller will not face the issues currently experienced by APISIX, and we plan to release the GA version in mid-May. |
Description
Hi I have installed etcd but only etcd-2 is up the others keep failing , how can I up the others aswell
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: