Comments (3)
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.
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 ansibleOR 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 ansibledirEnv 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.debipcalc 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 kubectlOR 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 $PATHsops
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.debterraform 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 terraformOR 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.
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)
- Missing sudo password HOT 2
- Remove the use of `curl` in k0s hooks HOT 1
- RFC: Discover another way to handle validation outside of using Ansible HOT 1
- Remove maxHistory from helmreleases HOT 1
- Allow setting custom DNS server HOT 1
- Add longhorn as a addon
- IPv6 first Dualstack bootstrap HOT 1
- Validating kustomizations yields "found character that cannot start any token" HOT 2
- Support talos system extensions HOT 7
- Make the config file more structured
- Cluster user secrets not removed from template HOT 1
- Sops decrypt: can't find file /home/<user>/.config/sops/age/keys.txt HOT 2
- Drop support for k0s HOT 1
- task: Flux already installed, precondition not met during flux:bootstrap HOT 1
- readme has old variables
- Networking with cilium 1.15.0 does not work HOT 3
- Talos config assumes gateway is on .1 address HOT 5
- Ciliums BGP options should be moved outside of the talos config since k3s can also use it.
- Revert allowing flux to be disabled
- Add Pull Through Image Cache HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-template.