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

28 lines
576 B
YAML

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: 192.168.56.101
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