26 lines
391 B
YAML
26 lines
391 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service-bar
|
|
namespace: testing
|
|
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
clusterIP: "fc00:f853:ccd:e793::1"
|
|
type: ClusterIP
|
|
|
|
---
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service-foo
|
|
namespace: testing
|
|
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
type: ExternalName
|
|
externalName: "2001:0db8:3c4d:0015:0000:0000:1a2f:2a3b"
|