16 lines
260 B
YAML
16 lines
260 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: model-service
|
||
|
namespace: birbnetes
|
||
|
labels:
|
||
|
app: model-service
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: model-service
|
||
|
port: 80
|
||
|
targetPort: 8000
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
app: model-service
|
||
|
type: ClusterIP
|