2023-12-03 20:27:37 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: DaemonSet
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
2023-12-03 21:52:08 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: kube-vip-ds
|
2024-08-22 15:06:21 +00:00
|
|
|
app.kubernetes.io/version: v0.8.2
|
2023-12-03 20:27:37 +00:00
|
|
|
name: kube-vip-ds
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2023-12-03 21:52:08 +00:00
|
|
|
app.kubernetes.io/name: kube-vip-ds
|
2023-12-03 20:27:37 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
2023-12-03 21:52:08 +00:00
|
|
|
app.kubernetes.io/name: kube-vip-ds
|
2024-08-22 15:06:21 +00:00
|
|
|
app.kubernetes.io/version: v0.8.2
|
2023-12-03 20:27:37 +00:00
|
|
|
spec:
|
|
|
|
affinity:
|
|
|
|
nodeAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
nodeSelectorTerms:
|
|
|
|
- matchExpressions:
|
|
|
|
- key: node-role.kubernetes.io/master
|
|
|
|
operator: Exists
|
|
|
|
- matchExpressions:
|
|
|
|
- key: node-role.kubernetes.io/control-plane
|
|
|
|
operator: Exists
|
|
|
|
containers:
|
|
|
|
- args:
|
|
|
|
- manager
|
|
|
|
env:
|
|
|
|
- name: vip_arp
|
|
|
|
value: "true"
|
|
|
|
- name: port
|
|
|
|
value: "6443"
|
|
|
|
- name: vip_interface
|
2023-12-03 20:53:11 +00:00
|
|
|
value: $interface
|
2023-12-03 20:27:37 +00:00
|
|
|
- name: vip_cidr
|
|
|
|
value: "32"
|
|
|
|
- name: cp_enable
|
|
|
|
value: "true"
|
|
|
|
- name: cp_namespace
|
|
|
|
value: kube-system
|
|
|
|
- name: vip_ddns
|
|
|
|
value: "false"
|
|
|
|
- name: svc_enable
|
2023-12-04 09:34:08 +00:00
|
|
|
value: "false"
|
2023-12-03 21:52:08 +00:00
|
|
|
- name: svc_leasename
|
|
|
|
value: plndr-svcs-lock
|
2023-12-03 20:27:37 +00:00
|
|
|
- name: vip_leaderelection
|
|
|
|
value: "true"
|
2023-12-03 21:52:08 +00:00
|
|
|
- name: vip_leasename
|
|
|
|
value: plndr-cp-lock
|
2023-12-03 20:27:37 +00:00
|
|
|
- name: vip_leaseduration
|
|
|
|
value: "5"
|
|
|
|
- name: vip_renewdeadline
|
|
|
|
value: "3"
|
|
|
|
- name: vip_retryperiod
|
|
|
|
value: "1"
|
2023-12-03 21:52:08 +00:00
|
|
|
- name: address
|
|
|
|
value: $vip
|
|
|
|
- name: prometheus_server
|
|
|
|
value: :2112
|
2024-08-22 15:06:21 +00:00
|
|
|
image: ghcr.io/kube-vip/kube-vip:v0.8.2
|
2023-12-03 20:27:37 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
name: kube-vip
|
|
|
|
resources: {}
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- NET_RAW
|
|
|
|
hostNetwork: true
|
|
|
|
serviceAccountName: kube-vip
|
|
|
|
tolerations:
|
|
|
|
- effect: NoSchedule
|
|
|
|
operator: Exists
|
|
|
|
- effect: NoExecute
|
|
|
|
operator: Exists
|
|
|
|
updateStrategy: {}
|
|
|
|
status:
|
|
|
|
currentNumberScheduled: 0
|
|
|
|
desiredNumberScheduled: 0
|
|
|
|
numberMisscheduled: 0
|
|
|
|
numberReady: 0
|
2023-12-03 21:52:08 +00:00
|
|
|
|