This is a very experimental implementation of NetBox for Kubernetes.
- Rook Ceph Block Storage (unless you change it)
- CloudNativePG (unless you change it)
- Ingress-NGINX (unless you change it)
Clone this repository:
git clone https://github.com/burbuja/netbox-in-kubernetes
Change the directory:
cd netbox-in-kubernetes
Edit the YAML file:
nano netbox.yaml
Apply it in Kubernetes:
kubectl apply -f netbox.yaml
Wait until the pods are running, then press Ctrl
+C
to exit:
watch kubectl -n netbox get po
You'll need to create a super user, then you may want to write the following command:
kubectl -n netbox exec -it deploy/netbox -- /opt/netbox/netbox/manage.py createsuperuser