40 lines
509 B
YAML
40 lines
509 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: stilton
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http
|
||
|
targetPort: 80
|
||
|
port: 80
|
||
|
selector:
|
||
|
app: cheese
|
||
|
task: stilton
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: cheddar
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http
|
||
|
targetPort: 80
|
||
|
port: 80
|
||
|
selector:
|
||
|
app: cheese
|
||
|
task: cheddar
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: wensleydale
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http
|
||
|
targetPort: 80
|
||
|
port: 80
|
||
|
selector:
|
||
|
app: cheese
|
||
|
task: wensleydale
|