apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.55k stars 2.52k forks source link

help request: etcd keeps failing #11674

Open arjunradiant opened 1 month ago

arjunradiant commented 1 month ago

Description

Hi I have installed etcd but only etcd-2 is up the others keep failing , how can I up the others aswell

image image image

Environment

wnz27 commented 1 month ago

use kubectl describe the pod and view the event‘s error?

arjunradiant commented 1 month ago

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 kind: ApisixRoute metadata: name: xyz-route spec: http:

arjunradiant commented 1 month ago

please can you help @wnz27 @indrekj @huacnlee @markokocic

arjunradiant commented 4 weeks ago

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 kind: ApisixRoute metadata: name: xyz-route spec: http:

name: xyz match: hosts: xyz.com paths: /xyz/ backends: serviceName: xyz servicePort: 80 plugins: name: proxy-rewrite enable: true config: regex_uri: ^/xyz/(.) "/$1" name: cors enable: true config: allow_origins: "" allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE" allow_headers: "" expose_headers: "" name: swagger-ui match: hosts: xyz.com paths: /xyz/swagger-ui/ backends: serviceName: xyz servicePort: 80 plugins: name: proxy-rewrite enable: true config: regex_uri: ^/swagger-ui/(.) "/$1" name: cors enable: true config: allow_origins: "" allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE" allow_headers: "" expose_headers: "" name: swagger-config match: hosts: xyz.com paths: /xyz/v3/ backends: serviceName: xyz servicePort: 80 plugins: name: proxy-rewrite enable: true config: regex_uri: ^(xyz/v3/.) "/$1" name: cors enable: true config: allow_origins: "" allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE" allow_headers: "" expose_headers: "" name: feeservice-wildcard match: hosts: xyz.com paths: "/-xyz/" backends: serviceName: xyz servicePort: 80 plugins: name: proxy-rewrite enable: true config: regex_uri: ^/(.) "/$1" name: cors enable: true config: allow_origins: "" allow_methods: "GET, POST, PUT, DELETE, PATCH, OPTIONS, MKCOL,COPY,MOVE,PROPFIND,PROPFIND,LOCK,UNLOCK,PATCH,TRACE" allow_headers: "" expose_headers: "*"