feat: enable gateway and l2
This commit is contained in:
@@ -1,18 +1,17 @@
|
|||||||
# apiVersion: "cilium.io/v2alpha1"
|
apiVersion: "cilium.io/v2alpha1"
|
||||||
# kind: CiliumL2AnnouncementPolicy
|
kind: CiliumL2AnnouncementPolicy
|
||||||
# metadata:
|
metadata:
|
||||||
# name: node-gateway-l2-policy
|
name: node-gateway-l2-policy
|
||||||
# namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
# labels:
|
labels:
|
||||||
# app.kubernetes.io/name: node-gateway-l2-policy
|
app.kubernetes.io/name: node-gateway-l2-policy
|
||||||
# app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
# spec:
|
spec:
|
||||||
# nodeSelector:
|
nodeSelector:
|
||||||
# matchLabels:
|
matchLabels:
|
||||||
# kubernetes.io/hostname: talos-ix7-xku
|
kubernetes.io/hostname: talos-ix7-xku
|
||||||
# interfaces:
|
interfaces:
|
||||||
# - end0
|
- "^enp.*"
|
||||||
# - enp6s0
|
externalIPs: true
|
||||||
# externalIPs: true
|
loadBalancerIPs: true
|
||||||
# loadBalancerIPs: true
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
blocks:
|
blocks:
|
||||||
- start: "10.232.1.21"
|
|
||||||
stop: "10.232.1.23"
|
|
||||||
- start: "10.232.2.21"
|
- start: "10.232.2.21"
|
||||||
stop: "10.232.2.23"
|
stop: "10.232.2.23"
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,46 @@
|
|||||||
# apiVersion: gateway.networking.k8s.io/v1
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
# kind: Gateway
|
kind: Gateway
|
||||||
# metadata:
|
metadata:
|
||||||
# name: cilium-tls-gateway
|
name: cilium-tls-gateway
|
||||||
# namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
# labels:
|
labels:
|
||||||
# app.kubernetes.io/name: cilium-tls-gateway
|
app.kubernetes.io/name: cilium-tls-gateway
|
||||||
# app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
# annotations:
|
annotations:
|
||||||
# cert-manager.io/cluster-issuer: letsencrypt-issuer
|
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||||
# io.cilium/lb-ipam-ips: "10.232.1.23"
|
io.cilium/lb-ipam-ips: "10.232.1.23"
|
||||||
# spec:
|
spec:
|
||||||
# addresses:
|
addresses:
|
||||||
# - type: IPAddress
|
- type: IPAddress
|
||||||
# value: 10.232.1.23
|
value: 10.232.1.23
|
||||||
# gatewayClassName: cilium
|
gatewayClassName: cilium
|
||||||
# listeners:
|
listeners:
|
||||||
# - allowedRoutes:
|
- allowedRoutes:
|
||||||
# namespaces:
|
namespaces:
|
||||||
# from: All
|
from: All
|
||||||
# hostname: '*.alexlebens.net'
|
hostname: '*.alexlebens.net'
|
||||||
# name: https
|
name: https
|
||||||
# port: 443
|
port: 443
|
||||||
# protocol: HTTPS
|
protocol: HTTPS
|
||||||
# tls:
|
tls:
|
||||||
# certificateRefs:
|
certificateRefs:
|
||||||
# - group: ''
|
- group: ''
|
||||||
# kind: Secret
|
kind: Secret
|
||||||
# name: https-gateway-cert
|
name: https-gateway-cert
|
||||||
# namespace: kube-system
|
namespace: kube-system
|
||||||
# mode: Terminate
|
mode: Terminate
|
||||||
# - allowedRoutes:
|
- allowedRoutes:
|
||||||
# namespaces:
|
namespaces:
|
||||||
# from: All
|
from: All
|
||||||
# hostname: 'alexlebens.net'
|
hostname: 'alexlebens.net'
|
||||||
# name: https-domain
|
name: https-domain
|
||||||
# port: 443
|
port: 443
|
||||||
# protocol: HTTPS
|
protocol: HTTPS
|
||||||
# tls:
|
tls:
|
||||||
# certificateRefs:
|
certificateRefs:
|
||||||
# - group: ''
|
- group: ''
|
||||||
# kind: Secret
|
kind: Secret
|
||||||
# name: https-gateway-cert
|
name: https-gateway-cert
|
||||||
# namespace: kube-system
|
namespace: kube-system
|
||||||
# mode: Terminate
|
mode: Terminate
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ cilium:
|
|||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
l2announcements:
|
l2announcements:
|
||||||
enabled: false
|
enabled: true
|
||||||
bgpControlPlane:
|
bgpControlPlane:
|
||||||
enabled: false
|
enabled: false
|
||||||
secretsNamespace:
|
secretsNamespace:
|
||||||
@@ -37,7 +37,7 @@ cilium:
|
|||||||
mode: "default"
|
mode: "default"
|
||||||
bpf:
|
bpf:
|
||||||
hostLegacyRouting: true
|
hostLegacyRouting: true
|
||||||
devices: end0 enp6s0
|
devices: '^(enp|end|eth)[0-9a-z]*'
|
||||||
enableK8sEndpointSlice: true
|
enableK8sEndpointSlice: true
|
||||||
ciliumEndpointSlice:
|
ciliumEndpointSlice:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -47,6 +47,8 @@ cilium:
|
|||||||
enabled: true
|
enabled: true
|
||||||
enableAlpn: true
|
enableAlpn: true
|
||||||
enableAppProtocol: true
|
enableAppProtocol: true
|
||||||
|
gatewayClass:
|
||||||
|
create: true
|
||||||
externalIPs:
|
externalIPs:
|
||||||
enabled: true
|
enabled: true
|
||||||
socketLB:
|
socketLB:
|
||||||
|
|||||||
Reference in New Issue
Block a user