Tanguy Herbron
8297d43b12
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.)
23 lines
466 B
YAML
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
|