nautobot
by Nautobot
Nautobot is a Network Source of Truth and Network Automation Platform.
About this chart
nautobot
Nautobot is a Network Source of Truth and Network Automation Platform.
Source Code
Documentation
Please see our official documentation site for more information.
Prerequisites
- Kubernetes 1.24 or newer (older versions of Kubernetes may work, however, we try to keep this chart updated to supported versions of Kubernetes)
- Helm 3.1.x or newer (installation)
- Persistent Volume (PV) provisioning support (Required if deploying the PostgreSQL chart)
Quick Start
Add the Nautobot Helm Repo
helm repo add nautobot https://nautobot.github.io/helm-charts/
Install the Nautobot Chart from the Nautobot repo
To install the chart with the release name nautobot (NOTE: the release name is a label completely up to the user) DB and Redis passwords are required:
helm install nautobot nautobot/nautobot --set postgresql.auth.password="change-me" --set redis.auth.password="change-me"
This command deploys Nautobot, on the Kubernetes cluster, in the default configuration. The Values section lists the parameters that can be customized during installation.
Tip: List all releases using
helm list
Accessing Nautobot
Immediately after install Helm will present the user with help text similar to the following:
*********************************************************************
*** PLEASE BE PATIENT: Nautobot may take a few minutes to install ***
*********************************************************************
1. Get the Nautobot URL:
echo "Nautobot URL: http://127.0.0.1:8080/"
kubectl port-forward --namespace default svc/nautobot 8080:80
2. Get your Nautobot login admin credentials by running:
echo Username: admin
echo Password: $(kubectl get secret --namespace default nautobot-env -o jsonpath="{.data.NAUTOBOT_SUPERUSER_PASSWORD}" | base64 --decode)
echo api-token: $(kubectl get secret --namespace default nautobot-env -o jsonpath="{.data.NAUTOBOT_SUPERUSER_API_TOKEN}" | base64 --decode)
This message should include basic information about connecting to Nautobot as well as accessing the superuser credentials if they were created. Nautobot can take several minutes to deploy, you will need to wait until that is complete before accessing Nautobot.
After several minutes, by default, a Nautobot super user will be created and you will be able to log in to Nautobot. The default username is admin and the default password
was randomly generated by helm, you can find the password by running the following command:
kubectl get secret nautobot-env -o jsonpath="{.data.NAUTOBOT_SUPERUSER_PASSWORD}" | base64 --decode
Nautobot as a subchart
See Nautobot as a Subchart in the Advanced Usage section of the documentation
Upgrading
See Upgrading
Uninstalling the Chart
See Uninstall
Requirements
| Repository | Name | Version |
|---|---|---|
| oci://registry-1.docker.io/bitnamicharts | common | 2.34.0 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.12.10 |
| oci://registry-1.docker.io/bitnamicharts | redis | 18.19.4 |
Celery Values
| Key | Type | Default | Description |
|---|---|---|---|
| celery.affinity | Affinity | {} | [ref] Affinity for Nautobot Celery Worker pods assignment |
| celery.annotations | map[string]string | {} | [ref] Annotations to be applied to Nautobot Celery Worker deployment resource |
| celery.args | []string | [] | Override default Nautobot Celery Worker container args (useful when using custom images) |
| celery.autoscaling | object | See values.yaml | [ref] Define a horizontal pod autoscaler |
| celery.autoscaling.enabled | bool | false | Add an horizontal pod autoscaler for the Celery Worker |
| celery.celery_health_probes_as_files | bool | true | [ref]Celery Health probes as files to be used in liveness/readiness probes |
| celery.command | []string | See values.yaml | Override default Nautobot Celery Worker container command (useful when using custom images) |
| celery.concurrency | int | 0 | [ref]Concurrency Setting (0: use the default which is the number of CPUs available on your system)2 |
| celery.containerSecurityContext | SecurityContext | See values.yaml | [ref] Nautobot Celery Worker Container Security Context |
| celery.containerSecurityContext.enabled | bool | true | Enable the Worker Celery Container security context |
| celery.enabled | bool | true | Enables the default Celery Worker for Nautobot |
| celery.extraEnvVars | []EnvVar | [] | Extra Env Vars to set only on the Nautobot Celery Worker pods |
| celery.extraEnvVarsCM | []string | [] | List of names of existing ConfigMaps containing extra env vars for Nautobot Celery Worker pods |
| celery.extraEnvVarsSecret | []string | [] | List of names of existing Secrets containing extra env vars for Nautobot Celery Worker pods |
| celery.extraVolumeMounts | []VolumeMount | [] | List of additional volumeMounts for the Nautobot Celery Worker containers |
| celery.extraVolumes | []Volume | [] | List of additional volumes for the Nautobot Celery Worker pod |
| celery.hostAliases | []HostAlias | [] | [ref] Nautobot Celery Worker pods host aliases |
| celery.initContainers | []Container | [] | [ref] Add additional init containers to the Nautobot Celery Worker pods |
| celery.lifecycleHooks | Lifecycle | {} | lifecycleHooks for the Nautobot Celery Worker container(s) to automate configuration before or after startup |
| celery.livenessProbe | Probe | See values.yaml | [ref] Nautobot Celery Worker liveness probe |
| celery.metricsPort | int | 8080 | [ref] Ports for Prometheus metric HTTP server running on the celery worker(s) if nautobot.metrics is true |
| celery.nodeAffinityPreset | object | See values.yaml | [ref] Nautobot Celery Worker Node Affinity preset |
| celery.nodeAffinityPreset.key | string | "" | Node label key to match. Ignored if nautobot.affinity is set |
| celery.nodeAffinityPreset.type | string | "" | Nautobot Celery Worker Node affinity preset type. Ignored if nautobot.affinity is set. Valid values: soft or hard |
| celery.nodeAffinityPreset.values | list | [] | Node label values to match. Ignored if nautobot.affinity is set |
| celery.nodeSelector | NodeSelector | {} | [ref] Node labels for Nautobot Celery Worker pods assignment |
| celery.pdb | object | See values.yaml | [ref] Nautobot Pod Distribution Budget |
| celery.podAffinityPreset | soft, hard | "" | [ref] Nautobot Celery Worker Pod affinity preset. Ignored if nautobot.affinity is set. Valid values: soft or hard |
| celery.podAnnotations | map[string]string | {} | [[ref](https://kubernetes.io/docs/concepts/overvi |
Deploy nautobot with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nautobot on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartnautobot is pinned at v3.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply