aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/ingress_sample.yaml
blob: 534dcb8c4c10eae48416252807665dc92808ffe5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: hoarder-web-ingress
  namespace: hoarder
spec:
  rules:
  - host: "hoarder.example.com"
    http:
      paths:
      - path: "/"
        pathType: Prefix
        backend:
          service:
            name: "web"
            port:
              number: 3000