2023-06-22 12:53:44 +10:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: minikube-dashboard-ingress
|
|
|
|
namespace: kubernetes-dashboard
|
|
|
|
annotations:
|
2023-06-22 13:01:43 +10:00
|
|
|
#nginx.ingress.kubernetes.io/rewrite-target: /$1
|
2023-06-22 13:02:55 +10:00
|
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
2023-06-22 12:59:08 +10:00
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "false"
|
2023-06-22 12:53:44 +10:00
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: minikube.vdk2ch.ru
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: kubernetes-dashboard
|
|
|
|
port:
|
2023-06-22 13:01:43 +10:00
|
|
|
number: 80
|
2023-06-22 13:02:55 +10:00
|
|
|
|