mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
Provide two files (v1beta1 and v1) and a symlink pointing to v1beta1. There are many folks running older version of Kubernetes still; so I'm making v1beta1 the default, but I hope to be able to switch to v1 by end of year and remove the v1beta1 one. Closes #584
18 lines
336 B
YAML
18 lines
336 B
YAML
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: whatever
|
|
spec:
|
|
#tls:
|
|
#- secretName: whatever.A.B.C.D.nip.io
|
|
# hosts:
|
|
# - whatever.A.B.C.D.nip.io
|
|
rules:
|
|
- host: whatever.A.B.C.D.nip.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: whatever
|
|
servicePort: 1234
|