{"id":18808808,"url":"https://github.com/nimbolus/k8s-openstack-node-upgrade-agent","last_synced_at":"2026-02-14T03:18:26.823Z","repository":{"id":65196364,"uuid":"434002131","full_name":"nimbolus/k8s-openstack-node-upgrade-agent","owner":"nimbolus","description":"Tool for upgrading OpenStack-based Kubernetes nodes, which use regular updated Glance images","archived":false,"fork":false,"pushed_at":"2025-03-19T16:18:31.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T17:45:30.932Z","etag":null,"topics":["kubernetes","openstack"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nimbolus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-01T22:14:51.000Z","updated_at":"2025-03-19T16:18:35.000Z","dependencies_parsed_at":"2025-05-22T02:10:21.181Z","dependency_job_id":"83fed4cf-8e1a-4129-b195-acee08df6d18","html_url":"https://github.com/nimbolus/k8s-openstack-node-upgrade-agent","commit_stats":null,"previous_names":["nimbolus/k8s-node-upgrade-agent"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nimbolus/k8s-openstack-node-upgrade-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fk8s-openstack-node-upgrade-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fk8s-openstack-node-upgrade-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fk8s-openstack-node-upgrade-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fk8s-openstack-node-upgrade-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimbolus","download_url":"https://codeload.github.com/nimbolus/k8s-openstack-node-upgrade-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fk8s-openstack-node-upgrade-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29433304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T02:20:56.896Z","status":"ssl_error","status_checked_at":"2026-02-14T02:11:29.478Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","openstack"],"created_at":"2024-11-07T23:14:21.441Z","updated_at":"2026-02-14T03:18:26.787Z","avatar_url":"https://github.com/nimbolus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-openstack-node-upgrade-agent\n\nUpgrade agent for OpenStack-based Kubernetes nodes, which are based on regular updated Glance images.\nIt uses [rancher/system-upgrade-controller](https://github.com/rancher/system-upgrade-controller) to drain the Kubernetes nodes one by one and rebuild the OpenStack instance with the latest image revision. It's also possible to migrate to another operating system by switching to a new image.\n\nThe upgrade process assumes that the OpenStack instances will provision itself via cloud-init after they got rebuilt. Also the cluster state should be stored elsewhere, e.g. in an OpenStack volume. Checkout [nimbolus/tf-k3s](https://github.com/nimbolus/tf-k3s) for such Kubernetes deployment.\n\n## Usage\n\n```sh\n./k8s-openstack-node-upgrade-agent --help\n  -duration duration\n    \tduration for verify option (default 1m0s)\n  -instanceUpgrade\n    \tupgrades the k8s node instance\n  -serveImageChannel\n    \tserve http endpoint for image channel (default true)\n  -verify\n    \tverify cluster health for a given time period\n```\n\n## Deployment\n\nFirst deploy the [rancher/system-upgrade-controller](https://github.com/rancher/system-upgrade-controller#deploying):\n```sh\nhelm repo add nimbolus-k8s-openstack-node-upgrade-agent https://nimbolus.github.io/k8s-openstack-node-upgrade-agent\nhelm repo update\nhelm install -n system-upgrade --create-namespace system-upgrade-controller nimbolus-k8s-openstack-node-upgrade-agent/system-upgrade-controller\n```\n\n### Upgrade cluster to a given image version\n\nAfter the system-upgrade-controller is ready, create a secret named `openstack-clouds` with OpenStack credentials like shown in [examples/openstack-clouds.yaml](./examples/openstack-clouds.yaml) (see also [OpenStack docs](https://docs.openstack.org/python-openstackclient/latest/cli/man/openstack.html#config-files)).\n\nThen checkout [examples/instance-upgrade-manual.yaml](./examples/instance-upgrade-manual.yaml) for an example upgrade plan.\n\n### Use a channel for regular upgrades\n\nOn OpenStack clouds where images get rebuild regularly to include the latest kernels and security patches, the system-upgrade-controller needs a channel endpoint to check for new image IDs. The k8s-openstack-node-upgrade-agent can also fullfil this requirement by serving an HTTP endpoint, which returns the latest ID for a given OpenStack image name.\n\nAfter the system-upgrade-controller is ready, deploy the node-upgrade-channel, remember to set the OpenStack credentials in the Helm values:\n```sh\nhelm install -n system-upgrade -f value_overrides.yaml system-upgrade-controller nimbolus-k8s-openstack-node-upgrade-agent/node-upgrade-channel\n```\n\nFinally checkout [examples/instance-upgrade-channel.yaml](./examples/instance-upgrade-channel.yaml) for an example upgrade plan.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbolus%2Fk8s-openstack-node-upgrade-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimbolus%2Fk8s-openstack-node-upgrade-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbolus%2Fk8s-openstack-node-upgrade-agent/lists"}