Skip to content

🧪 My fully automated self-hosting infrastructure.

License

Notifications You must be signed in to change notification settings

aaqaishtyaq/lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab

Create a k3s cluster on Oracle Cloud's free for life tier.

This was initially based on this Medium article

Trying to make the setup more stable and tailored to my needs which are:

  • No separate "DB" machine; databases can run on the cluster too
  • One x86 master and an aarch64 worker node
  • Make the loadbalancer and ingress use 443 and 80, and have a cert-manager for letsencrypt certificates
  • Be able to use any ports? -> eg for a jamulus server
  • Try and use longhorn or something so we have a distributed persistent storage

Features

Infrastructure

Oracle Cloud was chosen due to their very generous free tier.

Provider Service Usage Pricing
Oracle Cloud Virtual Cloud Network 1 Free
Oracle Cloud VM.Standard.E2.1.Micro (AMD64) 1 core, 1GB mem Free
Oracle Cloud VM.Standard.A1.Flex (ARM) 4 cores, 24GB mem Free
Oracle Cloud Block Storage 200GB Free

Applications

  • Web analytics
  • Tailscale VPN
  • Cgit
  • TBD

TODO

  • fix iptables so metrics etc work
    • Set in cloud-init does not survive reboot - make it permanent
  • Fix nginx-controller
    • resource requests so HPA can work
    • Make sure that the controller pod(s) do(es) not start on server
  • Try out loadbalancer
  • Make a network loadbalancer for non-http traffic
  • Try out trafik instead of nginx as ingress
  • Long goal - longhorn?

About

🧪 My fully automated self-hosting infrastructure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published