2020-12-15 15:40:05 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
2024-10-02 08:34:04 +00:00
|
|
|
clusterIP: 10.10.10.1
|
2020-12-15 15:40:05 +00:00
|
|
|
ports:
|
|
|
|
- name: web2
|
2024-09-09 08:08:08 +00:00
|
|
|
protocol: TCP
|
2020-12-15 15:40:05 +00:00
|
|
|
port: 8000
|
|
|
|
targetPort: web2
|
|
|
|
- name: web
|
2024-09-09 08:08:08 +00:00
|
|
|
protocol: TCP
|
2020-12-15 15:40:05 +00:00
|
|
|
port: 80
|
|
|
|
targetPort: web
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-15 15:40:05 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-abc
|
2020-12-15 15:40:05 +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
|
|
|
|
- name: web2
|
|
|
|
port: 8080
|
|
|
|
endpoints:
|
2020-12-15 15:40:05 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.1
|
|
|
|
- 10.10.0.2
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-12-15 15:40:05 +00:00
|
|
|
|
2021-10-04 13:46:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-bar
|
|
|
|
namespace: bar
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web2
|
2024-09-09 08:08:08 +00:00
|
|
|
protocol: TCP
|
2021-10-04 13:46:08 +00:00
|
|
|
port: 8000
|
|
|
|
targetPort: web2
|
|
|
|
- name: web
|
2024-09-09 08:08:08 +00:00
|
|
|
protocol: TCP
|
2021-10-04 13:46:08 +00:00
|
|
|
port: 80
|
|
|
|
targetPort: web
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2021-10-04 13:46:08 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami-bar-abc
|
2021-10-04 13:46:08 +00:00
|
|
|
namespace: bar
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-bar
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
|
|
|
- name: web2
|
|
|
|
port: 8000
|
|
|
|
endpoints:
|
2021-10-04 13:46:08 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.11
|
|
|
|
- 10.10.0.12
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2021-10-04 13:46:08 +00:00
|
|
|
|
2020-12-15 15:40:05 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami2
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
2024-09-09 08:08:08 +00:00
|
|
|
protocol: TCP
|
2020-12-15 15:40:05 +00:00
|
|
|
port: 8080
|
|
|
|
targetPort: web
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami2
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-15 15:40:05 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami2-abc
|
2020-12-15 15:40:05 +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:
|
2020-12-15 15:40:05 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.3
|
|
|
|
- 10.10.0.4
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-12-15 15:40:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoamitls
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: websecure
|
|
|
|
port: 443
|
|
|
|
targetPort: websecure
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami2
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-15 15:40:05 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoamitls-abc
|
2020-12-15 15:40:05 +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:
|
2020-12-15 15:40:05 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.5
|
|
|
|
- 10.10.0.6
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-12-15 15:40:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami3
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: websecure2
|
|
|
|
port: 8443
|
|
|
|
targetPort: websecure2
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami3
|
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2020-12-15 15:40:05 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoami3-abc
|
2020-12-15 15:40:05 +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:
|
2020-12-15 15:40:05 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.7
|
|
|
|
- 10.10.0.8
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2020-12-15 15:40: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
|
2021-05-20 09:50:12 +00:00
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2021-05-20 09:50:12 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoamitcp-abc
|
2021-05-20 09:50:12 +00:00
|
|
|
namespace: default
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoamitcp
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: tcp-1
|
|
|
|
protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
- name: tcp-2
|
|
|
|
protocol: TCP
|
|
|
|
port: 10000
|
|
|
|
endpoints:
|
2021-05-20 09:50:12 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.9
|
|
|
|
- 10.10.0.10
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2021-05-20 09:50:12 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoamitcp
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
2024-10-02 08:34:04 +00:00
|
|
|
clusterIP: 10.10.10.1
|
2021-05-20 09:50:12 +00:00
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
name: tcp-1
|
|
|
|
- protocol: TCP
|
|
|
|
port: 10000
|
|
|
|
name: tcp-2
|
2021-10-04 13:46:08 +00:00
|
|
|
|
|
|
|
---
|
2024-06-21 12:56:03 +00:00
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
2021-10-04 13:46:08 +00:00
|
|
|
metadata:
|
2024-06-21 12:56:03 +00:00
|
|
|
name: whoamitcp-bar-abc
|
2021-10-04 13:46:08 +00:00
|
|
|
namespace: bar
|
2024-06-21 12:56:03 +00:00
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoamitcp-bar
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: tcp-1
|
|
|
|
protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
- name: tcp-2
|
|
|
|
protocol: TCP
|
|
|
|
port: 10000
|
|
|
|
endpoints:
|
2021-10-04 13:46:08 +00:00
|
|
|
- addresses:
|
2024-06-21 12:56:03 +00:00
|
|
|
- 10.10.0.13
|
|
|
|
- 10.10.0.14
|
|
|
|
conditions:
|
|
|
|
ready: true
|
2021-10-04 13:46:08 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoamitcp-bar
|
|
|
|
namespace: bar
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
name: tcp-1
|
|
|
|
- protocol: TCP
|
|
|
|
port: 10000
|
|
|
|
name: tcp-2
|
2024-04-10 07:34:07 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: status-address
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
status:
|
|
|
|
loadBalancer:
|
|
|
|
ingress:
|
|
|
|
- hostname: foo.bar
|
|
|
|
- ip: 1.2.3.4
|
2024-09-09 08:08:08 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: whoami-h2c
|
|
|
|
namespace: default
|
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-h2c
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: h2c
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
endpoints:
|
|
|
|
- addresses:
|
|
|
|
- 10.10.0.13
|
|
|
|
conditions:
|
|
|
|
ready: true
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-h2c
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 80
|
|
|
|
name: h2c
|
|
|
|
appProtocol: kubernetes.io/h2c
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: whoami-ws
|
|
|
|
namespace: default
|
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-ws
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: ws
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
endpoints:
|
|
|
|
- addresses:
|
|
|
|
- 10.10.0.14
|
|
|
|
conditions:
|
|
|
|
ready: true
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-ws
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 80
|
|
|
|
name: ws
|
|
|
|
appProtocol: kubernetes.io/ws
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: EndpointSlice
|
|
|
|
apiVersion: discovery.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: whoami-wss
|
|
|
|
namespace: default
|
|
|
|
labels:
|
|
|
|
kubernetes.io/service-name: whoami-wss
|
|
|
|
|
|
|
|
addressType: IPv4
|
|
|
|
ports:
|
|
|
|
- name: wss
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
endpoints:
|
|
|
|
- addresses:
|
|
|
|
- 10.10.0.15
|
|
|
|
conditions:
|
|
|
|
ready: true
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-wss
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 80
|
|
|
|
name: wss
|
|
|
|
appProtocol: kubernetes.io/wss
|
2024-10-02 08:34:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami-native
|
|
|
|
namespace: default
|
|
|
|
annotations:
|
|
|
|
traefik.io/service.nativelb: "true"
|
|
|
|
spec:
|
|
|
|
clusterIP: 10.10.10.1
|
|
|
|
ports:
|
|
|
|
- name: web2
|
|
|
|
protocol: TCP
|
|
|
|
port: 8000
|
|
|
|
targetPort: web2
|
|
|
|
- name: web
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
targetPort: web
|
|
|
|
selector:
|
|
|
|
app: containous
|
|
|
|
task: whoami
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoamitcp-native
|
|
|
|
namespace: default
|
|
|
|
annotations:
|
|
|
|
traefik.io/service.nativelb: "true"
|
|
|
|
|
|
|
|
spec:
|
|
|
|
clusterIP: 10.10.10.1
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
name: tcp-1
|
|
|
|
- protocol: TCP
|
|
|
|
port: 10000
|
|
|
|
name: tcp-2
|