增加k8s dashboard 的ingress配置示例

pull/431/head
gjmzj 2018-12-25 20:00:07 +08:00
parent 2802892231
commit 0b009d27cc
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kube-system
annotations:
traefik.ingress.kubernetes.io/redirect-entry-point: https
spec:
rules:
- host: dashboard.test.com
http:
paths:
- path: /
backend:
serviceName: kubernetes-dashboard
servicePort: 443