feat: Add base configuration
This commit is contained in:
parent
bb3daa1962
commit
67621c6409
12 changed files with 28363 additions and 0 deletions
17
k8s-wheatley/base/cilium/gateways.yaml
Normal file
17
k8s-wheatley/base/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/base/cilium/httproute.yaml
Normal file
17
k8s-wheatley/base/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-test.wheatley.in"
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: hubble-ui
|
||||
port: 80
|
||||
15
k8s-wheatley/base/cilium/ip-pool.yaml
Normal file
15
k8s-wheatley/base/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
|
||||
9
k8s-wheatley/base/cilium/kustomization.yaml
Normal file
9
k8s-wheatley/base/cilium/kustomization.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
|
||||
resources:
|
||||
- ip-pool.yaml
|
||||
- gateways.yaml
|
||||
- httproute.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue