Skip to content

Commit

Permalink
feat: change lb_enable to false
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Feb 10, 2024
1 parent be24e66 commit 1e66642
Showing 1 changed file with 59 additions and 1 deletion.
1 change: 0 additions & 1 deletion ansible/pi/playbooks/templates/kube-vip-static-pod.yaml.j2

This file was deleted.

59 changes: 59 additions & 0 deletions ansible/pi/playbooks/templates/kube-vip-static-pod.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
apiVersion: v1
kind: Pod
metadata:
name: kube-vip
namespace: kube-system
labels:
app.kubernetes.io/instance: kube-vip
app.kubernetes.io/name: kube-vip
spec:
containers:
- name: kube-vip
image: ghcr.io/kube-vip/kube-vip:v0.7.0
imagePullPolicy: IfNotPresent
args: ["manager"]
env:
- name: address
value: "{{ kube_vip_addr }}"
- name: vip_arp
value: "true"
- name: lb_enable
value: "false"
- 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"]
volumeMounts:
- mountPath: /etc/kubernetes/admin.conf
name: kubeconfig
hostAliases:
- hostnames:
- kubernetes
ip: 127.0.0.1
hostNetwork: true
volumes:
- name: kubeconfig
hostPath:
path: /etc/rancher/k3s/k3s.yaml

0 comments on commit 1e66642

Please sign in to comment.