Added Kustomizations

This commit is contained in:
maximilian.bartz 2025-05-28 11:45:59 +02:00
parent 4fda3a9eff
commit 6a78fbf5c0
7 changed files with 57 additions and 0 deletions

18
network/ks-lb.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app windows-lb
namespace: ${TENANT_NAMESPACE}
spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./network/loadbalancers
prune: true
sourceRef:
kind: GitRepository
name: tenant-repos
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m

View file

@ -0,0 +1,29 @@
---
apiVersion: v1
kind: Service
metadata:
name: windows-lb
namespace: ${TENANT_NAMESPACE}
labels:
app.kubernetes.io/component: windows-vm-standard
spec:
type: LoadBalancer
ports:
- port: 8080
name: http
targetPort: 8080
protocol: TCP
- port: 443
name: https
targetPort: 443
protocol: TCP
- port: 65022
name: ssh
targetPort: 22
protocol: TCP
- port: 3389
name: rdp
targetPort: 3389
protocol: TCP
selector:
kubevirt.io/domain: windows-vm-standard