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

Update external-provisioner for storage provisioner for Kubernetes 1.18 #8610

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

johscheuer
Copy link
Contributor

This PR updates the https://sigs.k8s.io/sig-storage-lib-external-provisioner to version v5.0.0 to support Kubernetes 1.18 properly (1.18 support was introduces in 5.0.0). The new version of the lib automatically tries to use leader-election, I added an extra Role + RoleBinding for the RBAC. For the most use-cases the old version will work but if a controller/operator changes the PVC object the storage provisioner will fail with the following error message:

E0630 10:20:08.514160       1 reflector.go:205] k8s.io/minikube/vendor/github.com/r2d4/external-storage/lib/controller/controller.go:411: Failed to list *v1.PersistentVolumeClaim: v1.PersistentVolumeClaimList: Items: []v1.PersistentVolumeClaim: v1.PersistentVolumeClaim: ObjectMeta: v1.ObjectMeta: readObjectFieldAsBytes: expect :kubectl get storageclassng 912 ...:{},"k:{\"... at {"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/persistentvolumeclaims","resourceVersion":"1509"},"items":[{"metadata":{"name":"controller-sqlite","namespace":"default","selfLink":"/api/v1/namespaces/default/persistentvolumeclaims/controller-sqlite","uid":"95f218fc-6cee-4fc0-99e7-d0508f698ede","resourceVersion":"1509","creationTimestamp":"2020-06-30T10:15:54Z","annotations":{"volume.beta.kubernetes.io/storage-provisioner":"k8s.io/minikube-hostpath"},"ownerReferences":[{"apiVersion":"iofog.org/v2","kind":"ControlPlane","name":"iofog","uid":"13202d97-bd76-4a01-ba58-c9a0cf43ff21","controller":true,"blockOwnerDeletion":true}],"finalizers":["kubernetes.io/pvc-protection"],"managedFields":[{"manager":"iofog-operator","operation":"Update","apiVersion":"v1","time":"2020-06-30T10:15:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"13202d97-bd76-4a01-ba58-c9a0cf43ff21\"}":{".":{},"f:apiVersion":{},"f:blockOwnerDeletion":{},"f:controller":{},"f:kind":{},"f:name":{},"f:uid":{}}}},"f:spec":{"f:accessModes":{},"f:resources":{"f:requests":{".":{},"f:storage":{}}},"f:volumeMode":{}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2020-06-30T10:15:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volume.beta.kubernetes.io/storage-provisioner":{}}}}}]},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard","volumeMode":"Filesystem"},"status":{"phase":"Pending"}}]}

With the new version of the lib everything works as expected.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 30, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: johscheuer
To complete the pull request process, please assign afbjorklund
You can assign the PR to them by writing /assign @afbjorklund in a comment when ready.

The full list of commands accepted by this bot can be found 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

