apiVersion: v1 kind: Service metadata: name: traefik-custom-controller namespace: kube-system spec: type: LoadBalancer selector: app: traefik-custom-controller ports: - protocol: TCP port: 9080 name: web targetPort: 9080 - protocol: TCP port: 9443 name: websecure targetPort: 9443 - protocol: TCP port: 8080 name: admin targetPort: 8080