2019-03-14 14:56:06 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
selector:
|
2020-09-16 13:46:04 +00:00
|
|
|
app: traefiklabs
|
2019-03-14 14:56:06 +00:00
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-abc
|
2019-03-14 14:56:06 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
endpoints:
|
2019-03-14 14:56:06 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.1
|
|
|
|
- 10.10.0.2
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2019-03-14 14:56:06 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami2
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
selector:
|
2020-09-16 13:46:04 +00:00
|
|
|
app: traefiklabs
|
2019-03-14 14:56:06 +00:00
|
|
|
task: whoami2
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami2-abc
|
2019-03-14 14:56:06 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami2
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
endpoints:
|
2019-03-14 14:56:06 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.3
|
|
|
|
- 10.10.0.4
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2019-03-14 14:56:06 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoamitls
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
2020-01-23 15:36:08 +00:00
|
|
|
- name: websecure
|
2019-03-14 14:56:06 +00:00
|
|
|
port: 443
|
2019-08-14 16:58:04 +00:00
|
|
|
targetPort: 8443
|
2019-03-14 14:56:06 +00:00
|
|
|
selector:
|
2020-09-16 13:46:04 +00:00
|
|
|
app: traefiklabs
|
2019-03-14 14:56:06 +00:00
|
|
|
task: whoami2
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoamitls-abc
|
2019-03-14 14:56:06 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoamitls
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: websecure
|
|
|
|
port: 8443
|
|
|
|
endpoints:
|
2019-03-14 14:56:06 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.5
|
|
|
|
- 10.10.0.6
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2019-07-05 15:24:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami3
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
2020-01-23 15:36:08 +00:00
|
|
|
- name: websecure2
|
2019-07-05 15:24:04 +00:00
|
|
|
port: 8443
|
|
|
|
selector:
|
2020-09-16 13:46:04 +00:00
|
|
|
app: traefiklabs
|
2019-07-05 15:24:04 +00:00
|
|
|
task: whoami3
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2019-07-05 15:24:04 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami3-abc
|
2019-07-05 15:24:04 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami3
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: websecure2
|
|
|
|
port: 8443
|
|
|
|
endpoints:
|
2019-07-05 15:24:04 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.7
|
|
|
|
- 10.10.0.8
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-03-10 11:46:05 +00:00
|
|
|
|
2020-12-04 19:56:04 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-ipv6
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
selector:
|
|
|
|
app: traefiklabs
|
|
|
|
task: whoami-ipv6
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-04 19:56:04 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-ipv6-abc
|
2020-12-04 19:56:04 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-ipv6
|
|
|
|
|
|
|
|
addressType: IPv6
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
endpoints:
|
2020-12-04 19:56:04 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- "2001:db8:85a3:8d3:1319:8a2e:370:7348"
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-12-04 19:56:04 +00:00
|
|
|
|
2020-03-10 11:46:05 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: external-svc
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
externalName: external.domain
|
|
|
|
type: ExternalName
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: external-svc-with-http
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
externalName: external.domain
|
|
|
|
type: ExternalName
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: external-svc-with-https
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
externalName: external.domain
|
|
|
|
type: ExternalName
|
|
|
|
ports:
|
|
|
|
- name: https
|
|
|
|
protocol: TCP
|
|
|
|
port: 443
|
|
|
|
|
2020-12-04 19:56:04 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: external-svc-with-ipv6
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
externalName: "2001:db8:85a3:8d3:1319:8a2e:370:7347"
|
|
|
|
type: ExternalName
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
protocol: TCP
|
|
|
|
port: 8080
|
2020-12-10 13:58:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-svc
|
|
|
|
namespace: cross-ns
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
selector:
|
|
|
|
app: traefiklabs
|
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-10 13:58:04 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-svc-abc
|
2020-12-10 13:58:04 +00:00
|
|
|
namespace: cross-ns
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-svc
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
endpoints:
|
2020-12-10 13:58:04 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.1
|
|
|
|
- 10.10.0.2
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2022-03-07 10:08:07 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-without-endpointslice-endpoints
|
2022-03-07 10:08:07 +00:00
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: myapp
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
selector:
|
|
|
|
app: traefiklabs
|
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2022-03-07 10:08:07 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-without-endpointslice-endpoints-abc
|
2022-03-07 10:08:07 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-without-endpointslice-endpoints
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
endpoints: []
|
2023-03-20 15:46:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: native-svc
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
type: ClusterIP
|
|
|
|
clusterIP: 10.10.0.1
|
2024-02-27 09:54:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: nodeport-svc
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
nodePort: 32456
|
|
|
|
type: NodePort
|
|
|
|
clusterIP: 10.10.0.1
|