Skip to content

ComputerScienceHouse/netbox-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

733eb99 · Nov 4, 2024

History

62 Commits
Nov 4, 2024
Apr 3, 2024
Apr 3, 2024
Dec 1, 2021
Jan 22, 2024
Apr 3, 2024
Apr 3, 2024
Oct 11, 2021
Oct 15, 2021
Nov 4, 2024
Apr 3, 2024
Apr 3, 2024
Apr 3, 2024
Feb 17, 2024

Repository files navigation

CSH Netbox

OKD Containers for CSH's Netbox instance, now with CSH SSO!

Upgrading

First, pause rollouts to all netbox deployments in OKD:

kubectl rollout pause deployment/netbox-app -n netbox
kubectl rollout pause deployment/netbox-static -n netbox
kubectl rollout pause deployment/netbox-rqworker -n netbox

Then, try something like:

git -C netbox pull
git add netbox
git commit -m "netbox: bump to $(grep '^VERSION = ' netbox/netbox/netbox/settings.py | awk '{print $3}' | sed "s/'//g")"
git push

When the build finishes, we need to run database migrations:

kubectl create -n netbox -f migrate.yaml

Wait for the job to finish and complete.

When it's finished, you can unpause rollouts:

kubectl rollout resume deployment/netbox-app -n netbox
kubectl rollout resume deployment/netbox-static -n netbox
kubectl rollout resume deployment/netbox-rqworker -n netbox

I think that's it? Sorry if these instructions suck

About

Images and scripts for CSH's netbox deployment in OKD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published