diff --git a/apps/base/llamactl-proxy/endpoint.yaml b/apps/base/llamactl-proxy/endpoint.yaml new file mode 100644 index 0000000..888f0de --- /dev/null +++ b/apps/base/llamactl-proxy/endpoint.yaml @@ -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 \ No newline at end of file diff --git a/apps/base/llamactl-proxy/kustomization.yaml b/apps/base/llamactl-proxy/kustomization.yaml index 146f3d4..ea52e78 100644 --- a/apps/base/llamactl-proxy/kustomization.yaml +++ b/apps/base/llamactl-proxy/kustomization.yaml @@ -4,4 +4,5 @@ namespace: llamactl resources: - namespace.yaml - - service.yaml \ No newline at end of file + - service.yaml + - endpoint.yaml \ No newline at end of file diff --git a/apps/base/llamactl-proxy/service.yaml b/apps/base/llamactl-proxy/service.yaml index 9803293..810334b 100644 --- a/apps/base/llamactl-proxy/service.yaml +++ b/apps/base/llamactl-proxy/service.yaml @@ -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 \ No newline at end of file + name: http + selector: {} \ No newline at end of file