traefik/pkg/provider/kubernetes/crd/fixtures/with_services_only.yml

50 lines
705 B
YAML
Raw Normal View History

---
2024-06-21 12:56:03 +00:00
kind: EndpointSlice
apiVersion: discovery.k8s.io/v1
metadata:
2024-06-21 12:56:03 +00:00
name: whoami5-abc
namespace: default
2024-06-21 12:56:03 +00:00
labels:
kubernetes.io/service-name: whoami5
2024-06-21 12:56:03 +00:00
addressType: IPv4
ports:
- name: web
port: 8080
endpoints:
- addresses:
2024-06-21 12:56:03 +00:00
- 10.10.0.3
- 10.10.0.4
conditions:
ready: true
---
apiVersion: v1
kind: Service
metadata:
name: whoami5
namespace: default
spec:
ports:
- name: web
port: 8080
selector:
app: traefiklabs
task: whoami5
---
2023-03-20 14:38:08 +00:00
apiVersion: traefik.io/v1alpha1
kind: TraefikService
metadata:
name: wrr1
namespace: default
spec:
weighted:
services:
- name: whoami5
kind: Service
weight: 1
port: 8080