Skip to content

Commit

Permalink
Merge pull request #355 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
CI fixes
  • Loading branch information
AkihiroSuda authored Dec 11, 2024
2 parents 89ed809 + 7678037 commit a1cd2d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/reusable-multi-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
LIMA_TEMPLATE: "${{ matrix.lima_template }}"
CONTAINER_ENGINE: "${{ matrix.container_engine }}"
LIMA_TEMPLATE: "${{ inputs.lima_template }}"
CONTAINER_ENGINE: "${{ inputs.container_engine }}"
PORT_KUBE_APISERVER: "${{ inputs.kube_apiserver_port }}"
PORT_FLANNEL: "${{ inputs.flannel_port }}"
PORT_KUBELET: "${{ inputs.kubelet_port }}"
Expand Down Expand Up @@ -68,18 +68,15 @@ jobs:
gh attestation verify --owner=lima-vm "${FILE}"
sudo tar Cxzvf /usr/local "${FILE}"
rm -f "${FILE}"
# For the GHA cache key
echo "LIMA_VERSION=${LIMA_VERSION}" >>$GITHUB_ENV
- name: "Cache ~/.cache/lima"
uses: actions/cache@v4
with:
path: ~/.cache/lima
key: lima-${{ env.LIMA_VERSION }}
key: lima-${{ env.LIMA_VERSION }}-${{ inputs.lima_template }}

- name: "Relax disk pressure limit"
run: |
set -x
sudo snap install yq
yq -i 'select(.kind=="KubeletConfiguration").evictionHard."imagefs.available"="3Gi"' kubeadm-config.yaml
- run: ./hack/create-cluster-lima.sh
- run: kubectl taint nodes --all node-role.kubernetes.io/control-plane- || true
- run: ./hack/test-smoke.sh
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Usernetes (Gen2) deploys a Kubernetes cluster inside [Rootless Docker](https://rootlesscontaine.rs/getting-started/docker/),
so as to mitigate potential container-breakout vulnerabilities.

> **Note**
> [!NOTE]
>
> Usernetes (Gen2) has *significantly* diverged from the original Usernetes (Gen1),
> which did not require Rootless Docker to be installed on hosts.
Expand Down Expand Up @@ -188,5 +188,5 @@ make up
![docs/images/multi-tenancy.png](./docs/images/multi-tenancy.png)

### Rootful mode
- Although Usernetes (Gen2) is designed to be used with Rootless Docker, it should work with the regular "rootful" Docker too.
This might be useful for some people who are looking for "multi-host" version of [`kind`](https://kind.sigs.k8s.io/) and [minikube](https://minikube.sigs.k8s.io/).
Although Usernetes (Gen2) is designed to be used with Rootless Docker, it should work with the regular "rootful" Docker too.
This might be useful for some people who are looking for "multi-host" version of [`kind`](https://kind.sigs.k8s.io/) and [minikube](https://minikube.sigs.k8s.io/).

0 comments on commit a1cd2d0

Please sign in to comment.