Giter Club home page Giter Club logo

k8s-netbox's Introduction

k8s-netbox

A solution to deploy a Netbox environment on a Kubernetes cluster.

About PostgreSQL database

This deploy do not create a PostgreSQL database so you need to deploy a database separately.

Usage

Clone this repo

$ git clone https://github.com/ambrisolla/k8s-netbox.git

About LDAP Authentication

A simple configuration was created to provided LDAP authentication. Change netbox-configmap.yml to put your own information about authentication. LDAP bind password needs to be changed in netbox-secrets.yml file:

  # Settings to LDAP auth
  LDAP_SERVER: "brisa.io"
  LDAP_DN: "DC=brisa,DC=io"
  LDAP_BIND_DN: "CN=admin,DC=brisa,DC=io"

Edit netbox-secret.yml with your own passwords:

apiVersion: v1
data:
  LDAP_BIND_PASSWORD: aGV5d2hhdHN1cA== # ldap bind password
  SUPERUSER_PASSWORD: aGV5d2hhdHN1cA== # netbox admin password 
  DB_PASSWORD: aGV5d2hhdHN1cA==        # database password
kind: Secret
metadata:
  name: netbox
  namespace: netbox

Change host value in netbox-ingress.yml:

spec:
  ingressClassName: nginx
  rules:
  - host: "muzel.io" ## change here with your own domain
    http:
      paths:
      - backend:

Create a namespace called "netbox":

$ kubectl create ns netbox

Apply Kubernetes resource configurarion:

$ kubectl apply -f .

Architecture

k8s-netbox's People

Contributors

ambrisolla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.