Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to version Docker 18.09 #425

Merged

Conversation

dims
Copy link
Member

@dims dims commented Apr 2, 2019

Kubernetes master is now at 18.09:
https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/util/system/docker_validator.go#L42

It was updated for 1.14 release:
kubernetes/kubernetes@62fc6df

Change-Id: Iab02ca4ef0de0a11fc763ef36418b85d77007220

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 2, 2019
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 2, 2019
@dims
Copy link
Member Author

dims commented Apr 2, 2019

root@kind-control-plane:/# crictl version
Version:  0.1.0
RuntimeName:  docker
RuntimeVersion:  18.09.4
RuntimeApiVersion:  1.39.0
root@kind-control-plane:/# crictl -r /run/containerd/containerd.sock version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  1.2.5
RuntimeApiVersion:  v1alpha2

@dims
Copy link
Member Author

dims commented Apr 2, 2019

/assign @BenTheElder

Kubernetes master is now at 18.09:
https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/util/system/docker_validator.go#L42

It was updated for 1.14 release:
kubernetes/kubernetes@62fc6df

Change-Id: Iab02ca4ef0de0a11fc763ef36418b85d77007220

Enable CRI for containerd

Since docker installs containerd, we can also enable the CRI in
containerd as well. So we can start creating CI jobs that directly use
the CRI of containerd as well.

Change-Id: Ib8bf960294d4b562a318cfac6b5d30a9584e908d
@dims dims force-pushed the bump-docker-to-version-18.09 branch from 5ddf14c to b53e1df Compare April 2, 2019 19:58
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 2, 2019
@@ -75,6 +75,10 @@ RUN curl -fsSL "https://download.docker.com/linux/$(. /etc/os-release; echo "$ID
"deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable" \
&& clean-install "docker-ce=${DOCKER_VERSION}"

# Enable CRI for containerd
RUN mkdir -p /etc/docker && echo '{"cri-containerd": true}' > /etc/docker/daemon.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BenTheElder
Copy link
Member

this looks good, thank you! I will add a commit to update to a base image built with it later.

Copy link
Member

@tao12345666333 tao12345666333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 3, 2019
Copy link
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder, dims

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 3, 2019
@k8s-ci-robot k8s-ci-robot merged commit 1a8bd66 into kubernetes-sigs:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants