GitXplorerGitXplorer
m

ansible-k8s-hcloud

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
31d64a3c9d28c754acb0f47cfec75e6056d13773

upgrade: don't install OS upgrades

mmhutter committed 5 years ago
Verified
3773288e096ab2426089bbea63da5491a037d01a

upgrade: only upgrade 1 node at the same time

mmhutter committed 5 years ago
Verified
cf85dc66755f07ebc194ff9542be39e30b16b8b7

Add upgrade playbook

mmhutter committed 5 years ago
Verified
c42fec4d1dc163b768997192cf01098190a50252

Initial import :rocket:

mmhutter committed 5 years ago

README

The README file for this repository.

= Kubernetes on Hetzner Cloud setup =

Ansible Playbook & helper scripts to set up Kubernetes on Hetzner Cloud.

References:

== Preparation

  1. cp hosts.yml{.example,}
  2. cp group_vars/all.yml{.example,}
  3. Edit hosts.yml and group_vars/all.yml

== Kubeadm init


internal_ip="$(ifconfig ens10 | awk '/inet /{print $2}')" kubeadm init
--pod-network-cidr=10.244.0.0/16
--apiserver-cert-extra-sans "$internal_ip"

== Deploy CNI, CCM, CSI

On the master:


== Install FluxCD


export GHUSER=mhutter fluxctl install
--git-user=${GHUSER}
--git-email=${GHUSER}@users.noreply.github.com
--git-url=git@github.com:${GHUSER}/flux-hcloud.git
--namespace=flux | kubectl apply -f -

== License

MIT (see link:LICENSE[LICENSE])


https://hutter.io/[Manuel Hutter] - GitHub https://github.com/mhutter[@mhutter] - Twitter https://twitter.com/dratir[@dratir]