Skip to content

NetBox Kubernetes


This Ansible role as part of our collection nofusscomputing.kubernetes is intended to be used to setup NetBox so that the settings for deploying a kubernetes cluster can be stored within NetBox.

Role Details

Item Value Description
Dependent Roles None
Optional Roles None
Idempotent Yes
Stats Available Not Yet
Tags Nil
Requirements None

Features

  • Adds custom fields to cluster object within NetBox that this collection can use to deploy a kubernetes cluster.

Info

Due to a bug in ansible module netbox.netbox.netbox_custom_field The fields are not created as they should be. For example, the fields are supposed to be set to only display when not empty. for more information see Github #1210. We have added a workaround so the fields are created.

Other than that, the fields are created as they should.

Usage

To configure NetBox, ensure that the NetBox Access variables are set and run playbook nofusscomputing.netbox.kubernetes_netbox. This will setup NetBox with the required fields that role nfc_kubernetes uses.

Default Variables

defaults/main.yaml

About:

This page forms part of our Project Kubernetes Ansible Collection.

Page Metadata
Version: ToDo: place files short git commit here
Date Created: 2023-10-24
Date Edited: 2024-04-23

Contribution:

Would You like to contribute to our Kubernetes Ansible Collection project? You can assist in the following ways:

 

ToDo: Add the page list of contributors