mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
e85f082001
change version to 0.8.2
89 lines
2.2 KiB
Text
89 lines
2.2 KiB
Text
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app.kubernetes.io/name: kube-vip-ds
|
|
app.kubernetes.io/version: v0.8.2
|
|
name: kube-vip-ds
|
|
namespace: kube-system
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: kube-vip-ds
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app.kubernetes.io/name: kube-vip-ds
|
|
app.kubernetes.io/version: v0.8.2
|
|
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
|
|
value: $interface
|
|
- 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: 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.8.2
|
|
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
|
|
|