Skip to content

Usernetes Gen2: depends on Rootless Docker on hosts #361

Usernetes Gen2: depends on Rootless Docker on hosts

Usernetes Gen2: depends on Rootless Docker on hosts #361

Workflow file for this run

---
name: Main
on: [push, pull_request]
env:
DOCKER_BUILDKIT: 1
KUBECONFIG: ./kubeconfig
jobs:
single-node:
name: "Single node"
runs-on: ubuntu-22.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v3
- name: Set up cgroup v2 delegation
run: |
sudo mkdir -p /etc/systemd/system/[email protected]
cat <<EOF | sudo tee /etc/systemd/system/[email protected]/delegate.conf
[Service]
Delegate=cpu cpuset io memory pids
EOF
sudo systemctl daemon-reload
- name: Set up Rootless Docker
run: |
set -eux -o pipefail
sudo apt-get remove moby-engine-*
curl https://get.docker.com | sudo sh
dockerd-rootless-setuptool.sh install -f
docker info
- run: make up
- run: make kubeadm-init
- run: make install-flannel
- run: make kubeconfig
- run: kubectl get pods -A