GithubHelp home page GithubHelp logo

alessiodionisi / packer-hcloud-kubernetes Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 23 KB

Kubernetes image for Hetzner Cloud, can be used with Kubernetes Cluster API

Shell 65.62% HCL 34.38%
cluster-api containerd hcloud hetzner kubernetes packer

packer-hcloud-kubernetes's Introduction

Kubernetes image for Hetzner Cloud

This Packer project creates an image to spin up Kubernetes clusters with kubeadm or Kubernetes Cluster API on Hetzner Cloud.

Features

  • All requirements to setup a Kubernetes cluster with kubeadm
  • containerd as container runtime
  • AMD64 and ARM64 support
  • IPv4/IPv6 dual-stack networking support
  • Integrity of downloaded files verified with sha256sum
  • Images used by kubeadm pulled as building step

Getting started

Set HCLOUD_TOKEN environment variable or token variable and run packer build, for example:

export HCLOUD_TOKEN=xxxx
packer build .

To build an ARM64 image, set server_type variable to cax11:

export HCLOUD_TOKEN=xxxx
packer build -var server_type=cax11 .

Variables

Name Description Default
cni_plugins_version cni plugins version 1.4.0
containerd_sandbox_image containerd sandbox image, should match k8s one registry.k8s.io/pause:3.9
containerd_version containerd version 1.7.13
crictl_version crictl version 1.29.0
image Hetzner Cloud base image debian-12
kubernetes_release_tooling_version kubernetes release tooling version 0.16.5
kubernetes_version kubernetes version 1.29.2
location Hetzner Cloud location nbg1
runc_version runc version 1.1.12
server_type Hetzner Cloud server type cpx11
token Hetzner Cloud token to access APIs HCLOUD_TOKEN environment variable

packer-hcloud-kubernetes's People

Contributors

alessiodionisi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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