24 lines
300 B
YAML
24 lines
300 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service1
|
|
namespace: testing
|
|
|
|
spec:
|
|
ports:
|
|
- name: tchouk
|
|
port: 80
|
|
clusterIP: 10.0.0.1
|
|
|
|
---
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service1
|
|
namespace: toto
|
|
|
|
spec:
|
|
ports:
|
|
- name: tchouk
|
|
port: 80
|
|
clusterIP: 10.0.0.1
|