imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
create a service for the traefik dashboard
2021-02-04, Gary Kramlich
ef56d0755a50
Parents
96c46aaed862
Children
6371c691b8e0
create a service for the traefik dashboard
1 files changed, 16 insertions(+), 0 deletions(-)
+16
-0
20-ingress.yaml
--- a/20-ingress.yaml Thu Feb 04 04:30:01 2021 -0600
+++ b/20-ingress.yaml Thu Feb 04 05:11:57 2021 -0600
@@ -314,6 +314,22 @@
port: 5269
targetPort: xmpp-s2s
---
+apiVersion: v1
+kind: Service
+metadata:
+ name: traefik-dashboard
+ namespace: kube-public
+ labels:
+ app: ingress
+ role: dashboard
+spec:
+ selector:
+ app: traefik
+ role: controller
+ ports:
+ - port: 9000
+ protocol: TCP
+---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata: