Skip to content

Commit

Permalink
old-operator.yaml: update ci
Browse files Browse the repository at this point in the history
- use a ubuntu 20.04
- set nf_conntrack_max to avoid CrashLoopBackOff for kube proxy (see
kubernetes-sigs/kind#2240 (comment))
- print cluster info as soon as KinD is up

Signed-off-by: Mattia Mazzucato <matt.mazzucato@gmail.com>
  • Loading branch information
matt-mazzucato committed Jul 1, 2021
1 parent 5668a88 commit 002b5ea
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/old-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -36,6 +36,11 @@ jobs:
kustomize: 3.5.5
helm: 2.16.7
helmv3: 3.2.1
- name: Set nf_conntrack_max value
# This step is required to avoid CrashLoopBackOff for kube-proxy
# see https://github.com/kubernetes-sigs/kind/issues/2240#issuecomment-838510890
run: |
sudo sysctl net/netfilter/nf_conntrack_max=131072
- uses: container-tools/kind-action@v1
with:
version: "v0.8.1"
Expand All @@ -49,6 +54,9 @@ jobs:
run: |
kubectl cluster-info
kubectl get pods -n kube-system
- name: Dump cluster info
run: |
kubectl cluster-info dump
- name: Download astartectl
run: |
curl -L -o astartectl https://github.com/astarte-platform/astartectl/releases/download/v0.10.4/astartectl_linux_amd64
Expand Down

0 comments on commit 002b5ea

Please sign in to comment.