Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update core layer components in VEBA #1158

Closed
rguske opened this issue Jan 31, 2024 · 1 comment · Fixed by #1164
Closed

Update core layer components in VEBA #1158

rguske opened this issue Jan 31, 2024 · 1 comment · Fixed by #1164
Assignees
Labels
enhancement New feature or request

Comments

@rguske
Copy link
Contributor

rguske commented Jan 31, 2024

Is your feature request related to a problem? Please describe.

We are still running Kubernetes version 1.25.5 and PhotonOS 4.0 Rev.2 in VEBA. The Tanzu Sources for Knative v.0.39.0 already requires k8s version 1.26 as a minimum. Running an older k8s version with v.0.39.0 of the Sources will result in an error:

k -n vmware-sources logs  vsphere-source-webhook-64c58bc7d9-cn5qs

{"level":"fatal","ts":"2023-12-27T10:45:02.484Z","logger":"vsphere-source-webhook","caller":"sharedmain/main.go:386","msg":"Version check failed","commit":"536930e-dirty","error":"kubernetes version \"1.25.5\" is not compatible, need at least \"1.26.0-0\" (this can be overridden with the env var \"KUBERNETES_MIN_VERSION\")","stacktrace":"knative.dev/pkg/injection/sharedmain.CheckK8sClientMinimumVersionOrDie\n\tknative.dev/pkg@v0.0.0-20231211072236-4914c472e81a/injection/sharedmain/main.go:386\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20231211072236-4914c472e81a/injection/sharedmain/main.go:256\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\tknative.dev/pkg@v0.0.0-20231211072236-4914c472e81a/injection/sharedmain/main.go:210\nmain.main\n\tgithub.com/vmware-tanzu/sources-for-knative/cmd/vsphere-controller/main.go:143\nruntime.main\n\truntime/proc.go:267"}

I've validated the suggested workaround successfully but we have to bump all components in VEBA to a newer version.

Workaround:

kubectl -n vmware-sources patch deployment horizon-source-controller -p '{"spec":{"template":{"spec":{"containers":[{"name":"horizon-source-controller","env":[{"name":"KUBERNETES_MIN_VERSION","value":"v1.25.5"}]}]}}}}'

kubectl -n vmware-sources patch deployment horizon-source-webhook -p '{"spec":{"template":{"spec":{"containers":[{"name":"horizon-source-webhook","env":[{"name":"KUBERNETES_MIN_VERSION","value":"v1.25.5"}]}]}}}}'

kubectl -n vmware-sources patch deployment vsphere-source-webhook -p '{"spec":{"template":{"spec":{"containers":[{"name":"vsphere-source-webhook","env":[{"name":"KUBERNETES_MIN_VERSION","value":"v1.25.5"}]}]}}}}'
@rguske rguske added the enhancement New feature or request label Jan 31, 2024
@rguske
Copy link
Contributor Author

rguske commented Feb 14, 2024

PR work:

  • Kubernetes 1.25.5 -> 1.29.2
  • Knative 1.8.1 -> 1.13.1
  • Knative CLI 1.8.1 -> 1.13.0
  • Knative Contour 1.8.1 -> 1.13.0
  • Antrea 1.10.0 -> 1.15.0
  • FluentBit 2.0.8 -> 2.2.2
  • cAdvisor 0.47.0 -> 0.47.2
  • kind 1.25.3 -> 1.29.1
  • RabbitMQ Operator 1.14.0 -> 2.7.0
  • RabbitMQ Broker 1.8.3 -> 1.13.0
  • RabbitMQ MTO 1.10.0 -> 1.13.0
  • Cert-Manager 1.11.0 -> 1.14.2
  • CSI 0.0.23 -> 0.0.26
  • Tanzu Sources 0.37.1 -> 0.39.0
  • ytt CLI -> 0.44.1 -> 0.48.0
  • ContainerD 1.6.15 -> 1.7.13

Validation of the new versions is almost complete. Currently facing an issue with the installation of the Tanzu Sources. See Tanzu Sources Issue 544.

All issues could be fixed and the VEBA deployment could be verified successfully. PR #1164 created.

rguske pushed a commit to rguske/vcenter-event-broker-appliance that referenced this issue Feb 15, 2024
Closes: vmware-samples#1158
Signed-off-by: Robert Guske <rguske@vmware.com>
rguske pushed a commit to rguske/vcenter-event-broker-appliance that referenced this issue Feb 16, 2024
Closes: vmware-samples#1158
Signed-off-by: Robert Guske <rguske@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants