K3s-cluster/traefik/traefik-internal/service.yaml

28 lines
572 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: traefik-internal
namespace: default
labels:
app.kubernetes.io/name: traefik-inter
app.kubernetes.io/instance: traefik-inter
spec:
type: LoadBalancer
loadBalancerIP: 10.10.0.26
selector:
app.kubernetes.io/name: traefik-inter
app.kubernetes.io/instance: traefik-inter
ports:
- port: 80
name: web
targetPort: "web"
protocol: TCP
- port: 443
name: websecure
targetPort: "websecure"
protocol: TCP
- port: 9100
name: metrics
targetPort: "metrics"
protocol: TCP