Compare commits
1 Commits
330aad6a4c
...
04b9fdbced
| Author | SHA1 | Date | |
|---|---|---|---|
|
04b9fdbced
|
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: "cilium.io/v2alpha1"
|
||||||
|
kind: CiliumL2AnnouncementPolicy
|
||||||
|
metadata:
|
||||||
|
name: node-gateway-l2-policy
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: node-gateway-l2-policy
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/hostname: talos-ix7-xku
|
||||||
|
interfaces:
|
||||||
|
- enp6s0
|
||||||
|
externalIPs: true
|
||||||
|
loadBalancerIPs: true
|
||||||
@@ -11,6 +11,8 @@ spec:
|
|||||||
blocks:
|
blocks:
|
||||||
- start: "10.232.1.21"
|
- start: "10.232.1.21"
|
||||||
stop: "10.232.1.23"
|
stop: "10.232.1.23"
|
||||||
|
- start: "10.232.1.100"
|
||||||
|
stop: "10.232.1.200"
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: cilium.io/v2
|
apiVersion: cilium.io/v2
|
||||||
|
|||||||
@@ -1,45 +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
|
||||||
# spec:
|
io.cilium/lb-ipam-ips: "10.232.1.100"
|
||||||
# addresses:
|
spec:
|
||||||
# - type: IPAddress
|
addresses:
|
||||||
# value: 10.232.1.23
|
- type: IPAddress
|
||||||
# gatewayClassName: cilium
|
value: 10.232.1.100
|
||||||
# listeners:
|
gatewayClassName: cilium
|
||||||
# - allowedRoutes:
|
listeners:
|
||||||
# namespaces:
|
- allowedRoutes:
|
||||||
# from: All
|
namespaces:
|
||||||
# hostname: '*.alexlebens.net'
|
from: All
|
||||||
# name: https
|
hostname: '*.alexlebens.net'
|
||||||
# port: 443
|
name: https
|
||||||
# protocol: HTTPS
|
port: 443
|
||||||
# tls:
|
protocol: HTTPS
|
||||||
# certificateRefs:
|
tls:
|
||||||
# - group: ''
|
certificateRefs:
|
||||||
# kind: Secret
|
- group: ''
|
||||||
# name: https-gateway-cert
|
kind: Secret
|
||||||
# namespace: kube-system
|
name: https-gateway-cert
|
||||||
# mode: Terminate
|
namespace: kube-system
|
||||||
# - allowedRoutes:
|
mode: Terminate
|
||||||
# namespaces:
|
- allowedRoutes:
|
||||||
# from: All
|
namespaces:
|
||||||
# hostname: 'alexlebens.net'
|
from: All
|
||||||
# name: https-domain
|
hostname: 'alexlebens.net'
|
||||||
# port: 443
|
name: https-domain
|
||||||
# protocol: HTTPS
|
port: 443
|
||||||
# tls:
|
protocol: HTTPS
|
||||||
# certificateRefs:
|
tls:
|
||||||
# - group: ''
|
certificateRefs:
|
||||||
# kind: Secret
|
- group: ''
|
||||||
# name: https-gateway-cert
|
kind: Secret
|
||||||
# namespace: kube-system
|
name: https-gateway-cert
|
||||||
# mode: Terminate
|
namespace: kube-system
|
||||||
|
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:
|
||||||
@@ -38,6 +38,7 @@ cilium:
|
|||||||
bpf:
|
bpf:
|
||||||
hostLegacyRouting: true
|
hostLegacyRouting: true
|
||||||
devices: end0 enp6s0
|
devices: end0 enp6s0
|
||||||
|
enableK8sEndpointSlice: true
|
||||||
ciliumEndpointSlice:
|
ciliumEndpointSlice:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressController:
|
ingressController:
|
||||||
|
|||||||
Reference in New Issue
Block a user