-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmrelease.yaml
103 lines (100 loc) · 2.89 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.5.1/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: kube-vip
namespace: kube-system
spec:
chart:
spec:
chart: app-template
version: 3.5.1
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
namespace: flux-system
name: bjw-s
interval: 1h
driftDetection:
mode: enabled
values:
controllers:
kube-vip:
type: daemonset
containers:
app:
image:
repository: ghcr.io/kube-vip/kube-vip
tag: v0.8.6@sha256:1efe86893baf2d3c97c452fa53641ba647553ed0e639db69e56473d5a238462e
pullPolicy: IfNotPresent
args:
- manager
env:
vip_arp: "true"
port: "6443"
vip_interface: eno1
vip_cidr: "32"
cp_enable: "true"
cp_namespace: kube-system
vip_ddns: "false"
svc_enable: "false"
svc_leasename: plndr-svcs-lock
vip_leaderelection: "true"
vip_leasename: plndr-cp-lock
vip_leaseduration: "5"
vip_renewdeadline: "3"
vip_retryperiod: "1"
address: 192.168.1.230
prometheus_server: :2112
securityContext:
capabilities:
add:
- NET_ADMIN
- NET_RAW
probes:
startup:
enabled: true
spec:
failureThreshold: 30
periodSeconds: 5
liveness:
enabled: true
readiness:
enabled: true
pod:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
hostNetwork: true
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists
serviceAccount:
create: true
service:
metrics:
nameOverride: metrics
enabled: true
controller: kube-vip
ports:
http:
port: 2112
serviceMonitor:
main:
enabled: true
serviceName: kube-vip-metrics
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s