@johscheuer johscheuer force-pushed the update-storage-provisioner branch from de7c3d0 to f93d0f8 Compare June 30, 2020 16:22
@@ -85,7 +83,8 @@ require (
k8s.io/kubectl v0.0.0
k8s.io/kubernetes v1.17.3
k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab // indirect
sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible // indirect
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to run go mod tidy (and to remove it manually) but somehow I was not able to remove this import:

$ go mod tidy
go: finding module for package sigs.k8s.io/sig-storage-lib-external-provisioner/controller/metrics
go: found sigs.k8s.io/sig-storage-lib-external-provisioner/controller/metrics in sigs.k8s.io/sig-storage-lib-external-provisioner v4.1.0+incompatible

and

$ go mod why sigs.k8s.io/sig-storage-lib-external-provisioner/controller/metrics
# sigs.k8s.io/sig-storage-lib-external-provisioner/controller/metrics
k8s.io/minikube/pkg/storage
sigs.k8s.io/sig-storage-lib-external-provisioner/v5/controller
sigs.k8s.io/sig-storage-lib-external-provisioner/v5/controller.test
sigs.k8s.io/sig-storage-lib-external-provisioner/controller/metrics

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 30, 2020
@johscheuer johscheuer force-pushed the update-storage-provisioner branch from f93d0f8 to bc30de4 Compare June 30, 2020 16:28
@TravisBuddy
Copy link

Travis tests have failed

Hey @johscheuer,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN="/home/travis/gopath/bin" go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.13.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN="/home/travis/gopath/bin" go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.13.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
MINIKUBE_LDFLAGS="-X k8s.io/minikube/pkg/version.version=v1.12.0-beta.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.11.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="929c288eb861b56cebcf47cbc045cac7039e86a0"" ./test.sh
= schema_check ==========================================================
go: downloading github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: extracting github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: extracting github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: extracting github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: finding github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: finding github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: finding github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
ok
= go test ===============================================================
go: downloading k8s.io/client-go v0.17.3
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/docker/go-units v0.4.0
go: extracting github.com/docker/go-units v0.4.0
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading k8s.io/api v0.17.3
go: extracting github.com/spf13/cobra v1.0.0
go: extracting k8s.io/apimachinery v0.17.3
go: extracting github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: extracting github.com/spf13/viper v1.7.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: extracting k8s.io/client-go v0.17.3
go: extracting github.com/spf13/jwalterweatherman v1.1.0
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: extracting github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: extracting sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: extracting github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: extracting golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: extracting sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: extracting github.com/subosito/gotenv v1.2.0
go: downloading github.com/google/gofuzz v1.0.0
go: extracting github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: extracting github.com/google/gofuzz v1.0.0
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: extracting golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: extracting github.com/google/uuid v1.1.1
go: downloading github.com/spf13/pflag v1.0.5
go: extracting github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: extracting github.com/prometheus/client_golang v1.4.1
go: extracting k8s.io/api v0.17.3
go: extracting github.com/pelletier/go-toml v1.8.0
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: extracting github.com/spf13/pflag v1.0.5
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: extracting github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: extracting github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: extracting github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: extracting github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/otiai10/copy v1.0.2
go: extracting golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: extracting github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/prometheus/common v0.9.1
go: extracting k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: extracting github.com/otiai10/copy v1.0.2
go: downloading github.com/magiconair/properties v1.8.1
go: extracting github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: extracting github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/golang/protobuf v1.4.2
go: extracting github.com/magiconair/properties v1.8.1
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: extracting github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/prometheus/client_model v0.2.0
go: extracting k8s.io/kubectl v0.17.3
go: extracting github.com/golang/protobuf v1.4.2
go: extracting github.com/prometheus/common v0.9.1
go: extracting github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: extracting github.com/prometheus/client_model v0.2.0
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting github.com/gogo/protobuf v1.3.1
go: extracting github.com/mitchellh/mapstructure v1.3.1
go: downloading google.golang.org/api v0.25.0
go: extracting golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: extracting github.com/google/go-cmp v0.4.1
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: extracting github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/googleapis/gnostic v0.3.0
go: extracting golang.org/x/sys v0.0.0-20200523222454-059865788121
go: extracting github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: extracting github.com/prometheus/procfs v0.0.8
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: extracting github.com/googleapis/gnostic v0.3.0
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: extracting github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/davecgh/go-spew v1.1.1
go: extracting github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: extracting google.golang.org/protobuf v1.24.0
go: extracting github.com/fsnotify/fsnotify v1.4.9
go: extracting github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: extracting github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/hashicorp/hcl v1.0.0
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/ulikunitz/xz v0.5.7
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: extracting google.golang.org/api v0.25.0
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: extracting github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: extracting github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/docker/go-connections v0.4.0
go: extracting github.com/ulikunitz/xz v0.5.7
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/docker/go-connections v0.4.0
go: downloading k8s.io/kubernetes v1.17.3
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/sirupsen/logrus v1.6.0
go: extracting github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/json-iterator/go v1.1.9
go: extracting github.com/spf13/cast v1.3.1
go: extracting gopkg.in/yaml.v2 v2.3.0
go: downloading cloud.google.com/go v0.57.0
go: extracting github.com/pkg/errors v0.9.1
go: extracting golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: extracting github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting k8s.io/kubernetes v1.17.3
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: extracting github.com/sirupsen/logrus v1.6.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading golang.org/x/text v0.3.2
go: extracting github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/json-iterator/go v1.1.9
go: downloading google.golang.org/grpc v1.29.1
go: extracting github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: extracting cloud.google.com/go v0.57.0
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: extracting github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/mattn/go-runewidth v0.0.7
go: extracting github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: downloading k8s.io/component-base v0.17.3
go: downloading cloud.google.com/go/storage v1.8.0
go: extracting github.com/mitchellh/go-homedir v1.1.0
go: extracting golang.org/x/text v0.3.2
go: extracting google.golang.org/grpc v1.29.1
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting k8s.io/component-base v0.17.3
go: extracting github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: extracting github.com/mattn/go-runewidth v0.0.7
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: extracting github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/imdario/mergo v0.3.9
go: extracting cloud.google.com/go/storage v1.8.0
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: extracting github.com/beorn7/perks v1.0.1
go: extracting sigs.k8s.io/yaml v1.1.0
go: extracting github.com/imdario/mergo v0.3.9
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: extracting k8s.io/klog v1.0.0
go: extracting github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting gopkg.in/ini.v1 v1.56.0
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: extracting github.com/hashicorp/go-version v1.2.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: extracting github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: extracting github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting k8s.io/cluster-bootstrap v0.17.3
go: extracting github.com/cheggaaa/pb/v3 v3.0.1
go: extracting github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: extracting github.com/cespare/xxhash v1.1.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: extracting github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/fatih/color v1.9.0
go: extracting go.opencensus.io v0.22.3
go: downloading k8s.io/kube-proxy v0.17.3
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: extracting google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: extracting github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/miekg/dns v1.1.27
go: downloading github.com/VividCortex/ewma v1.1.1
go: extracting github.com/fatih/color v1.9.0
go: extracting github.com/cespare/xxhash/v2 v2.1.1
go: extracting github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading k8s.io/kubelet v0.17.3
go: extracting github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/opencontainers/image-spec v1.0.1
go: extracting k8s.io/kube-proxy v0.17.3
go: extracting github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: downloading github.com/spf13/afero v1.2.2
go: extracting github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: extracting github.com/spf13/afero v1.2.2
go: extracting k8s.io/kubelet v0.17.3
go: extracting github.com/opencontainers/image-spec v1.0.1
go: extracting github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: extracting github.com/VividCortex/ewma v1.1.1
go: extracting github.com/miekg/dns v1.1.27
go: extracting github.com/mattn/go-isatty v0.0.12
go: extracting github.com/mattn/go-colorable v0.1.6
go: finding github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: finding github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: finding github.com/pkg/errors v0.9.1
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: finding github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: finding github.com/docker/go-units v0.4.0
go: finding github.com/spf13/cobra v1.0.0
go: finding github.com/olekukonko/tablewriter v0.0.4
go: finding github.com/blang/semver v3.5.0+incompatible
go: finding k8s.io/client-go v0.17.3
go: finding github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: finding github.com/libvirt/libvirt-go v3.4.0+incompatible
go: finding github.com/spf13/viper v1.7.0
go: finding golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: finding github.com/mattn/go-runewidth v0.0.7
go: finding github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: finding github.com/imdario/mergo v0.3.9
go: finding k8s.io/api v0.17.3
go: finding github.com/spf13/pflag v1.0.5
go: finding github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: finding github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: finding k8s.io/apimachinery v0.17.3
go: finding golang.org/x/sys v0.0.0-20200523222454-059865788121
go: finding github.com/mattn/go-isatty v0.0.12
go: finding github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: finding github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: finding github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/google/uuid v1.1.1
go: finding github.com/fsnotify/fsnotify v1.4.9
go: finding github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: finding github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: finding github.com/hashicorp/hcl v1.0.0
go: finding github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: finding github.com/shirou/gopsutil v2.18.12+incompatible
go: finding github.com/magiconair/properties v1.8.1
go: finding github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: finding github.com/google/gofuzz v1.0.0
go: finding github.com/mitchellh/mapstructure v1.3.1
go: finding github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: finding cloud.google.com/go/storage v1.8.0
go: finding sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: finding k8s.io/klog v1.0.0
go: finding github.com/pelletier/go-toml v1.8.0
go: finding github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: finding github.com/otiai10/copy v1.0.2
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding github.com/golang/protobuf v1.4.2
go: finding github.com/docker/docker-credential-helpers v0.6.3
go: finding github.com/spf13/afero v1.2.2
go: finding golang.org/x/text v0.3.2
go: finding cloud.google.com/go v0.57.0
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/cenkalti/backoff v2.2.1+incompatible
go: finding github.com/googleapis/gnostic v0.3.0
go: finding github.com/spf13/cast v1.3.1
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: finding github.com/russross/blackfriday/v2 v2.0.1
go: finding golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: finding github.com/spf13/jwalterweatherman v1.1.0
go: finding k8s.io/kubernetes v1.17.3
go: finding gopkg.in/yaml.v2 v2.3.0
go: finding github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: finding github.com/prometheus/client_golang v1.4.1
go: finding github.com/googleapis/gax-go/v2 v2.0.5
go: finding github.com/subosito/gotenv v1.2.0
go: finding github.com/cheggaaa/pb/v3 v3.0.1
go: finding google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.0
go: finding gopkg.in/ini.v1 v1.56.0
go: finding golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: finding google.golang.org/protobuf v1.24.0
go: finding github.com/opencontainers/go-digest v1.0.0-rc1
go: finding google.golang.org/api v0.25.0
go: finding google.golang.org/grpc v1.29.1
go: finding go.opencensus.io v0.22.3
go: finding github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: finding k8s.io/component-base v0.17.3
go: finding k8s.io/kubectl v0.17.3
go: finding github.com/json-iterator/go v1.1.9
go: finding github.com/VividCortex/ewma v1.1.1
go: finding github.com/docker/go-connections v0.4.0
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/beorn7/perks v1.0.1
go: finding github.com/fatih/color v1.9.0
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/cespare/xxhash/v2 v2.1.1
go: finding github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: finding github.com/mattn/go-colorable v0.1.6
go: finding github.com/prometheus/client_model v0.2.0
go: finding github.com/opencontainers/image-spec v1.0.1
go: finding github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: finding github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: finding github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: finding k8s.io/cluster-bootstrap v0.17.3
go: finding github.com/prometheus/common v0.9.1
go: finding golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: finding github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: finding k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: finding github.com/sirupsen/logrus v1.6.0
go: finding sigs.k8s.io/yaml v1.1.0
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding github.com/prometheus/procfs v0.0.8
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding k8s.io/kube-proxy v0.17.3
go: finding k8s.io/kubelet v0.17.3
go: finding github.com/aws/aws-sdk-go v1.31.6
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding github.com/hashicorp/go-cleanhttp v0.5.1
go: finding github.com/miekg/dns v1.1.27
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/hashicorp/golang-lru v0.5.3
go: finding github.com/hashicorp/go-version v1.2.0
go: finding github.com/mitchellh/go-homedir v1.1.0
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/ulikunitz/xz v0.5.7
go: finding github.com/google/go-cmp v0.4.1
go: finding k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: finding github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/jmespath/go-jmespath v0.3.0
go: finding github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading github.com/pmezard/go-difflib v1.0.0
go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: extracting github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: finding github.com/evanphx/json-patch v4.5.0+incompatible
ok  	k8s.io/minikube/cmd/minikube/cmd	3.928s	coverage: 20.4% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.169s	coverage: 21.5% of statements
ok  	k8s.io/minikube/pkg/addons	0.062s	coverage: 53.3% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.017s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.009s	coverage: 0.0% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.032s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	1.015s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.134s	coverage: 61.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.021s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.007s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.077s	coverage: 16.7% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.017s	coverage: 4.3% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.150s	coverage: 70.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.042s	coverage: 40.1% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.023s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.019s	coverage: 37.0% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.012s	coverage: 58.8% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.037s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.023s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.016s	coverage: 51.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.029s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.396s	coverage: 37.8% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.013s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.073s	coverage: 67.4% of statements
2020/06/30 16:27:29 Running: [sh -c echo hi && sleep 3 && echo hey && sleep 1]...
--- FAIL: TestTimeCommandLogs (4.01s)
    logs_test.go:42: expected log "hey" to take more time than it actually did. got 0.994590842, expected > 1
FAIL
coverage: 33.8% of statements
FAIL	k8s.io/minikube/pkg/minikube/perf	4.197s
ok  	k8s.io/minikube/pkg/minikube/problem	0.007s	coverage: 91.7% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.007s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.007s	coverage: 75.5% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.055s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.007s	coverage: 97.1% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.020s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.023s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.648s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	1.314s	coverage: 77.9% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.015s	coverage: 18.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.008s	coverage: 0.0% of statements
FAIL
Makefile:274: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: b324af10-baee-11ea-bd85-f15c2d376ac7

@johscheuer johscheuer force-pushed the update-storage-provisioner branch from bc30de4 to de7c3d0 Compare June 30, 2020 16:29
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 30, 2020
@johscheuer johscheuer force-pushed the update-storage-provisioner branch from de7c3d0 to 73fccf0 Compare June 30, 2020 16:31
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 30, 2020
Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

thanks for this PR, the main topic for v.1.13.0 is fixing all the storage provsioiner legacy debt, and this is a good start.

for this this PR to be tested, we would need to rebuild the Dockerfile and make sure it still works

do you mind building the storage docker file locally and test it locally and paste the output of it with the new storage provisioners?

link to the dockerfile
https://github.com/medyagh/minikube/blob/a4e5aab8b6d6a84bc562e885f3f880964e26a3ba/deploy/storage-provisioner/Dockerfile#L16

@johscheuer
Copy link
Contributor Author

I just tested it:

 $ kubectl -n kube-system get po storage-provisioner -o yaml | ag 'image:'
            f:image: {}
    image: johscheuer/storage-provisioner:latest
    image: johscheuer/storage-provisioner:latest

and the controller is able to create the PVC:

I0701 06:38:43.387502       1 leaderelection.go:252] successfully acquired lease kube-system/k8s.io-minikube-hostpath
I0701 06:38:43.390623       1 controller.go:799] Starting provisioner controller k8s.io/minikube-hostpath_minikube_3b784daa-88ed-450c-8cc2-0fe442878e5e!
I0701 06:38:43.391187       1 event.go:281] Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", Name:"k8s.io-minikube-hostpath", UID:"3da7db69-b8a1-41ba-a7b3-d01ef82b0d3b", APIVersion:"v1", ResourceVersion:"1950", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' minikube_3b784daa-88ed-450c-8cc2-0fe442878e5e became leader
I0701 06:38:43.493239       1 controller.go:848] Started provisioner controller k8s.io/minikube-hostpath_minikube_3b784daa-88ed-450c-8cc2-0fe442878e5e!
I0701 06:38:43.494436       1 controller.go:1284] provision "default/controller-sqlite" class "standard": started
I0701 06:38:43.504127       1 event.go:281] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"controller-sqlite", UID:"b04a5cb5-d6a8-4cc3-908d-81d83b79d046", APIVersion:"v1", ResourceVersion:"1177", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "default/controller-sqlite"
I0701 06:38:43.505755       1 controller.go:1392] provision "default/controller-sqlite" class "standard": volume "pvc-b04a5cb5-d6a8-4cc3-908d-81d83b79d046" provisioned
I0701 06:38:43.505803       1 controller.go:1409] provision "default/controller-sqlite" class "standard": succeeded
I0701 06:38:43.506080       1 volume_store.go:212] Trying to save persistentvolume "pvc-b04a5cb5-d6a8-4cc3-908d-81d83b79d046"
I0701 06:38:43.518494       1 volume_store.go:219] persistentvolume "pvc-b04a5cb5-d6a8-4cc3-908d-81d83b79d046" saved
I0701 06:38:43.519411       1 event.go:281] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"controller-sqlite", UID:"b04a5cb5-d6a8-4cc3-908d-81d83b79d046", APIVersion:"v1", ResourceVersion:"1177", FieldPath:""}): type: 'Normal' reason: 'ProvisioningSucceeded' Successfully provisioned volume pvc-b04a5cb5-d6a8-4cc3-908d-81d83b79d046

