EUGENIO SOUZA CARVALHO 4 yıl önce
ebeveyn
işleme
7eb8ab46ee

+ 2 - 0
kubedashboard/dashboard-adminuser.yaml

@@ -17,5 +17,7 @@ subjects:
   name: admin-user
   namespace: kubernetes-dashboard
 
+# run command to install kubernets dashboard
+# kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
 # run command to get a token authentication
 # kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user | awk '{print $1}')

+ 17 - 0
kubedashboard/ingress.yaml

@@ -0,0 +1,17 @@
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+  name: argoworkflow-server-ingress
+  annotations:
+    traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
+spec:
+  entryPoints:
+    - websecure
+  routes:
+    - match: Host(`kubernetes.monteasua.com.br`)
+      kind: Rule
+      services:
+        - name: service/kubernetes-dashboard
+          port: 443
+  tls:
+    secretName: monteasua-com-br-tls