26 lines
333 B
YAML
26 lines
333 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: example-com
|
|
namespace: testing
|
|
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
clusterIP: 10.0.0.1
|
|
type: ClusterIP
|
|
|
|
---
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: example-org
|
|
namespace: testing
|
|
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
clusterIP: 10.0.0.2
|
|
type: ClusterIP
|