## OpenStack-ception #### Unleash the Power of OpenStack ![OVH](data/ovhcloud_white.png) #### Arnaud Morin
### Who am I?

What are we going to talk about?

1 - A little bit of context

2 - OpenStack-ception

3 - A demo

# Context

OVHcloud

  • Created by Octave Klaba in 1999
  • Baremetal servers

OpenStack

  • Started in 2012 (swift)
  • First ping in 2014/2015 (juno)
  • First regions are still there! (caracal now)

Figures

  • 40+ production regions
  • 30k hypervisors
  • Biggest region is almost 3k computes
  • 500k instances
#### it's not only you...
#### ... but not today
# OpenStack-ception

A bug?

  • I found a bug in my downstream code
  • Is upstream affected?

first idea: devstack

  • DevStack, but
  • ... not very aligned with real-world
  • ... all in one
  • ... take time to configure
  • ... rely on master branch

second idea: bootstrap-openstack

  • Start OpenStack on top of our OVH OpenStack
  • ... it is quick (5m)
  • ... multi node by default
  • ... easy to read, easy to tune
  • ... rely on stable branches

How it works

  • OpenTofu starts 5 instances
    • 1 controler (named k8s)
    • 2 compute nodes
    • 2 network nodes
  • ... use cloud-init for setup
  • ... rely on pre-compiled packages (.deb and docker)
  • ... pre-create image, flavors, etc.
  • ... can use real public IPs
# HELM is HELL
# HELL is HELM

Behind the scene

  • Controller
    • Pure k8s yaml files
    • Templating is done using `frep`
  • Computes and networks
    • ansible playbook
#### Controller ![k8s](data/k8s.png)
#### Compute (and network) ![k8s](data/compute.png)
# Demo
## it fit my needs #### but maybe not yours

Questions?

https://github.com/arnaudmorin/bootstrap-openstack-k8s