K3s-cluster/traefik/traefik-internal/service.yaml
Tanguy Herbron 8297d43b12 feat(env): Add development environment
When working on the development cluster, setup a kustomize environment to enable or disable services dynamicly, and include some dev specific variables (LoadBalancerIP, domain name etc.)
2023-01-03 01:09:08 +01:00

23 lines
466 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
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