2021-12-01 12:35:18 +00:00
|
|
|
metallb:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
controller:
|
|
|
|
tolerations:
|
2022-10-27 12:27:42 +00:00
|
|
|
- key: node-role.kubernetes.io/control-plane
|
|
|
|
effect: NoSchedule
|
2021-12-01 12:35:18 +00:00
|
|
|
nodeSelector:
|
|
|
|
node-role.kubernetes.io/control-plane: ""
|
|
|
|
|
2022-07-14 14:59:06 +00:00
|
|
|
ipAddressPools: []
|
|
|
|
#- name: my-ip-space
|
|
|
|
# protocol: layer2
|
|
|
|
# addresses:
|
|
|
|
# - 192.168.42.0/24
|
2021-12-01 12:35:18 +00:00
|
|
|
|
|
|
|
multus:
|
|
|
|
enabled: false
|
2023-08-24 09:05:59 +00:00
|
|
|
image:
|
|
|
|
repository: ghcr.io/k8snetworkplumbingwg/multus-cni
|
2024-12-07 03:01:58 +00:00
|
|
|
tag: v4.1.4
|
2022-07-14 14:59:06 +00:00
|
|
|
|
2022-11-11 14:59:18 +00:00
|
|
|
clusterNetwork: "cilium"
|
|
|
|
defaultNetworks: []
|
2023-11-15 14:39:02 +00:00
|
|
|
readinessindicatorfile: "/etc/cni/net.d/05-cilium.conflist"
|
2021-12-01 12:35:18 +00:00
|
|
|
|
|
|
|
cilium:
|
|
|
|
enabled: false
|
|
|
|
|
2024-08-29 12:49:31 +00:00
|
|
|
# Always use cached images
|
2023-07-04 15:12:16 +00:00
|
|
|
image:
|
|
|
|
useDigest: false
|
2022-09-11 11:54:56 +00:00
|
|
|
|
2023-01-11 12:08:18 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
2024-10-16 11:20:20 +00:00
|
|
|
memory: 160Mi
|
2023-01-11 12:08:18 +00:00
|
|
|
limits:
|
2024-10-16 12:49:32 +00:00
|
|
|
memory: 1Gi
|
2023-01-11 12:08:18 +00:00
|
|
|
# cpu: 4000m
|
|
|
|
|
2021-12-01 12:35:18 +00:00
|
|
|
cni:
|
2022-07-14 14:59:06 +00:00
|
|
|
binPath: "/usr/libexec/cni"
|
2022-11-11 14:59:18 +00:00
|
|
|
logFile: /var/log/cilium-cni.log
|
2021-12-01 12:35:18 +00:00
|
|
|
#-- Ensure this is false if multus is enabled
|
2022-11-11 14:59:18 +00:00
|
|
|
exclusive: false
|
2022-09-11 11:54:56 +00:00
|
|
|
|
2022-07-31 22:52:00 +00:00
|
|
|
cluster:
|
2022-09-11 11:54:56 +00:00
|
|
|
# This should match the second octet of clusterPoolIPv4PodCIDRList
|
2022-07-31 22:52:00 +00:00
|
|
|
# to prevent IP space overlap and easy tracking
|
2022-11-11 14:59:18 +00:00
|
|
|
# use 240 as default, less likely to clash with 1
|
2022-09-23 10:54:27 +00:00
|
|
|
id: 240
|
2022-07-31 22:52:00 +00:00
|
|
|
name: default
|
|
|
|
|
|
|
|
ipam:
|
|
|
|
operator:
|
|
|
|
clusterPoolIPv4PodCIDRList:
|
2022-09-23 10:54:27 +00:00
|
|
|
- 10.240.0.0/16
|
2022-07-31 22:52:00 +00:00
|
|
|
|
|
|
|
# Keep it simple for now
|
|
|
|
l7Proxy: false
|
2024-10-16 11:20:20 +00:00
|
|
|
envoy:
|
|
|
|
enabled: false
|
2022-11-14 13:14:11 +00:00
|
|
|
#rollOutCiliumPods: true
|
|
|
|
|
2022-07-14 14:59:06 +00:00
|
|
|
cgroup:
|
|
|
|
autoMount:
|
|
|
|
enabled: false
|
|
|
|
hostRoot: "/sys/fs/cgroup"
|
2021-12-01 12:35:18 +00:00
|
|
|
|
2024-07-18 18:58:14 +00:00
|
|
|
# we need biDirectional so use helm init-container
|
|
|
|
#bpf:
|
|
|
|
# autoMount:
|
|
|
|
# enabled: false
|
|
|
|
|
|
|
|
sysctlfix:
|
|
|
|
enabled: false
|
|
|
|
|
2024-05-23 22:10:26 +00:00
|
|
|
routingMode: tunnel
|
2023-11-15 14:39:02 +00:00
|
|
|
tunnelProtocol: geneve
|
2021-12-01 12:35:18 +00:00
|
|
|
|
|
|
|
prometheus:
|
|
|
|
enabled: false
|
2023-05-02 10:07:00 +00:00
|
|
|
serviceMonitor:
|
|
|
|
enabled: false
|
2021-12-01 12:35:18 +00:00
|
|
|
port: 9091
|
|
|
|
|
|
|
|
operator:
|
|
|
|
replicas: 1
|
2022-07-14 14:59:06 +00:00
|
|
|
tolerations:
|
2022-10-27 12:27:42 +00:00
|
|
|
- key: node-role.kubernetes.io/control-plane
|
|
|
|
effect: NoSchedule
|
2024-04-08 18:09:22 +00:00
|
|
|
# the operator removes the taints,
|
|
|
|
# so we need to break chicken egg on single controller
|
|
|
|
- key: node.cilium.io/agent-not-ready
|
|
|
|
effect: NoSchedule
|
|
|
|
|
2022-07-14 14:59:06 +00:00
|
|
|
nodeSelector:
|
|
|
|
node-role.kubernetes.io/control-plane: ""
|
2023-05-02 10:07:00 +00:00
|
|
|
prometheus:
|
|
|
|
enabled: false
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: false
|
2021-12-01 12:35:18 +00:00
|
|
|
|
|
|
|
hubble:
|
|
|
|
enabled: false
|
2022-11-14 13:14:11 +00:00
|
|
|
relay:
|
|
|
|
enabled: false
|
|
|
|
ui:
|
|
|
|
enabled: false
|
|
|
|
tls:
|
|
|
|
auto:
|
|
|
|
method: cert-manager
|
|
|
|
certManagerIssuerRef:
|
|
|
|
group: cert-manager.io
|
|
|
|
kind: ClusterIssuer
|
|
|
|
name: kubezero-local-ca-issuer
|
2024-05-23 21:21:54 +00:00
|
|
|
|
|
|
|
haproxy:
|
|
|
|
enabled: false
|
2024-06-10 17:00:29 +00:00
|
|
|
|
|
|
|
replicaCount: 1
|
|
|
|
|
|
|
|
# enable pdb if replica > 1
|
|
|
|
PodDisruptionBudget:
|
|
|
|
enable: false
|
|
|
|
minAvailable: 1
|
|
|
|
|
|
|
|
containerPorts:
|
|
|
|
http: 8080
|
|
|
|
https: null
|
|
|
|
prometheus: 8404
|
|
|
|
stat: null
|
|
|
|
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: false
|
|
|
|
endpoints:
|
|
|
|
- port: prometheus
|
|
|
|
path: /metrics
|
|
|
|
scheme: http
|
|
|
|
interval: 30s
|
|
|
|
params:
|
|
|
|
no-maint:
|
|
|
|
- empty
|
|
|
|
config: |
|
|
|
|
frontend fe_main
|
|
|
|
bind :8080
|
|
|
|
default_backend be_main
|
|
|
|
|
|
|
|
backend be_main
|
|
|
|
server web1 10.0.0.1:8080 check
|
|
|
|
|
|
|
|
includes:
|
|
|
|
global.cfg: |
|
|
|
|
global
|
|
|
|
log stdout format raw local0
|
|
|
|
maxconn 2048
|
|
|
|
|
|
|
|
defaults
|
|
|
|
log global
|
|
|
|
mode tcp
|
|
|
|
option http-server-close
|
|
|
|
timeout connect 10s
|
|
|
|
timeout client 30s
|
|
|
|
timeout client-fin 30s
|
|
|
|
timeout server 30s
|
|
|
|
timeout tunnel 1h
|
|
|
|
|
|
|
|
resolvers coredns
|
|
|
|
accepted_payload_size 4096
|
|
|
|
parse-resolv-conf
|
|
|
|
hold valid 10s
|
|
|
|
hold other 10s
|
|
|
|
hold refused 10s
|
|
|
|
hold nx 10s
|
|
|
|
hold timeout 10s
|
|
|
|
|
|
|
|
prometheus.cfg: |
|
|
|
|
frontend prometheus
|
|
|
|
bind *:8404
|
|
|
|
mode http
|
|
|
|
http-request use-service prometheus-exporter if { path /metrics }
|
|
|
|
no log
|
|
|
|
stats enable
|
|
|
|
stats uri /stats
|
|
|
|
stats refresh 10s
|
|
|
|
stats auth admin:letmein
|
|
|
|
|
|
|
|
args:
|
|
|
|
defaults:
|
|
|
|
- "-f"
|
|
|
|
- "/usr/local/etc/haproxy/includes/global.cfg"
|
|
|
|
- "-f"
|
|
|
|
- "/usr/local/etc/haproxy/includes/prometheus.cfg"
|
|
|
|
- "-f"
|
|
|
|
- "/usr/local/etc/haproxy/haproxy.cfg"
|
|
|
|
|
|
|
|
livenessProbe:
|
|
|
|
failureThreshold: 3
|
|
|
|
successThreshold: 1
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
timeoutSeconds: 1
|
|
|
|
tcpSocket:
|
|
|
|
port: 8404
|
|
|
|
periodSeconds: 10
|
|
|
|
|
|
|
|
readinessProbe:
|
|
|
|
failureThreshold: 3
|
|
|
|
successThreshold: 1
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
timeoutSeconds: 1
|
|
|
|
tcpSocket:
|
|
|
|
port: 8404
|
|
|
|
periodSeconds: 10
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
enabled: true
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1000
|
|
|
|
runAsGroup: 1000
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
seccompProfile:
|
|
|
|
type: RuntimeDefault
|
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 48Mi
|
|
|
|
# limits:
|
|
|
|
# cpu: 250m
|
|
|
|
# memory: 128Mi
|