21 lines
353 B
YAML
21 lines
353 B
YAML
|
---
|
||
|
apiVersion: gateway.networking.k8s.io/v1beta1
|
||
|
kind: HTTPRoute
|
||
|
metadata:
|
||
|
name: http-kafka
|
||
|
namespace: kafka
|
||
|
spec:
|
||
|
hostnames:
|
||
|
- kafka.guaranteedstruggle.host
|
||
|
parentRefs:
|
||
|
- name: my-gateway
|
||
|
namespace: default
|
||
|
rules:
|
||
|
- matches:
|
||
|
- path:
|
||
|
type: PathPrefix
|
||
|
value: /
|
||
|
backendRefs:
|
||
|
- name: kafka
|
||
|
port: 9092
|