Add endpoint configuration and update service type to ClusterIP

This commit is contained in:
2025-07-31 21:32:40 +02:00
parent a5c12c9eb1
commit 4c25b064d0
3 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Endpoints
metadata:
name: llamactl-proxy
namespace: llamactl
subsets:
- addresses:
- ip: ${LLAMACTL_INTERNAL_IP}
ports:
- port: ${LLAMACTL_INTERNAL_PORT}
name: http

View File

@@ -4,4 +4,5 @@ namespace: llamactl
resources:
- namespace.yaml
- service.yaml
- service.yaml
- endpoint.yaml

View File

@@ -4,9 +4,9 @@ metadata:
name: llamactl-proxy
namespace: llamactl
spec:
type: ExternalName
externalName: ${LLAMACTL_INTERNAL_IP}
type: ClusterIP
ports:
- port: 80
targetPort: ${LLAMACTL_INTERNAL_PORT}
name: http
name: http
selector: {}