sudo dnf install -y make python git gcc automake autoconf libcap-devel systemd-devel yajl-devel libseccomp-devel pkg-config libgcrypt-devel go-md2man glibc-static python3-libmount libtool
mkdir code
cd code/
git clone https://github.com/containers/crun.git
cd crun/
./autogen.sh
./configure
make
sudo dnf install podman
# configuration is based on https://github.com/containerd/containerd/blob/v1.6.0-rc.1/docs/cri/config.md | |
version = 2 | |
root = "/var/data/cripersistentstorage" | |
state = "/run/containerd" | |
oom_score = 0 | |
[grpc] | |
address = "/run/containerd/containerd.sock" | |
uid = 0 | |
gid = 0 |
For subnets this error may occour:
terraform init
Initializing modules...
Downloading registry.terraform.io/cloud-native-toolkit/vpc/ibm 1.17.0 for ibm-vpc...
- ibm-vpc in .terraform/modules/ibm-vpc
Downloading registry.terraform.io/cloud-native-toolkit/vpc-gateways/ibm 1.10.0 for ibm-vpc-gateways...
- ibm-vpc-gateways in .terraform/modules/ibm-vpc-gateways
Downloading registry.terraform.io/cloud-native-toolkit/vpc-subnets/ibm 1.14.0 for ibm-vpc-subnets...
Loved this article and decided to take it for a drive. https://productionwithscissors.run/2022/09/04/containerd-linux-on-freebsd/ These notes are nits really and likely most people will find there way around them. That said I thought I would share as people new to FreeBSD may not have the patience.
- In FreeBSD R13.1 The default go is 1.18 so use
ln -s /usr/local/go118 /usr/local/go
- Make sure you run bash and not sh by running
bash
before the other commands - For containerd
gmake install
failed had to rungmake
thengmake install
https://github.com/tnorlin/kubernetes/releases/tag/v1.24.4-freebsd
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kube-apiserver
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kube-controller-manager
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kube-scheduler
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kubectl
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kubectl-convert
wget https://github.com/tnorlin/kubernetes/releases/download/v1.24.4-freebsd/kubelet
sudo pkgin install gmake
sudo pkgin install gcc5
sudo pkg install onbld
sudo mv /usr/bin/make /usr/bin/smake
sudo ln -s /usr/bin/gmake /usr/bin/make
sudo ln -s /usr/gnu/i386\-pc\-solaris2.11/bin/ar /usr/bin/ar
sudo ln -s /usr/gnu/i386\-pc\-solaris2.11/bin/nm /usr/bin/nm
sudo ln -s /opt/local/gcc5/bin/gcc /opt/local/bin/gcc
sudo ln -s /opt/local/gcc5/bin/g++ /opt/local/bin/g++
I hereby claim:
- I am no9 on github.
- I am antonwhalley (https://keybase.io/antonwhalley) on keybase.
- I have a public key whose fingerprint is BED0 79E6 7FD4 31E4 5301 B1C9 949E 671B 46AC 8A34
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# $FreeBSD: releng/11.0/etc/rc.d/consuld 298514 2016-04-23 16:10:54Z lme $ | |
# | |
# PROVIDE: consuld | |
# REQUIRE: LOGIN FILESYSTEMS | |
# KEYWORD: shutdown | |
. /etc/rc.subr |
OS level virtualisation is attracting a lot of attention at the moment. A list of the technologies is available here http://blog.aquasec.com/a-brief-history-of-containers-from-1970s-chroot-to-docker-2016
A far more detailed history of the formative years is available here
This lab assumes that the reader is familiar with basic Kubernetes concepts. See the IBM Cloud Kubernetes Service Lab for a refresher of these concepts.
Before you begin, you need to install the required CLIs to manage your Kubernetes clusters. IBM provides an installer here to get all of these tools together. There are instructions for how to obtain the tools manually if desired. The following tools are used in this lab:
- kubectl CLI
kubectl
is a command line interface for running commands against Kubernetes clusters.