and

``bash
$ kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
controller-sqlite Bound pvc-b04a5cb5-d6a8-4cc3-908d-81d83b79d046 1Gi RWO standard 6m6s

@priyawadhwa
Copy link

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jul 17, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [63.007528943000004 67.60263978899998 64.185884724]
Average time for minikube: 64.93201781866668

Times for Minikube (PR 8610): [62.311154687 67.160744305 61.853980576000005]
Average time for Minikube (PR 8610): 63.77529318933333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8610) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.0 on Debian   |  0.059486 |           0.057364 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.021054 |           0.017998 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.019770 |           0.003002 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.196007 |          38.823029 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 21.914396 |          23.266348 |
| on Docker 19.03.12 ...         |           |                    |
| * Verifying Kubernetes         |  1.580817 |           1.412563 |
| components...                  |           |                    |
| * Enabled addons:              |  0.057221 |           0.123291 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.080442 |           0.067388 |
| configured to use "minikube"   |           |                    |
|                                |  0.002826 |           0.004311 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.553199565999996 26.266491496 26.150529155]
Average time for minikube: 25.990073405666664

Times for Minikube (PR 8610): [25.193244747 26.059300242 26.704945151999997]
Average time for Minikube (PR 8610): 25.985830046999997

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8610) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.0 on Debian   |  0.071732 |           0.070754 |
|                           9.11 |           |                    |
| * Using the docker driver      |  0.002449 |           0.002421 |
| based on existing profile      |           |                    |
| * Starting control plane node  |  0.056190 |           0.058868 |
| minikube in cluster minikube   |           |                    |
| * Creating docker container    |  7.486771 |           7.427933 |
| (CPUs=2, Memory=3700MB) ...    |           |                    |
| * Preparing Kubernetes v1.18.3 | 17.506473 |          17.486786 |
| on Docker 19.03.2 ...          |           |                    |
| * Verifying Kubernetes         |  0.783063 |           0.809361 |
| components...                  |           |                    |
| * Enabled addons:              |  0.017103 |           0.059501 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.063306 |           0.065219 |
| configured to use "minikube"   |           |                    |
|                                |  0.002987 |           0.004987 |
+--------------------------------+-----------+--------------------+

@johscheuer
Copy link
Contributor Author

Hm, the failures seem unrelated to me. Is there a way to retrigger them?

@priyawadhwa
Copy link

Hey @johscheuer I think the test failures are unrelated -- this LGTM

@priyawadhwa priyawadhwa merged commit aaebd88 into kubernetes:master Jul 20, 2020
@johscheuer johscheuer deleted the update-storage-provisioner branch July 21, 2020 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants