feat: Add base configuration

This commit is contained in:
Peter 2025-10-31 22:37:39 +01:00
parent bb3daa1962
commit 67621c6409
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
12 changed files with 28363 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: internal
spec:
gatewayClassName: cilium
addresses:
- type: IPAddress
value: 10.13.38.10
listeners:
- allowedRoutes:
namespaces:
from: All
name: http
port: 80
protocol: HTTP

View file

@ -0,0 +1,17 @@
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: hubble-route
namespace: kube-system
spec:
parentRefs:
- name: internal
namespace: kube-system
sectionName: http
hostnames:
- "hubble.k8s-test.wheatley.in"
rules:
- backendRefs:
- name: hubble-ui
port: 80

View file

@ -0,0 +1,15 @@
---
apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool
metadata:
name: internal-pool
spec:
blocks:
- cidr: "10.13.38.10/32"
---
apiVersion: "cilium.io/v2alpha1"
kind: CiliumL2AnnouncementPolicy
metadata:
name: l2adv
spec:
loadBalancerIPs: true

View file

@ -0,0 +1,9 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
resources:
- ip-pool.yaml
- gateways.yaml
- httproute.yaml