mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
20 lines
374 B
YAML
20 lines
374 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: rocky
|
|
namespace: rocky-test
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: rocky.test.mybestdomain.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: web
|
|
port:
|
|
number: 80
|
|
|