16 lines
227 B
YAML
16 lines
227 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: foobar
|
||
|
labels:
|
||
|
component: camdetect
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
selector:
|
||
|
app: foobar
|
||
|
component: camdetect
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
port: 80
|
||
|
targetPort: 5000
|