feat(agent-pod): expose agent-hub at api.riotpiao.com/console

Kong route to the agent-hub Service so agent-console can attach over
the existing gateway instead of kubectl port-forward.
This commit is contained in:
Story Crater Bot
2026-08-16 08:16:33 -07:00
parent 7f8e947958
commit fe24a206de
2 changed files with 22 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Exposes agent-hub at api.riotpiao.com/console.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: console
namespace: agent-pod
annotations:
konghq.com/strip-path: "false"
spec:
ingressClassName: kong
rules:
- host: api.riotpiao.com
http:
paths:
- path: /console
pathType: Prefix
backend:
service:
name: agent-hub
port:
number: 9090
+1
View File
@@ -7,3 +7,4 @@ resources:
- hub-configmap.yaml - hub-configmap.yaml
- agent-run-configmap.yaml - agent-run-configmap.yaml
- hub-service.yaml - hub-service.yaml
- console-ingress.yaml