Git Product home page Git Product logo

Comments (3)

onedr0p avatar onedr0p commented on May 19, 2024 1

What is the minimum number of host required?

You can run a single node k3s cluster but if going more than that it's suggested to use 3 control plane nodes for proper HA.

My system say task is not a command when I run task pre-commit:init but pre-commit command did something

You probably don't have task installed or it is not in your $PATH

Logically; I believe the section ...

The reason AGE section is before the Configuration section is that you need to fill out the BOOTSTRAP_AGE_PUBLIC_KEY which you will only get by completing the AGE section first.

from cluster-template.

JOduMonT avatar JOduMonT commented on May 19, 2024

So I worked on a real computer today, not via my smartphone and I wrote those notes about how to install the requirement.
I'm running Debian SID, which is compatible with Ubuntu Focal

git AS ROOT

apt install -y git

Ansible AS ROOT

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible-with-pip

echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main" > /etc/apt/sources.list.d/ansible.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
apt update
apt install -y ansible

OR INSTALL IT AS USER

sudo apt install -y curl python3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py --user
python3 -m pip install --user ansible

dirEnv AS ROOT

https://github.com/direnv/direnv/blob/master/docs/installation.md

curl -sfL https://direnv.net/install.sh | bash

OR for Debian/Ubuntu AS ROOT

apt install -y direnv

flux AS ROOT

https://fluxcd.io/docs/installation/

curl -s https://fluxcd.io/install.sh | bash

age AS ROOT

https://github.com/FiloSottile/age#installation

apt install -y age

task

https://github.com/go-task/task/releases

wget -O /tmp/task.deb https://github.com/go-task/task/releases/download/v3.10.0/task_linux_amd64.deb
dpkg -i /tmp/task.deb

ipcalc AS ROOT

apt install -y ipcalc

ipcalc AS ROOT

apt install -y ipcalc jq

kubectl AS ROOT

apt update
apt install -y apt-transport-https ca-certificates curl
curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" > etc/apt/sources.list.d/kubernetes.list
apt update
apt install -y kubectl

OR INSTALL IT AS USER

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
mkdir -p ~/.local/bin/kubectl
mv ./kubectl ~/.local/bin/kubectl
# and then append (or prepend) ~/.local/bin to $PATH

sops

https://github.com/mozilla/sops/releases

required GoLang AS ROOT

wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz

AS ROOT

wget -O /tmp/sops.deb https://github.com/mozilla/sops/releases/download/v3.7.1/sops_3.7.1_amd64.deb
dpkg -i /tmp/sops.deb

terraform AS ROOT

curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
apt update
apt install -y terraform

OR with DEBIAN TESTING/SID

curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
echo "deb [arch=amd64] https://apt.releases.hashicorp.com focal main" > /etc/apt/sources.list.d/hashicorp.list
apt update
apt install -y terraform

@onedr0p do you think those notes could be useful in the wifki ?
and yes if; I'll polish them — but where I should integrate them ?

from cluster-template.

onedr0p avatar onedr0p commented on May 19, 2024

I appreciate the thought but not everyone uses Linux (or Debian) and it's probably best to point to the official docs on how to install and/or configure these tools.

Most methods of installation are easily figured out in a "how to install tool x on y OS" web search and I really think people should be able to figure that part out, like you have 🙂

from cluster-template.

Related Issues (20)

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.