Skip to content

Commit

Permalink
Merge pull request #167 from paulfantom/kube-vip
Browse files Browse the repository at this point in the history
Kube VIP improvements
  • Loading branch information
MonolithProjects authored Nov 9, 2023
2 parents 914f13a + ac261be commit 9b5d42c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ rke2_kubevip_cloud_provider_enable: true
# Enable kube-vip to watch Services of type LoadBalancer
rke2_kubevip_svc_enable: true

# Specify which image is used for kube-vip container
rke2_kubevip_image: ghcr.io/kube-vip/kube-vip:v0.5.5

# Add additional SANs in k8s API TLS cert
rke2_additional_sans: []

Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ rke2_kubevip_cloud_provider_enable: true
# Enable kube-vip to watch Services of type LoadBalancer
rke2_kubevip_svc_enable: true

# Specify which image is used for kube-vip container
rke2_kubevip_image: ghcr.io/kube-vip/kube-vip:v0.5.5

# Add additional SANs in k8s API TLS cert
rke2_additional_sans: []

Expand Down
10 changes: 1 addition & 9 deletions templates/kube-vip/kube-vip.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: kube-vip-ds
app.kubernetes.io/version: v0.5.5
name: kube-vip-ds
namespace: kube-system
spec:
Expand All @@ -16,7 +15,6 @@ spec:
creationTimestamp: null
labels:
app.kubernetes.io/name: kube-vip-ds
app.kubernetes.io/version: v0.5.5
spec:
affinity:
nodeAffinity:
Expand Down Expand Up @@ -64,8 +62,7 @@ spec:
value: "{{ rke2_api_ip }}"
- name: prometheus_server
value: :2112
image: ghcr.io/kube-vip/kube-vip:v0.5.5
imagePullPolicy: Always
image: "{{ rke2_kubevip_image }}"
name: kube-vip
resources: {}
securityContext:
Expand All @@ -81,8 +78,3 @@ spec:
- effect: NoExecute
operator: Exists
updateStrategy: {}
status:
currentNumberScheduled: 0
desiredNumberScheduled: 0
numberMisscheduled: 0
numberReady: 0

0 comments on commit 9b5d42c

Please sign in to comment.