nautobot

by Nautobot

Helm chartv3.2.0App 3.0Apache-2.0Verified publisher

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

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

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartscommon2.34.0
oci://registry-1.docker.io/bitnamichartspostgresql12.12.10
oci://registry-1.docker.io/bitnamichartsredis18.19.4

Celery Values

KeyTypeDefaultDescription
celery.affinityAffinity{}[ref] Affinity for Nautobot Celery Worker pods assignment
celery.annotationsmap[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.autoscalingobjectSee values.yaml[ref] Define a horizontal pod autoscaler
celery.autoscaling.enabledboolfalseAdd an horizontal pod autoscaler for the Celery Worker
celery.celery_health_probes_as_filesbooltrue[ref]Celery Health probes as files to be used in liveness/readiness probes
celery.command[]stringSee values.yamlOverride default Nautobot Celery Worker container command (useful when using custom images)
celery.concurrencyint0[ref]Concurrency Setting (0: use the default which is the number of CPUs available on your system)2
celery.containerSecurityContextSecurityContextSee values.yaml[ref] Nautobot Celery Worker Container Security Context
celery.containerSecurityContext.enabledbooltrueEnable the Worker Celery Container security context
celery.enabledbooltrueEnables 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.lifecycleHooksLifecycle{}lifecycleHooks for the Nautobot Celery Worker container(s) to automate configuration before or after startup
celery.livenessProbeProbeSee values.yaml[ref] Nautobot Celery Worker liveness probe
celery.metricsPortint8080[ref] Ports for Prometheus metric HTTP server running on the celery worker(s) if nautobot.metrics is true
celery.nodeAffinityPresetobjectSee values.yaml[ref] Nautobot Celery Worker Node Affinity preset
celery.nodeAffinityPreset.keystring""Node label key to match. Ignored if nautobot.affinity is set
celery.nodeAffinityPreset.typestring""Nautobot Celery Worker Node affinity preset type. Ignored if nautobot.affinity is set. Valid values: soft or hard
celery.nodeAffinityPreset.valueslist[]Node label values to match. Ignored if nautobot.affinity is set
celery.nodeSelectorNodeSelector{}[ref] Node labels for Nautobot Celery Worker pods assignment
celery.pdbobjectSee values.yaml[ref] Nautobot Pod Distribution Budget
celery.podAffinityPresetsoft, hard""[ref] Nautobot Celery Worker Pod affinity preset. Ignored if nautobot.affinity is set. Valid values: soft or hard
celery.podAnnotationsmap[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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnautobot is pinned at v3.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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