-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade containerd to 1.6.2 and CNI to 0.9.1
Upgrades containerd, and switches to the official 64-bit ARM binary. Continues to use my binary for 32-bit arm hosts. CNI upgraded to v0.9.1 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
- Loading branch information
Showing
614 changed files
with
21,574 additions
and
16,249 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#cloud-config | ||
package_update: true | ||
|
||
packages: | ||
- runc | ||
- git | ||
|
||
runcmd: | ||
- curl -sLSf https://github.com/containerd/containerd/releases/download/v1.6.2/containerd-1.6.2-linux-amd64.tar.gz > /tmp/containerd.tar.gz && tar -xvf /tmp/containerd.tar.gz -C /usr/local/bin/ --strip-components=1 | ||
- curl -SLfs https://raw.githubusercontent.com/containerd/containerd/v1.6.2/containerd.service | tee /etc/systemd/system/containerd.service | ||
- systemctl daemon-reload && systemctl start containerd | ||
- /sbin/sysctl -w net.ipv4.conf.all.forwarding=1 | ||
- mkdir -p /opt/cni/bin | ||
- curl -sSL https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-linux-amd64-v0.8.5.tgz | tar -xz -C /opt/cni/bin | ||
- mkdir -p /go/src/github.com/openfaas/ | ||
- mkdir -p /var/lib/faasd/secrets/ | ||
- echo ${gw_password} > /var/lib/faasd/secrets/basic-auth-password | ||
- echo admin > /var/lib/faasd/secrets/basic-auth-user | ||
- cd /go/src/github.com/openfaas/ && git clone --depth 1 --branch 0.13.0 https://github.com/openfaas/faasd | ||
- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.13.0/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" | ||
- cd /go/src/github.com/openfaas/faasd/ && /usr/local/bin/faasd install | ||
- systemctl status -l containerd --no-pager | ||
- journalctl -u faasd-provider --no-pager | ||
- systemctl status -l faasd-provider --no-pager | ||
- systemctl status -l faasd --no-pager | ||
- curl -sSLf https://cli.openfaas.com | sh | ||
- sleep 5 && journalctl -u faasd --no-pager |
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
Oops, something went wrong.