gardun0 commented on issue #838:
URL:
https://github.com/apache/apisix-ingress-controller/issues/838#issuecomment-1016122695
> There are two problems here:
>
> 1. When checking the ApisixRoute resource version, I hope you can check
the version in YAML.
> 2. Why does deleting and re-creating your node cause the cluster IP of the
service to change? What is your CNI? Usually Service IP is an overlay network IP
1. If you mean the Kubernetes resource, there you have, this is the resource
created:
```yaml
apiVersion: apisix.apache.org/v2beta2
kind: ApisixRoute
metadata:
creationTimestamp: "2022-01-18T23:02:16Z"
generation: 2
name: service
namespace: namespace
resourceVersion: "36585833"
uid: 4f9a0aef-8129-4426-af43-99185eb0d3bc
spec:
http:
- authentication:
enable: true
keyAuth:
header: X-ApiKey
type: keyAuth
backends:
- resolveGranularity: service
serviceName: service
servicePort: 3000
match:
hosts:
- host
methods:
- GET
- POST
- HEAD
- OPTIONS
paths:
- /*
name: service
```
2. I was wrong about it, it's not changed, but for some reason APISIX
couldn't reach the upstream, for example this is the service IP `10.28.14.200`
and this is the one set by the Ingress Controller `10.24.1.9` which is endpoint
IP and `resolveGranularity` is set to `service`. My workload http services are
inside a service mesh (Kuma) and about the CNI it's managed by GKE
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]