k8s/manifests/04-routes/httproute-kafka.yaml
Simple_Not 5a1ed6c0c9
All checks were successful
continuous-integration/drone/push Build is passing
add kfk
2023-12-08 00:22:29 +10:00

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