mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Add endpoint configuration and update service type to ClusterIP
This commit is contained in:
11
apps/base/llamactl-proxy/endpoint.yaml
Normal file
11
apps/base/llamactl-proxy/endpoint.yaml
Normal 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
|
||||||
@@ -4,4 +4,5 @@ namespace: llamactl
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
|
- endpoint.yaml
|
||||||
@@ -4,9 +4,9 @@ metadata:
|
|||||||
name: llamactl-proxy
|
name: llamactl-proxy
|
||||||
namespace: llamactl
|
namespace: llamactl
|
||||||
spec:
|
spec:
|
||||||
type: ExternalName
|
type: ClusterIP
|
||||||
externalName: ${LLAMACTL_INTERNAL_IP}
|
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: ${LLAMACTL_INTERNAL_PORT}
|
targetPort: ${LLAMACTL_INTERNAL_PORT}
|
||||||
name: http
|
name: http
|
||||||
|
selector: {}
|
||||||
Reference in New Issue
Block a user