feat: Provision k8s-wheatley cluster through ArgoCD
This commit is contained in:
parent
dc268db7b4
commit
ea771272e9
10 changed files with 56 additions and 36 deletions
17
k8s-wheatley/cilium/gateways.yaml
Normal file
17
k8s-wheatley/cilium/gateways.yaml
Normal 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
|
||||
17
k8s-wheatley/cilium/httproute.yaml
Normal file
17
k8s-wheatley/cilium/httproute.yaml
Normal 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.wheatley.in"
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: hubble-ui
|
||||
port: 80
|
||||
15
k8s-wheatley/cilium/ip-pool.yaml
Normal file
15
k8s-wheatley/cilium/ip-pool.yaml
Normal 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
|
||||
10
k8s-wheatley/cilium/kustomization.yaml
Normal file
10
k8s-wheatley/cilium/kustomization.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ip-pool.yaml
|
||||
- gateways.yaml
|
||||
- httproute.yaml
|
||||
5
k8s-wheatley/cilium/namespace.yaml
Normal file
5
k8s-wheatley/cilium/namespace.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: kube-system
|
||||
Loading…
Add table
Add a link
Reference in a new issue