Skip to content

Commit

Permalink
kccm: Bump to v0.5.1
Browse files Browse the repository at this point in the history
The latest kccm fails if there are no IPs at LB services after some
time, this change bump to it and configure the new timeout value.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
  • Loading branch information
qinqon committed Sep 19, 2023
1 parent c8158eb commit e1f53a9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
13 changes: 12 additions & 1 deletion config/kccm/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
namespace: ${NAMESPACE}
patches:
- patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --cluster-name="${CLUSTER_NAME}"
- op: replace
path: /spec/template/spec/containers/0/image
value: quay.io/kubevirt/kubevirt-cloud-controller-manager:v0.5.1
target:
kind: Deployment
patchesJson6902:
- patch: |
- op: replace
Expand All @@ -12,8 +22,9 @@ patchesJson6902:
version: v1
kind: Deployment
name: kubevirt-cloud-controller-manager

bases:
- https://github.com/kubevirt/cloud-provider-kubevirt/config/isolated?ref=v0.3.2
- https://github.com/kubevirt/cloud-provider-kubevirt/config/isolated?ref=v0.5.1
commonLabels:
cluster.x-k8s.io/cluster-name: "${CLUSTER_NAME}"
capk.cluster.x-k8s.io/template-kind: "extra-resource"
7 changes: 4 additions & 3 deletions templates/cluster-template-kccm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ apiVersion: v1
data:
cloud-config: |
loadBalancer:
creationPollInterval: 30
creationPollInterval: 5
creationPollTimeout: 60
namespace: ${NAMESPACE}
instancesV2:
enabled: true
Expand Down Expand Up @@ -278,11 +279,11 @@ spec:
- --cloud-provider=kubevirt
- --cloud-config=/etc/cloud/cloud-config
- --kubeconfig=/etc/kubernetes/kubeconfig/value
- --cluster-name=${CLUSTER_NAME}
- --authentication-skip-lookup=true
- --cluster-name="${CLUSTER_NAME}"
command:
- /bin/kubevirt-cloud-controller-manager
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:main
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:v0.5.1
imagePullPolicy: Always
name: kubevirt-cloud-controller-manager
resources:
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template-lb-kccm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ apiVersion: v1
data:
cloud-config: |
loadBalancer:
creationPollInterval: 30
creationPollInterval: 5
creationPollTimeout: 60
namespace: ${NAMESPACE}
instancesV2:
enabled: true
Expand Down Expand Up @@ -278,11 +279,11 @@ spec:
- --cloud-provider=kubevirt
- --cloud-config=/etc/cloud/cloud-config
- --kubeconfig=/etc/kubernetes/kubeconfig/value
- --cluster-name=${CLUSTER_NAME}
- --authentication-skip-lookup=true
- --cluster-name="${CLUSTER_NAME}"
command:
- /bin/kubevirt-cloud-controller-manager
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:main
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:v0.5.1
imagePullPolicy: Always
name: kubevirt-cloud-controller-manager
resources:
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template-persistent-storage-kccm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ apiVersion: v1
data:
cloud-config: |
loadBalancer:
creationPollInterval: 30
creationPollInterval: 5
creationPollTimeout: 60
namespace: ${NAMESPACE}
instancesV2:
enabled: true
Expand Down Expand Up @@ -302,11 +303,11 @@ spec:
- --cloud-provider=kubevirt
- --cloud-config=/etc/cloud/cloud-config
- --kubeconfig=/etc/kubernetes/kubeconfig/value
- --cluster-name=${CLUSTER_NAME}
- --authentication-skip-lookup=true
- --cluster-name="${CLUSTER_NAME}"
command:
- /bin/kubevirt-cloud-controller-manager
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:main
image: quay.io/kubevirt/kubevirt-cloud-controller-manager:v0.5.1
imagePullPolicy: Always
name: kubevirt-cloud-controller-manager
resources:
Expand Down

0 comments on commit e1f53a9

Please sign in to comment.