mirror of https://github.com/sgoudham/k8s
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
469 B
YAML
23 lines
469 B
YAML
2 years ago
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: pastebin-ingress
|
||
|
name: pastebin-ingress
|
||
|
namespace: pastebin
|
||
|
spec:
|
||
|
ingressClassName: traefik
|
||
|
rules:
|
||
|
- host: paste.goudham.com
|
||
|
http:
|
||
|
paths:
|
||
|
- backend:
|
||
|
service:
|
||
|
name: pastebin-http
|
||
|
port:
|
||
|
number: 8080
|
||
|
path: /
|
||
|
pathType: Prefix
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- paste.goudham.com
|