Skip to content

Instantly share code, notes, and snippets.

@paurosello
Last active April 22, 2020 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paurosello/fb93bb03d4f56d7a7e241a3432083cbd to your computer and use it in GitHub Desktop.
Save paurosello/fb93bb03d4f56d7a7e241a3432083cbd to your computer and use it in GitHub Desktop.
OneInfra K8Spin
certstrap init --common-name "K8Spin OneInfra"
certstrap request-cert --common-name hypervisor-oneinfra-0
certstrap sign hypervisor-oneinfra-0 --CA K8Spin_OneInfra
cat K8Spin_OneInfra.crt K8Spin_OneInfra.key > K8Spin_OneInfra.pem
cat out/hypervisor-oneinfra-0.crt out/hypervisor-oneinfra-0.key >> out/hypervisor-oneinfra-0.pem
sudo apt-get update
sudo apt-get install containerd
systemctl enable containerd
systemctl status containerd
# Rootless: https://github.com/containerd/containerd/blob/master/docs/rootless.md
sudo ctr image pull docker.io/library/hello-world:latest
sudo ctr container create docker.io/library/hello-world:latest demo
sudo ctr container list
sudo ctr container delete demo
sudo apt-get update
sudo apt-get install haproxy
systemctl enable haproxy
systemctl status haproxy
haproxy -v
# Config: https://kifarunix.com/configure-haproxy-with-ssl-on-ubuntu-18-04-debian-10-9/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment