feat: Provision k8s-wheatley cluster through ArgoCD

This commit is contained in:
Peter 2025-11-08 22:01:51 +01:00
parent dc268db7b4
commit ea771272e9
10 changed files with 56 additions and 36 deletions

View file

@ -1,17 +0,0 @@
---
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

@ -1,7 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- argocd
- cilium
- metrics-server

View file

@ -1,10 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: metrics-server
repo: https://kubernetes-sigs.github.io/metrics-server/
namespace: kube-system
releaseName: metrics-server
version: 3.13.0

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

@ -10,7 +10,7 @@ spec:
namespace: kube-system
sectionName: http
hostnames:
- "hubble.k8s-test.wheatley.in"
- "hubble.k8s.wheatley.in"
rules:
- backendRefs:
- name: hubble-ui

View file

@ -5,7 +5,7 @@ metadata:
name: internal-pool
spec:
blocks:
- cidr: "10.13.38.10/32"
- cidr: "10.13.38.10/32"
---
apiVersion: "cilium.io/v2alpha1"
kind: CiliumL2AnnouncementPolicy

View file

@ -4,6 +4,7 @@ kind: Kustomization
namespace: kube-system
resources:
- namespace.yaml
- ip-pool.yaml
- gateways.yaml
- httproute.yaml

View file

@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kube-system