traefik/pkg/provider/kubernetes/ingress/fixtures/Ingress-with-one-host-without-path.yml

51 lines
755 B
YAML
Raw Normal View History

kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: ""
namespace: testing
spec:
rules:
- host: example.com
http:
paths:
- backend:
service:
name: example-com
port:
number: 80
pathType: Prefix
---
kind: Service
apiVersion: v1
metadata:
name: example-com
namespace: testing
spec:
ports:
- name: http
port: 80
clusterIP: 10.0.0.1
type: ClusterIP
---
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: example-com-abc
namespace: testing
2024-06-21 12:56:03 +00:00
labels:
kubernetes.io/service-name: example-com
2024-06-21 12:56:03 +00:00
addressType: IPv4
ports:
- name: http
port: 80
endpoints:
- addresses:
2024-06-21 12:56:03 +00:00
- 10.11.0.1
conditions:
ready: true