Ciprian Hacman
5746093297
Install contained from the release package
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-14 11:27:26 +02:00
Ciprian Hacman
dfd0f49594
Install runc from opencontainers/runc
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-12 14:02:43 +02:00
Ciprian Hacman
bf82a8f260
Update pause image to v3.6
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 13:00:36 +02:00
Ole Markus With
166860b668
Create cgroups for kube and runtime if configured
2021-12-20 13:36:45 +01:00
Kai Lueke
d93033ae75
Simplify Flatcar containerd exec command
...
The containerd command used in
https://github.com/kubernetes/kops/pull/12177 is a modification from
the torcx containerd unit. However, how torcx starts containerd is a
implementation detail and it's better to not hardcode torcx in case it
isn't used anymore.
Change the ExecStard command to use /usr/bin/containerd directly,
making it simpler and more future-proof.
2021-12-06 14:07:39 +01:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
Ole Markus With
2d013e460c
Install nvidia container runtime
2021-09-05 20:09:04 +02:00
Ciprian Hacman
84bdfd900d
Hardcode Flatcar containerd exec command
2021-08-19 09:50:08 +03:00
Ole Markus With
c17ec3a7e7
Move containerd config from cloudup to nodeup
2021-07-14 10:28:37 +02:00
Ole Markus With
e7fa3fa82c
Set containerd config on nodeup.Config instead of clusterspec
...
This allows us to set a default containerd config per IG (e.g add a different config for GPU IGs)
Can also be considered a cleanup as we no longer use containerd.overrideConfig as a mechanism for bringing the default containerd config from cloudup to nodeup.
2021-06-15 11:08:22 +02:00
Justin SB
071c090065
containerd installation: always configure, even if we don't install
...
Even if we don't install containerd (e.g. ContainerOS or Flatcar), we
likely still need to configure it; particularly in the case of
kubenet.
Additionally, on ContainerOS we can't change the path from
/etc/containerd/config.toml, so we have to write it there. We may in
future be able to use this on all distros.
2021-02-13 18:19:16 -05:00
Justin SB
c921aff34c
kubenet containerd: match upstream configuration
...
Configure kubenet in containerd/CNI mode to match upstream configuration.
Biggest change is a move to the ptp plugin.
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2021-02-11 08:25:55 -05:00
Ciprian Hacman
7aeb8c2af3
Add back support for kubenet style networking with containerd
2021-01-24 21:16:45 +02:00
Justin SB
f9c43bbb3e
containerd: Add /etc/crictl config to enable crictl
...
This configuration file means users don't have to pass the endpoint
to run crictl.
2021-01-14 23:05:47 -05:00
Ciprian Hacman
422cfad1da
Add containerd config file to Flatcar based instances
2021-01-06 15:33:17 +02:00
Ciprian Hacman
c02e5a20ea
Remove support for Kubenet with containerd
2020-12-27 18:21:16 +02:00
Ciprian Hacman
6986df9523
Update containerd.service file
2020-12-15 11:46:03 +02:00
Ciprian Hacman
c36262009b
Install container runtime packages as assets - Code Review 1
2020-10-23 11:05:41 +03:00
Ciprian Hacman
732a161313
Install container runtime packages as assets - Main
2020-10-14 15:41:51 +03:00
Ciprian Hacman
96e3fefd85
Update Docker to v19.03.13
2020-09-18 12:14:43 +03:00
Ciprian Hacman
fcc486d250
Update containerd to v1.4.1
2020-09-18 10:01:30 +03:00
Kubernetes Prow Robot
f1a0e0312f
Merge pull request #9777 from hakman/containerd-1.4.0
...
Add support for containerd v1.4.0
2020-08-18 14:45:11 -07:00
Ciprian Hacman
537ad60191
Add support for containerd v1.4.0
2020-08-18 10:04:18 +03:00
Ciprian Hacman
e68ee80a93
Move and rename the "distros" package
2020-08-17 07:25:43 +03:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Ciprian Hacman
234149559b
Restore default SELinux security contexts for container runtime binaries
2020-07-20 05:44:19 +03:00
Ciprian Hacman
219a2aed1d
Temporarily use containerd from Docker packages
2020-06-19 18:26:15 +03:00
Ciprian Hacman
c96052dfc8
ARM64 support - Add packages
2020-06-19 04:42:11 +03:00
Ciprian Hacman
73526d28af
Optimize package install for newer Containerd versions
2020-06-09 19:45:17 +03:00
Ciprian Hacman
654a0d2d8a
Detect supported architecture during node setup
2020-06-03 17:23:59 +03:00
John Gardiner Myers
2c02f0812c
Upgrade docker/containerd/containeros hashes to SHA256
2020-05-29 21:12:36 -07:00
Kubernetes Prow Robot
6830cf6d44
Merge pull request #9065 from johngmyers/remove-distro
...
Remove support for CoreOS and Jessie
2020-05-27 23:22:01 -07:00
John Gardiner Myers
2d98e5609c
Remove/fix more CoreOS references
2020-05-22 20:54:41 -07:00
Ole Markus With
fc0f7f237c
Fix UsesKubenet call in containerd.go
2020-05-22 09:14:36 +02:00
Ciprian Hacman
9d666c73bc
Use components.UsesKubenet to check if Kubenet is required
2020-05-19 20:43:33 +03:00
Ciprian Hacman
e608cd5265
Add support for Kubenet with containerd
2020-05-12 17:20:59 +03:00
John Gardiner Myers
06c6ac1bee
Remove support for CoreOS and Jessie
2020-05-04 23:09:52 -07:00
Justin SB
06c20ea223
Ubuntu focal: Use generic docker & container packages
...
download.docker.com doesn't have packages for ubuntu 20.04 (focal),
use the generic tar.gz versions instead.
2020-05-02 11:23:38 -04:00
Justin SB
2e11828cd3
Use raw tarfile for AmazonLinux2 + Containerd 1.2.10
...
The rpm containerd 1.2.10 package depends on container-selinux, which
isn't available on amazonlinux2. We can't just skip it, because we
can't install the package without its dependencies.
Instead, install from a binary package (tar.gz).
We do the same for dockker 18.09.9 and 19.03.4, as these would
otherwise depend on containerd 1.2.10.
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-04-30 22:59:57 -04:00
Ciprian Hacman
3de48dad8b
Add support for containerd v1.3.4
2020-04-20 06:11:37 +03:00
Ciprian Hacman
a57aba01bf
Update support for docker tgz package
2020-03-07 08:20:39 +02:00
Ciprian Hacman
7048755c0e
Add support for containerd v1.3.3
2020-02-07 08:01:09 +02:00
Ciprian Hacman
5f930683ed
Update support for Amazon Linux 2
2020-01-28 08:13:45 +02:00
Ciprian Hacman
2a6aeaff7c
Add support for containerd tar.gz package
2020-01-12 06:53:39 +02:00
Ciprian Hacman
3ea7a6aed6
Remove "pigz" containerd dependency for RHEL/CentOS 7
2020-01-10 18:05:11 +02:00
Ciprian Hacman
760c7b06b4
Use containerd 1.2.4 with Docker 18.09.3
2019-12-23 19:26:38 +02:00
Ciprian Hacman
c2d55ecdf3
Always require containerd version in nodeup
2019-12-16 15:17:57 +02:00
Ciprian Hacman
f1ffd9a7f6
Rename config option contained.configFile to containerd.configOverride
2019-12-16 00:59:26 +02:00
Ciprian Hacman
4c5693be0d
Remove unneeded version check
2019-12-15 21:57:12 +02:00
Ciprian Hacman
6dce39ffe1
Always set TasksMax=infinity for container friendly OSes
2019-12-15 21:37:57 +02:00