Gluttony-Cluster/text-ui/text-ui-service.yaml

20 lines
352 B
YAML
Raw Normal View History

2024-03-30 22:30:05 +00:00
apiVersion: v1
kind: Service
metadata:
name: text-generation-webui-service
namespace: text-gen-ns
spec:
type: LoadBalancer
ports:
- name: web
port: 7860
targetPort: 7860
- name: api
port: 5000
targetPort: 5000
- name: stream
port: 5005
targetPort: 5005
selector:
app: text-generation-webui