Coder Social home page Coder Social logo

talos-bootstrap's Introduction

talos-bootstrap

An interactive script for bootstrapping Kubernetes clusters on Talos OS.

Example: bootstrap full-feature Kubernetes cluster in 5 minutes: screencast

Installation

Install dependencies:

  • talosctl (>=1.6.0)
  • dialog
  • nmap

Install talos-bootstrap:

curl -LO https://github.com/aenix-io/talos-bootstrap/raw/master/talos-bootstrap
chmod +x ./talos-bootstrap
sudo mv ./talos-bootstrap /usr/local/bin/talos-bootstrap

Usage

  • Boot your nodes with Talos in maintenance mode.
    (booting from ISO or PXE using matchbox is the best option)
  • Create a directory for holding your cluster configuration.
  • Run talos-bootstrap command for every node in your cluster.

Options

USAGE:
        talos-bootstrap ACTION [OPTIONS]

ACTIONS:
        help            Show this help message.
        install         Setup a node for a new or existing cluster.
        upgrade         Upgrade a node in an existing cluster.
        reset           Reset and remove a node from an existing cluster.
        reboot          Reboot a node.
        shutdown        Shutdown a node.
        dashboard       Open dashboard for a node.

OPTIONS:
        -n, --node <address>    Node address

Customizations

You can specify your customizations in one of the following files:

  • patch.yaml - common settings used for all nodes.
  • patch-controlplane.yaml - settings used for controlplane nodes only
  • patch-worker.yaml - settings used for worker nodes only

Read the Configuration Patches documentation for more details.

Advanced configuration management

Looking for enhanced, non-interactive version of talos-bootstrap?

Take a look at Talm project.

Copyright

Andrei Kvapil [email protected]
Licensed under Apache 2.0 License

talos-bootstrap's People

Contributors

alexgluck avatar kvaps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

talos-bootstrap's Issues

Issues running on MacOS

Getting the error when running talos-bootstrap install. On MacOS 13.6.6 talosctl version v1.6.7

❯ talos-bootstrap install
/usr/local/bin/talos-bootstrap: line 126: syntax error near unexpected token `;;'
/usr/local/bin/talos-bootstrap: line 126: `        case " ${seen} " in *" ${mac} "*) continue ;; esac # remove duplicated nodes'

Worker.yaml file has wrong type: controlplane

Hello,
I've bootstraped a server in controlplane mode with almost all the default configurations and no patch or config files present, after files generated, I've noticed the worker.yaml file has type: controlplane instead of type: worker inside of it(but it is a correct worker file in other parts).
I think it's a bug, could you take a look at it?

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.