Skip to content

Conversation

@w13915984028
Copy link
Member

@w13915984028 w13915984028 commented Feb 11, 2026

Problem:

Keep addons are with latest versions.

note:

rancher/shell: is not used by rancher-monitoring, rancher-logging addon any more; rancher-logging ever used it but now switched to rancher/kuberlr-kubectl

kubectl: is not used by rancher-monitoring, rancher-logging; I will further check which one is really needed on v180

Solution:

Bump rancher-monitoring and rancher-logging on each Harvester major releases like v1.6.0, v1.7.0 and v1.8.0.

Related Issue(s):

harvester/harvester#10041

Test plan:

A. New installation

  1. Install a new cluster
  2. run crictl image ls
  3. Enable rancher-monitoring, rancher-logging addons
  4. Check addons are successfully deployed
  5. Run crictl image ls again, compare images, check if any additional images are pulled
  6. Check monitoring metrics are available on UI, prometheus, grafana, alertmanager link can be accessed
  7. Set simple http webhook server, test logging/audit/event can be received.
rancher-logging addon:
...
  version: 108.0.2+up4.10.0-rancher.18
status:
  conditions:
    - lastUpdateTime: '2026-02-12T20:17:23Z'
      status: 'True'
      type: Completed
    - lastUpdateTime: '2026-02-12T20:17:23Z'
      status: 'False'
      type: InProgress
    - lastUpdateTime: '2026-02-06T10:09:34Z'
      status: 'False'
      type: OperationFailed
  status: AddonDeploySuccessful

rancher-monitoring addon:

...
  version: 108.0.2+up77.9.1-rancher.11
status:
  conditions:
    - lastUpdateTime: '2026-02-12T20:38:03Z'
      status: 'True'
      type: Completed
    - lastUpdateTime: '2026-02-12T20:38:03Z'
      status: 'False'
      type: InProgress
    - lastUpdateTime: '2026-02-06T10:09:34Z'
      status: 'False'
      type: OperationFailed
  status: AddonDeploySuccessful

dynamic images (for double-check of the changed images):

image image

cluster metrics:
image

vm metrics:
image

link to open prometheus, grafana, alertmanager are all ok

B. Upgrade

  1. Install v171 cluster, don't enable addon
  2. Upgrade to v180, upgarde is not blocked, after upgrade, addons versions are upgraded, addons can be enabled
  3. Install v171 cluster, enable monitoring, logging addons
  4. Upgrade to v180, upgarde is not blocked, after upgrade, addons versions are upgraded, addons are in good state

C. Rancher integration

Register Harvester to Rancher Manager, and observe the monitoring charts, access embedded grafana...

image

Local test is ongoing.

Additional documentation or context

To be merged with harvester/addons#231 together.

History bump: harvester/harvester#8930

@mergify
Copy link

mergify bot commented Feb 12, 2026

This pull request is now in conflict. Could you fix it @w13915984028? 🙏

Copy link
Member

@wheatdog wheatdog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. overall LGTM. Just one question.

docker.io/rancher/kubectl:v1.29.2
docker.io/rancher/kubectl:v1.32.3
docker.io/rancher/kubectl:v1.33.1
docker.io/rancher/kubectl:v1.34.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious of how do we determine which kubectl version to keep. This PR removes v1.29.2, v1.32.3 and keeps v1.33.1, v1.34.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants