JG-mirror/Kubernetes/RKE2/kube-vip

90 lines
2.2 KiB
Text
Raw Normal View History

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