Canine.sh
  • Canine Documentation
  • Getting Started
    • Quickstart
      • (Optional) Install Canine locally
      • Set up a Kubernetes cluster
      • Connect a Github project
      • Create your first service
      • Deploy a Redis database
      • Preview the app with a private connection
      • Configure DNS & LetsEncrypt SSL certificate
  • Basics
    • Clusters
    • Projects
      • Services
        • Web Services
        • Background Workers
        • Cron Jobs
      • Processes & one off pods
      • Volumes
    • Add Ons
    • Integrations
  • Technical Details
    • Canine Architecture
    • Kubernetes Crash Course
      • Introduction
      • Containers & Pods
      • Deployments
      • Namespaces
      • Services
      • Ingress
  • Canine
  • Our Manifesto
Powered by GitBook
On this page
  • Create a server on Hetzner
  • Create a Cluster
  1. Getting Started
  2. Quickstart

Set up a Kubernetes cluster

Previous(Optional) Install Canine locallyNextConnect a Github project

Last updated 3 months ago

Kubernetes supports both managed Kubernetes, and single VPS instances's as options. In this tutorial, we will be using Hetzner.

Create a server on Hetzner

For the purposes of this tutorial, I have a Ubuntu server created on Hetzner with the IP address 5.161.197.8.

Create a Cluster

Navigate to Clusters → + New Cluster.

Give your cluster a name, and select Single VPS Installation.

In this case, our demo server is 5.161.197.8. SSH into the server and run the commands shown on Canine, which will prepare the server for canine.

curl -sfL https://get.k3s.io | sh -s - --disable traefik
sudo cat /etc/rancher/k3s/k3s.yaml
# Copy the output and paste into Canine.

Create the cluster, and Canine will start installing dependencies to the cluster.