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
cb2f667a13
Remove no longer available Docker versions
2020-04-06 17:53:58 +03:00
Ciprian Hacman
7e021c6f8f
Remove the default Docker version
2020-04-06 17:52:12 +03:00
Ciprian Hacman
73903bcb3d
Remove support for unreleased Docker 19.03.7
2020-04-06 17:34:59 +03:00
Kubernetes Prow Robot
dde4e267b5
Merge pull request #8748 from hakman/docker-19.03.8
...
Update Docker to 19.03.8 for 1.18
2020-03-15 07:06:35 -07:00
Ciprian Hacman
3310885064
Update Docker to 19.03.8 for 1.18
2020-03-15 12:31:26 +02:00
Ciprian Hacman
4d7aa9b0f3
Always run Docker "health-check" for older versions of Kubernetes
2020-03-15 09:51:03 +02:00
Ciprian Hacman
360a117e02
Add config option for Docker "health-check"
2020-03-15 09:51:03 +02:00
Ciprian Hacman
507230fe75
Move Docker "health-check" to DockerBuilder
2020-03-15 09:47:47 +02:00
Ciprian Hacman
a57aba01bf
Update support for docker tgz package
2020-03-07 08:20:39 +02:00
Ciprian Hacman
5f930683ed
Update support for Amazon Linux 2
2020-01-28 08:13:45 +02:00
Kubernetes Prow Robot
82b3bd5a0f
Merge pull request #8199 from hakman/containerd-tgz
...
containerd: Add support for tar.gz package
2020-01-26 22:53:02 -08:00
Justin SB
1d58f16d29
Fix & test docker package versions as well as hashes
...
Extend the existing "unit" test to check package versions, because
some of the docker packages now have a '5:' prefix.
Also correct the package versions that didn't have the prefix.
2020-01-17 09:30:02 -05:00
Ciprian Hacman
2a6aeaff7c
Add support for containerd tar.gz package
2020-01-12 06:53:39 +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
97f70ff7a5
Add Docker 19.03.4 and 18.09.9 for Ubuntu Xenial
2019-12-19 16:14:09 +02:00
Justin Santa Barbara
2c770aa7a5
Merge branch 'master' into split-containerd
2019-12-19 07:03:33 -05:00
Ciprian Hacman
d0f15a8e27
Add "pigz" dependency in a future commit
2019-12-17 09:47:47 +02:00
Ciprian Hacman
9d1ef68616
Parse Docker and containerd version using strconv.Atoi
2019-12-15 21:37:57 +02:00
Ciprian Hacman
42b73b877d
Add support for containerd container runtime
2019-12-15 21:37:57 +02:00
Ciprian Hacman
10b7d1e7b5
Don't consider recommended packages as a dependency for installing
2019-11-29 10:56:22 +02:00
Ciprian Hacman
d66dfc1ac1
Automatically install dependencies with local packages
2019-11-27 17:12:38 +02:00
Ciprian Hacman
777265931f
Add support for Docker 18.09.9
2019-11-04 12:00:11 +02:00
Ciprian Hacman
a716ac17f4
Add support for Docker 19.03.4
2019-10-31 11:42:47 +02:00
hwdef
bc7d07035b
dnsprovider: fix static check
2019-10-24 11:13:55 +08:00
Justin SB
cdcf72b0c9
Pull centos.org packages from the vault
...
This isn't as nice as debian's vault, in that it doesn't contain the
latest packages. But it appears that once a package is in the vault,
it should stay there.
Source from the vault to unbreak 1.13.
2019-09-25 10:15:28 -04:00
Kubernetes Prow Robot
30c6f65300
Merge pull request #6957 from austinmoore-/skip-docker-install
...
Skip Docker install
2019-09-18 14:55:00 -07:00
Mike Splain
3af3f81a18
Fix gofmt
2019-09-18 11:21:45 -04:00
Ivan Garcia
d0db05defa
Updated container-selinux url to pint to the right path
2019-09-17 14:57:13 -07:00
Austin Moore
4695e7d03c
Move SkipInstall to DockerConfig
2019-09-17 11:55:08 -04:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Cassandra Comar
9ba043330a
Fix package installation by switching ntp to chrony and directly installing container-selinux
2019-07-19 09:11:56 -04:00
Cassandra Comar
f63eb0a066
Add support for RHEL 8
2019-07-19 09:11:43 -04:00
Kubernetes Prow Robot
1798ddfa0e
Merge pull request #7084 from mazzy89/flatcar_support
...
Flatcar support
2019-06-20 06:38:48 -07:00
Austin Moore
de339bf72d
Add configuration to skip docker installs
2019-06-12 14:16:11 -04:00
Salvatore Mazzarino
c7381f9a34
Flatcar support
...
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2019-05-31 12:20:27 +02:00
Jesse Haka
60756136c8
Add Debian 10 (buster) support
2019-05-26 15:34:39 +03:00
Michael Frister
691c459ae6
Fix Docker not being installed on Ubuntu 16.04
...
This only affects the default Docker version for 1.12 (18.06.3).
2019-05-14 10:25:49 +02:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Kubernetes Prow Robot
00950767c2
Merge pull request #6564 from usabilla/no-docker-prestart
...
Remove docker-prestart hook
2019-03-17 23:25:11 -07:00
Justin SB
057c19f8bb
Fix some of the docker package names & versions
...
Follow up to #6347 - add a test for some of the names based on some
heuristics, and fix some of the problems that popped up.
2019-03-15 00:09:59 -04:00
Benoit Sigoure
e4691cd704
nodeup: Add support for Docker 18.09.3.
...
Starting from Docker 18.09.0, the Docker distribution has been split in
3 packages: the Docker daemon, the Docker CLI, and for containerd. This
adds a twist to how to upgrade Docker from the base image as the daemon
and CLI packages must be installed at the same time, otherwise dpkg/rpm
will refuse to upgrade (the new CLI is incompatible with the old package
and the daemon can't be installed without first installing the CLI and
the new containerd, so the upgrade MUST happen in a single transaction).
This code change thus adds the possibility to specify additional packages
to install in the same dpkg/yum transaction, such as the Docker CLI and
containerd in nodeup, and the ability to apply the multi-package upgrade
atomically with dpkg/rpm.
We also use this new mechanism for the SELinux policy on RHEL/CentOS.
2019-03-04 15:39:12 -08:00
Steven McDonald
fe249eabbf
Remove docker-prestart hook
...
This breaks networking if Docker is restarted
(https://github.com/kubernetes/kops/issues/6191 ).
The Docker issue linked in the hook's comments has been closed for
over 3 years, and this workaround has not been used by upstream
Kubernetes for over a year:
5f9735de53 (diff-af1d281c3ce49f7bfe110f7c64c96fdc)
It therefore seems unlikely that this hook is still necessary.
2019-03-01 13:43:38 +01:00
Kubernetes Prow Robot
743b319fc9
Merge pull request #6506 from justinsb/chattr_docker_runc_17_03_2
...
Try using chattr to mark docker-runc as immutable
2019-02-25 07:22:12 -08:00
Justin SB
5d28bed21f
Map docker 18.06.3
...
Docker 18.06.2 on RHEL/Centos did not actually contain the fix, so we
need 18.06.3.
2019-02-23 17:19:44 -05:00
Justin SB
9bfa0cdd2a
Try using chattr to mark docker-runc as immutable
...
May be a workaround for CVE-2019-5736, is defense in depth in any case.
2019-02-20 22:26:44 -05:00
Kubernetes Prow Robot
823f769a95
Merge pull request #6492 from justinsb/package_names_for_container_selinux
...
Fix package name & version for container-selinux
2019-02-20 08:14:50 -08:00
Justin SB
f094d16d0f
Fix package name & version for container-selinux
2019-02-19 21:25:38 -05:00
Justin SB
ea4e57145c
Workaround for overlay2 vs rhel-family docker bug
...
Docker 17.x with rhel-family fails to detect overlay2 correctly, and
need us to pass overlay2.override_kernel_check=true for docker to
correctly detect overlay2 support.
2019-02-19 21:25:12 -05:00