* refactor!: flux is required again Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: delimiter that chomps Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: bootstrap_cloudflare logic Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update tests Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: remove last quote Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update readme Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
73 lines
2.0 KiB
YAML
73 lines
2.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: kube-vip
|
|
namespace: kube-system
|
|
labels:
|
|
app.kubernetes.io/name: kube-vip
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: kube-vip
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: kube-vip
|
|
spec:
|
|
containers:
|
|
- name: kube-vip
|
|
image: ghcr.io/kube-vip/kube-vip:v0.6.4
|
|
imagePullPolicy: IfNotPresent
|
|
args: ["manager"]
|
|
env:
|
|
- name: address
|
|
value: "#{ bootstrap_controllers_vip }#"
|
|
- name: vip_arp
|
|
value: "true"
|
|
- name: port
|
|
value: "6443"
|
|
- name: vip_cidr
|
|
value: "32"
|
|
- name: cp_enable
|
|
value: "true"
|
|
- name: cp_namespace
|
|
value: kube-system
|
|
- name: vip_ddns
|
|
value: "false"
|
|
- name: svc_enable
|
|
value: "false"
|
|
- name: vip_leaderelection
|
|
value: "true"
|
|
- name: vip_leaseduration
|
|
value: "15"
|
|
- name: vip_renewdeadline
|
|
value: "10"
|
|
- name: vip_retryperiod
|
|
value: "2"
|
|
- name: prometheus_server
|
|
value: :2112
|
|
securityContext:
|
|
capabilities:
|
|
add: ["NET_ADMIN", "NET_RAW", "SYS_TIME"]
|
|
hostAliases:
|
|
- hostnames:
|
|
- kubernetes
|
|
ip: 127.0.0.1
|
|
hostNetwork: true
|
|
serviceAccountName: kube-vip
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: node-role.kubernetes.io/master
|
|
operator: Exists
|
|
- matchExpressions:
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: Exists
|
|
tolerations:
|
|
- effect: NoSchedule
|
|
operator: Exists
|
|
- effect: NoExecute
|
|
operator: Exists
|