I'm going to upgrade my Kubernetes cluster to the version 1.8.7. Does anybody know which docker version is best compatible with it?
This is what I found on the Kubernetes official page, but I suppose it might be for the latest k8s release (1.9)?
On each of your machines, install Docker. Version v1.12 is
recommended, but v1.11, v1.13 and 17.03 are known to work as well.
Versions 17.06+ might work, but have not yet been tested and verified
by the Kubernetes node team.
Thank you!
According to the kubernetes v1.8.0 changelog
Continuous integration builds use Docker versions 1.11.2, 1.12.6, 1.13.1, and 17.03.2. These versions were validated on Kubernetes 1.8.
So any of these version should work fine.
Related
I found the following description about supported docker versions in kubernetes v1.18 and 1.19 documents.
Container runtimes
The Kubernetes release notes list which versions of Docker are compatible with that version of Kubernetes.
But I cannot find supported docker versions in the Relase Notes.
v1.18 Release Notes
v1.19 Release Notes
Also, I check the other k8s documents.
v1.15 and v1.16 document describe supported docker versions.
The documents specifically list them.
v1.15 Release Notes
v1.16 Release Notes
The list of validated docker versions remains unchanged.
The current list is 1.13.1, 17.03, 17.06, 17.09, 18.06, 18.09. (#72823, #72831)
In fact, there is no information about docker version for 1.18 and 1.19 kubernetes version.
You can suggest documentation upgrade using this link for kubernetes team to include theses information.
As per https://kops.sigs.k8s.io/releases/1.19-notes/ the Docker 19.03.11 for Kubernetes 1.18+ will be supported.
Docker 19.03.11 for Kubernetes 1.18+
The change logs for all of the Kubernetes versions, and information on supported versions of Docker, are also specified on the following webpage,
https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG
On macOS there's Docker Desktop which comes with a kubectl, there's the Homebrew kubectl, then there's the gcloud kubectl.
I'm looking to use Minikube for local Kubernetes development and also GKE for production.
Which kubectl should I use? I'm thoroughly confused by all the various versions and how they differ from one another. Does it matter at all other than the version of the binary?
It doesn't really matter from where you get an executable as long as it is a trusted source. Although you have to use a supported version (documentation):
kubectl is supported within one minor version (older or newer) of kube-apiserver.
Example:
kube-apiserver is at 1.20
kubectl is supported at 1.21, 1.20, and 1.19
What versions of Docker does Kubernetes v1.9 support?
Is there a road map for these?
Trend here:
Docker version supported in Kubernetes 1.8
Which Docker versions will K8s 1.7 support?
The validated docker versions are the same as for v1.8
1.11.2 to 1.13.1
17.03.x
Source: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.9.md#external-dependencies
The versions supported, according to the source-code, are the following:
Per OS host version: https://github.com/kubernetes/kops/blob/master/nodeup/pkg/model/docker.go#L57-L485
We are currently running Red Hat 5. But I saw documentation that says docker is only supported on Red Hat 7. So we have to upgrade to Red Hat 7 or we can't use docker at all on RHEL 5? Alternatively we can consider to switch to Ubuntu.
How do others solve the similar issue?
You will need to upgrade from RHEL5 to use Docker.
The official Docker release deprecated RHEL6 support from 1.7 (and inadvertently broke it in 1.7.0 but fixed in 1.7.1). Support for RHEL6 was dropped in Docker 1.8. Since then, a RHEL7 based distro with a 3.10+ kernel has been required.
There is a docker-io-1.7.1-2 package available on EPEL for RHEL6.5+ based distros. RHEL6 runs an older 2.6 kernel with back ported fixes so docker can work. This kernel must be at 2.6.32-431 or higher.
RHEL doesn't support AUFS which is the most commonly used Docker storage driver. By default RHEL uses a loopback storage driver which is not production ready. The EPEL packages provide docker-storage-setup to setup thin provisioned LVM. You need to do this setup manually if you want to run the docker.com packages.
Personally I would recommend going with a recent debian based distribution running the official docker packages for timely updates. If you are on EC2, Amazons AMI will do nicely though.
I want to install docker 1.3.1 on my centos 6.5 environment but I have no idea how to find it in the epel. I'm quite new to docker. Can anyone help me out? Thanks
Clearly stated in the Docker documentation:
Docker runs on CentOS 7.X.
CentOS 6.5 is not CentOS 7.X. Docker is not available for your old operating system.
Furthermore, you didn't give any details about your computer, but you should remain aware that Docker only works on 64-bit systems.
By the way, you should take better care of your computer; in CentOS, the minor version number is updated automatically by the package manager. So the fact that you are two versions behind (CentOS 6 is currently on 6.7) indicates that you are not performing updates to your packages, and could have various security vulnerabilities. You should update your system regularly, by simply running yum update.