Skip to content

Commit 46ae15d

Browse files
Merge pull request #13563 from afbjorklund/cri-dockerd-socketpath
Upgrade cri-dockerd to fix the socket path
2 parents 5fbb23e + d696170 commit 46ae15d

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ KUBERNETES_VERSION ?= $(shell egrep "DefaultKubernetesVersion =" pkg/minikube/co
2323
KIC_VERSION ?= $(shell egrep "Version =" pkg/drivers/kic/types.go | cut -d \" -f2)
2424

2525
# Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions
26-
ISO_VERSION ?= v1.25.0-1643824279-13191
26+
ISO_VERSION ?= v1.25.0-1644071583-13563
2727
# Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta
2828
DEB_VERSION ?= $(subst -,~,$(RAW_VERSION))
2929
DEB_REVISION ?= 0
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sha256 4acd7605a0cb95a6ad50314d1f2497b92ee0f07382062d0c18a5434c1a3b9513 542e27dee12db61d6e96d2a83a20359474a5efa2.tar.gz
22
sha256 b2a082a8846ac74b8482ee6353d480cea0dec017bbec2b59b16e3f91efa2f5ca eb0c48ef49856f7d098ec005ddebcae197e08e49.tar.gz
3+
sha256 ceb99430633f75f354c0e9fea1f3cf0e5138ac5ee3c2691a1a70811fd2feeeef a4d1895a2659ea9974bd7528a706592ab8b74181.tar.gz

deploy/iso/minikube-iso/package/cri-dockerd/cri-dockerd.mk

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
#
55
################################################################################
66

7-
# 0.2.0
8-
CRI_DOCKERD_VERSION = eb0c48ef49856f7d098ec005ddebcae197e08e49
7+
# As of 2022-02-03
8+
CRI_DOCKERD_VER = 0.2.0
9+
CRI_DOCKERD_REV = a4d1895
10+
CRI_DOCKERD_VERSION = a4d1895a2659ea9974bd7528a706592ab8b74181
911
CRI_DOCKERD_SITE = https://github.com/Mirantis/cri-dockerd/archive
1012
CRI_DOCKERD_SOURCE = $(CRI_DOCKERD_VERSION).tar.gz
1113

@@ -21,9 +23,10 @@ CRI_DOCKERD_ENV = \
2123
PATH=$(CRI_DOCKERD_GOPATH)/bin:$(BR_PATH)
2224

2325
CRI_DOCKERD_COMPILE_SRC = $(CRI_DOCKERD_GOPATH)/src/github.com/Mirantis/cri-dockerd
26+
CRI_DOCKERD_BUILDFLAGS = "-ldflags '-X github.com/Mirantis/cri-dockerd/version.Version=$(CRI_DOCKERD_VER) -X github.com/Mirantis/cri-dockerd/version.GitCommit=$(CRI_DOCKERD_REV)'"
2427

2528
define CRI_DOCKERD_BUILD_CMDS
26-
$(CRI_DOCKERD_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) static-linux
29+
$(CRI_DOCKERD_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS=$(CRI_DOCKERD_BUILDFLAGS) GO_VERSION=$(GO_VERSION) -C $(@D) VERSION=$(CRI_DOCKERD_VER) REVISION=$(CRI_DOCKERD_REV) static-linux
2730
endef
2831

2932
define CRI_DOCKERD_INSTALL_TARGET_CMDS

deploy/kicbase/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN cd ./cmd/auto-pause/ && go build
2828
# cri-dockerd static
2929
FROM golang:1.16
3030
RUN git clone -n https://github.com/Mirantis/cri-dockerd && \
31-
cd cri-dockerd && git checkout eb0c48ef49856f7d098ec005ddebcae197e08e49 && \
32-
cd src && env CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=eb0c48e' -o cri-dockerd
31+
cd cri-dockerd && git checkout a4d1895a2659ea9974bd7528a706592ab8b74181 && \
32+
cd src && env CGO_ENABLED=0 go build -ldflags '-X github.com/Mirantis/cri-dockerd/version.GitCommit=a4d1895' -o cri-dockerd
3333

3434
# start from ubuntu 20.04, this image is reasonably small as a starting point
3535
# for a kubernetes node image, it doesn't contain much we don't need

pkg/drivers/kic/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424

2525
const (
2626
// Version is the current version of kic
27-
Version = "v0.0.29-1643823806-13302"
27+
Version = "v0.0.29-1644071658-13563"
2828
// SHA of the kic base image
29-
baseImageSHA = "9cde8d533c45fa1d8936c4f658fe1f9983662f8d5e3e839a8ae15cbe69f5b4a8"
29+
baseImageSHA = "8ab41333bf2f1906510725cbb2cc2ee50fc11b9a8a3edda7585ae0371c3fa2f7"
3030
// The name of the GCR kicbase repository
3131
gcrRepo = "gcr.io/k8s-minikube/kicbase-builds"
3232
// The name of the Dockerhub kicbase repository

pkg/minikube/download/iso.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const fileScheme = "file"
4040
// DefaultISOURLs returns a list of ISO URL's to consult by default, in priority order
4141
func DefaultISOURLs() []string {
4242
v := version.GetISOVersion()
43-
isoBucket := "minikube-builds/iso/13191"
43+
isoBucket := "minikube-builds/iso/13563"
4444
return []string{
4545
fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s.iso", isoBucket, v),
4646
fmt.Sprintf("https://github.com/kubernetes/minikube/releases/download/%s/minikube-%s.iso", v, v),

site/content/en/docs/commands/start.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ minikube start [flags]
2626
--apiserver-names strings A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine
2727
--apiserver-port int The apiserver listening port (default 8443)
2828
--auto-update-drivers If set, automatically updates drivers to the latest version. Defaults to true. (default true)
29-
--base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase-builds:v0.0.29-1643823806-13302@sha256:9cde8d533c45fa1d8936c4f658fe1f9983662f8d5e3e839a8ae15cbe69f5b4a8")
29+
--base-image string The base image to use for docker/podman drivers. Intended for local development. (default "gcr.io/k8s-minikube/kicbase-builds:v0.0.29-1644071658-13563@sha256:8ab41333bf2f1906510725cbb2cc2ee50fc11b9a8a3edda7585ae0371c3fa2f7")
3030
--binary-mirror string Location to fetch kubectl, kubelet, & kubeadm binaries from.
3131
--cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --driver=none. (default true)
3232
--cert-expiration duration Duration until minikube certificate expiration, defaults to three years (26280h). (default 26280h0m0s)
@@ -68,7 +68,7 @@ minikube start [flags]
6868
--insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added.
6969
--install-addons If set, install addons. Defaults to true. (default true)
7070
--interactive Allow user prompts for more information (default true)
71-
--iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13191/minikube-v1.25.0-1643824279-13191.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.0-1643824279-13191/minikube-v1.25.0-1643824279-13191.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.0-1643824279-13191.iso])
71+
--iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/13563/minikube-v1.25.0-1644071583-13563.iso,https://github.com/kubernetes/minikube/releases/download/v1.25.0-1644071583-13563/minikube-v1.25.0-1644071583-13563.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.25.0-1644071583-13563.iso])
7272
--keep-context This will keep the existing kubectl context and will create a minikube context.
7373
--kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.3, 'latest' for v1.23.4-rc.0). Defaults to 'stable'.
7474
--kvm-gpu Enable experimental NVIDIA GPU support in minikube

0 commit comments

Comments
 (0)