cataglyphis opened a new issue, #2388:
URL: https://github.com/apache/apisix-ingress-controller/issues/2388
### Current Behavior
- k8s 1.33 do not support `Endpoints`, user `EndpointSlice` instead
- enable apisix ingress config `watch_endpointslices: true`
- add custom route as below
```
apiVersion: v1
kind: Service
metadata:
name: automq
namespace: automq
spec:
type: ClusterIP
clusterIP: None
ports:
- name: http
port: 8080
---
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: automq
labels:
kubernetes.io/service-name: automq
addressType: IPv4
ports:
- name: http
port: 8080
endpoints:
- addresses:
- 10.180.4.62
conditions:
ready: true
---
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: automq
namespace: automq
spec:
http:
- name: automq-http
match:
hosts:
- automq-nl.bambu-lab.com
paths:
- /*
websocket: false
backends:
- serviceName: automq
servicePort: 8080
timeout:
connect: 10s
send: 10s
read: 10s
```
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
你
### Environment
- APISIX Ingress controller version (run `apisix-ingress-controller version
--long`)
- Kubernetes cluster version (run `kubectl version`)
- OS version if running APISIX Ingress controller in a bare-metal
environment (run `uname -a`)
--
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]