Last active
April 22, 2020 19:37
-
-
Save paurosello/fb93bb03d4f56d7a7e241a3432083cbd to your computer and use it in GitHub Desktop.
OneInfra K8Spin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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