https://github.com/projectsyn/system-upgrade-controller-package-upgrade
Package upgrade script for System Upgrade Controller
https://github.com/projectsyn/system-upgrade-controller-package-upgrade
suc system-upgrade-controller upgrades
Last synced: about 1 month ago
JSON representation
Package upgrade script for System Upgrade Controller
- Host: GitHub
- URL: https://github.com/projectsyn/system-upgrade-controller-package-upgrade
- Owner: projectsyn
- Created: 2020-02-11T08:54:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T09:10:14.000Z (3 months ago)
- Last Synced: 2025-03-25T21:35:51.198Z (about 2 months ago)
- Topics: suc, system-upgrade-controller, upgrades
- Language: Shell
- Homepage:
- Size: 54.7 KB
- Stars: 2
- Watchers: 9
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Syn: System Upgrade Controller OS Package Upgrade Script
Script for running OS upgrades. Companion to [System Upgrade Controller](https://github.com/rancher/system-upgrade-controller/).
Also contains a sample Grafana Dashboard and some bootstrapping scripts to setup a k3s cluster and a plan to invoke for Ubuntu.
The Grafana folder contains an example dashboard for SUC monitoring. Requires a working Prometheus/Grafana setup.
testing contains some scripts and test objects useful for development and, you guessed it, testing.
## Usage
```bash
/scripts/run.sh [-u] [-s] [pushgateway_url]
```Arguments:
* `-p`: Don't run `apt-get update` during maintenance window, but use cached package lists from Docker image.
* `-s`: Don't override the sources.list on the host with the one from the docker image.
* `pushgateway_url`: URL of Prometheus pushgateway. Used to push detailed upgrade job metrics into Prometheus.## Docker images
Images are avaiable on DockerHub for
* [Ubuntu Bionic](https://hub.docker.com/r/projectsyn/suc-ubuntu-bionic)
* [Ubuntu Focal](https://hub.docker.com/r/projectsyn/suc-ubuntu-focal)* Every Monday, at 9:00 UTC new images are built and pushed to DockerHub using the date (formatted as `YYYYMMDD`) as the tag.
* On pushes to `master`, images are built and pushed to DockerHub using tag `latest`.