23 lines
430 B
YAML
23 lines
430 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ingress-test
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
namespace: default
|
|
spec:
|
|
rules:
|
|
- host: www.external.com
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: web-one
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: ImplementationSpecific
|
|
status:
|
|
loadBalancer: {}
|
|
|