Git Product home page Git Product logo

davoszabo / k3s-ansible Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 51 KB

Build a Kubernetes cluster using Ansible with k3s. The goal is easily install a HA Kubernetes cluster with a base Traefik Ingress Controller with cert-manager, storage provisioning with Longhorn, and setting up SSO with Authentik.

License: Apache License 2.0

Jinja 100.00%
ansible authentik cert-manager k3s kubernetes longhorn sso treafik

k3s-ansible's Introduction

Automated build of HA k3s Cluster with kube-vip, basic Traefik ingress deployment, Longhorn and more.

πŸ™Œ This project was based on the following excellent repositories:

Huge thanks to them!

πŸ“– Overview

Build a Kubernetes cluster using Ansible with k3s. The goal is easily install a HA Kubernetes cluster with a base Traefik Ingress Controller with cert-manager, storage provisioning with Longhorn, and setting up SSO with Authentik.

βœ… System requirements

  • Control Node (the machine you are running ansible commands) must have Ansible 2.11+ If you need a quick primer on Ansible you can check out my docs and setting up Ansible.

  • You will also need to install collections that this playbook uses by running ansible-galaxy collection install -r ./collections/requirements.yml ( important❗)

  • netaddr package must be available to Ansible. If you have installed Ansible via apt, this is already taken care of. If you have installed Ansible via pip, make sure to install netaddr into the respective virtual environment.

  • server and worker nodes should have passwordless SSH access, if not you can supply arguments to provide credentials --ask-pass --ask-become-pass to each command.

πŸš€ Getting Started

🍴 Preparation

COMING SOON

☸️ Create Cluster

Start provisioning of the cluster using the following command:

COMING SOON

πŸ”¨ Testing

COMING SOON

k3s-ansible's People

Contributors

davoszabo 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.