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

wip: Move docker root dir outside of /var and mount preload to that instead #8509

Closed
wants to merge 1 commit into from

Conversation

priyawadhwa
Copy link

I think this could potentially fix #8179 and #8163

Still looking into it

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 17, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: priyawadhwa

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 17, 2020
@TravisBuddy
Copy link

Travis tests have failed

Hey @priyawadhwa,
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.8.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.8.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.11.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="bd0893a222f5b2b4a4c84f683a7cd418fc8e3afb"" ./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 github.com/pkg/errors v0.9.1
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading k8s.io/client-go v0.17.3
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: downloading github.com/spf13/viper v1.7.0
go: extracting github.com/mattn/go-isatty v0.0.12
go: downloading github.com/blang/semver v3.5.0+incompatible
go: extracting github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/spf13/cobra v1.0.0
go: extracting github.com/pkg/errors v0.9.1
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: extracting github.com/spf13/viper v1.7.0
go: extracting github.com/spf13/cobra v1.0.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: extracting github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: extracting gopkg.in/yaml.v2 v2.3.0
go: extracting golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: extracting gopkg.in/ini.v1 v1.56.0
go: extracting k8s.io/client-go v0.17.3
go: extracting github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: extracting k8s.io/apimachinery v0.17.3
go: extracting golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/cheggaaa/pb v1.0.27
go: extracting github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: extracting github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading k8s.io/kubectl v0.17.3
go: extracting github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/pelletier/go-toml v1.8.0
go: extracting github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading k8s.io/kubernetes v1.17.3
go: extracting github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading cloud.google.com/go v0.57.0
go: extracting github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: extracting github.com/cheggaaa/pb/v3 v3.0.1
go: extracting github.com/pelletier/go-toml v1.8.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/otiai10/copy v1.0.2
go: extracting github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading golang.org/x/text v0.3.2
go: extracting github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading google.golang.org/api v0.25.0
go: extracting github.com/mattn/go-runewidth v0.0.7
go: extracting k8s.io/kubectl v0.17.3
go: extracting github.com/otiai10/copy v1.0.2
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/spf13/cast v1.3.1
go: extracting github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading k8s.io/api v0.17.3
go: downloading github.com/google/gofuzz v1.0.0
go: extracting cloud.google.com/go v0.57.0
go: extracting github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: extracting github.com/spf13/cast v1.3.1
go: downloading github.com/golang/protobuf v1.4.2
go: extracting github.com/google/gofuzz v1.0.0
go: downloading github.com/docker/go-units v0.4.0
go: extracting github.com/docker/go-units v0.4.0
go: downloading cloud.google.com/go/storage v1.8.0
go: extracting github.com/golang/protobuf v1.4.2
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting cloud.google.com/go/storage v1.8.0
go: extracting github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: extracting k8s.io/api v0.17.3
go: extracting github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading google.golang.org/protobuf v1.24.0
go: extracting github.com/gogo/protobuf v1.3.1
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: extracting github.com/magiconair/properties v1.8.1
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: extracting github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: extracting golang.org/x/text v0.3.2
go: extracting github.com/modern-go/reflect2 v1.0.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: extracting k8s.io/kubernetes v1.17.3
go: downloading github.com/hashicorp/hcl v1.0.0
go: extracting github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/google/uuid v1.1.1
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: extracting github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: extracting google.golang.org/protobuf v1.24.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: extracting github.com/hashicorp/hcl v1.0.0
go: extracting google.golang.org/api v0.25.0
go: downloading github.com/json-iterator/go v1.1.8
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: extracting github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: extracting github.com/google/uuid v1.1.1
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: extracting google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: extracting golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: extracting github.com/mattn/go-colorable v0.1.6
go: extracting k8s.io/klog v1.0.0
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading google.golang.org/grpc v1.29.1
go: extracting github.com/json-iterator/go v1.1.8
go: extracting golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: extracting github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: extracting github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting k8s.io/component-base v0.17.3
go: extracting github.com/libvirt/libvirt-go v3.4.0+incompatible
go: extracting github.com/fatih/color v1.9.0
go: extracting k8s.io/cluster-bootstrap v0.17.3
go: extracting sigs.k8s.io/yaml v1.1.0
go: extracting google.golang.org/grpc v1.29.1
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/docker/go-connections v0.4.0
go: extracting github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/subosito/gotenv v1.2.0
go: extracting github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting github.com/googleapis/gnostic v0.3.0
go: extracting github.com/ulikunitz/xz v0.5.7
go: extracting sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting github.com/docker/go-connections v0.4.0
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: extracting go.opencensus.io v0.22.3
go: extracting github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting github.com/subosito/gotenv v1.2.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: extracting github.com/mitchellh/go-homedir v1.1.0
go: extracting golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting github.com/spf13/afero v1.2.2
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/imdario/mergo v0.3.9
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/spf13/pflag v1.0.5
go: extracting github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/prometheus/client_golang v1.1.0
go: extracting github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: extracting github.com/imdario/mergo v0.3.9
go: extracting github.com/spf13/pflag v1.0.5
go: downloading github.com/hashicorp/go-version v1.2.0
go: extracting github.com/prometheus/client_golang v1.1.0
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/miekg/dns v1.1.4
go: extracting github.com/hashicorp/go-version v1.2.0
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: extracting github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading k8s.io/kubelet v0.17.3
go: extracting github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: extracting golang.org/x/sys v0.0.0-20200523222454-059865788121
go: extracting github.com/miekg/dns v1.1.4
go: extracting github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/prometheus/common v0.6.0
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: extracting github.com/VividCortex/ewma v1.1.1
go: extracting github.com/aws/aws-sdk-go v1.31.6
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: extracting k8s.io/kubelet v0.17.3
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: extracting github.com/prometheus/common v0.6.0
go: extracting github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/prometheus/procfs v0.0.5
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: extracting github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/prometheus/procfs v0.0.5
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading k8s.io/kube-proxy v0.17.3
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: extracting github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: extracting github.com/opencontainers/image-spec v1.0.1
go: extracting github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/sirupsen/logrus v1.6.0
go: downloading github.com/beorn7/perks v1.0.1
go: extracting github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: extracting github.com/docker/docker-credential-helpers v0.6.3
go: extracting k8s.io/kube-proxy v0.17.3
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting github.com/beorn7/perks v1.0.1
go: extracting github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting github.com/jmespath/go-jmespath v0.3.0
go: extracting github.com/google/go-cmp v0.4.1
go: extracting github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
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/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: extracting github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
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 k8s.io/api v0.17.3
go: finding github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: finding github.com/imdario/mergo v0.3.9
go: finding k8s.io/apimachinery v0.17.3
go: finding github.com/spf13/pflag v1.0.5
go: finding golang.org/x/sys v0.0.0-20200523222454-059865788121
go: finding github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: finding github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: finding github.com/mattn/go-isatty v0.0.12
go: finding github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: finding github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: finding github.com/google/uuid v1.1.1
go: finding github.com/fsnotify/fsnotify v1.4.9
go: finding github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: finding github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: finding github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: finding github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: finding github.com/hashicorp/hcl v1.0.0
go: finding github.com/shirou/gopsutil v2.18.12+incompatible
go: finding github.com/magiconair/properties v1.8.1
go: finding github.com/google/gofuzz v1.0.0
go: finding github.com/mitchellh/mapstructure v1.3.1
go: finding cloud.google.com/go/storage v1.8.0
go: finding github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: finding sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: finding golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: finding k8s.io/klog v1.0.0
go: finding github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: finding github.com/pelletier/go-toml v1.8.0
go: finding github.com/otiai10/copy v1.0.2
go: finding github.com/cenkalti/backoff v2.2.1+incompatible
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding github.com/golang/protobuf v1.4.2
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/spf13/afero v1.2.2
go: finding cloud.google.com/go v0.57.0
go: finding golang.org/x/text v0.3.2
go: finding github.com/googleapis/gnostic v0.3.0
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/docker/docker-credential-helpers v0.6.3
go: finding github.com/spf13/cast v1.3.1
go: finding golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: finding github.com/prometheus/client_golang v1.1.0
go: finding github.com/russross/blackfriday/v2 v2.0.1
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/googleapis/gax-go/v2 v2.0.5
go: finding golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
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 google.golang.org/protobuf v1.24.0
go: finding gopkg.in/ini.v1 v1.56.0
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.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/VividCortex/ewma v1.1.1
go: finding github.com/beorn7/perks v1.0.1
go: finding github.com/docker/go-connections v0.4.0
go: finding github.com/json-iterator/go v1.1.8
go: finding github.com/fatih/color v1.9.0
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: finding github.com/mattn/go-colorable v0.1.6
go: finding github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/prometheus/common v0.6.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 golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: finding github.com/prometheus/procfs v0.0.5
go: finding k8s.io/cluster-bootstrap v0.17.3
go: finding github.com/sirupsen/logrus v1.6.0
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding sigs.k8s.io/yaml v1.1.0
go: finding github.com/aws/aws-sdk-go v1.31.6
go: finding k8s.io/kube-proxy v0.17.3
go: finding k8s.io/kubelet v0.17.3
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding github.com/miekg/dns v1.1.4
go: finding github.com/hashicorp/go-cleanhttp v0.5.1
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/hashicorp/go-version v1.2.0
go: finding github.com/hashicorp/golang-lru v0.5.3
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 github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: extracting github.com/pmezard/go-difflib v1.0.0
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.664s	coverage: 20.4% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.164s	coverage: 21.5% of statements
--- FAIL: TestKubectlCommand (0.00s)
    --- FAIL: TestKubectlCommand/enable_an_addon (0.00s)
        kubectl_test.go:58: expected does not match actual
            Expected: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.17.0/kubectl apply -f a -f b
            Actual: sudo KUBECONFIG=/tmp/var/lib/minikube/kubeconfig /tmp/var/lib/minikube/binaries/v1.17.0/kubectl apply -f a -f b
    --- FAIL: TestKubectlCommand/disable_an_addon (0.00s)
        kubectl_test.go:58: expected does not match actual
            Expected: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.17.0/kubectl delete -f a -f b
            Actual: sudo KUBECONFIG=/tmp/var/lib/minikube/kubeconfig /tmp/var/lib/minikube/binaries/v1.17.0/kubectl delete -f a -f b
FAIL
coverage: 57.3% of statements
FAIL	k8s.io/minikube/pkg/addons	0.058s
ok  	k8s.io/minikube/pkg/drivers	0.010s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.010s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.026s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	1.040s	coverage: 55.7% of statements
--- FAIL: TestGenerateKubeadmYAMLDNS (0.00s)
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.19 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.18 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.17 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.16 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.15 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.14 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.13 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAMLDNS/dns_v1.12 (0.00s)
        kubeadm_test.go:162: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: 1.1.1.1
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
--- FAIL: TestGenerateKubeadmYAML (0.03s)
    --- FAIL: TestGenerateKubeadmYAML/default_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.19 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.19.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.18 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.18.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.17 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManager:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta2
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.17.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.16 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.15 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.15.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/options_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -35,3 +35,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -42,3 +42,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
            mode: "iptables"
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -25,3 +25,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -32,3 +32,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: "192.168.32.0/20"
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.14 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -26,3 +26,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -33,3 +33,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
                 extraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
                extraArgs:
                  listen-metrics-urls: http://127.0.0.1:2381,http://1.1.1.1:2381
            controllerManager:
              extraArgs:
                "leader-elect": "false"
            scheduler:
              extraArgs:
                "leader-elect": "false"
            kubernetesVersion: v1.14.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
            ---
            apiVersion: kubeproxy.config.k8s.io/v1alpha1
            kind: KubeProxyConfiguration
            clusterCIDR: ""
            metricsBindAddress: 1.1.1.1:10249
    --- FAIL: TestGenerateKubeadmYAML/default_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/options_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -28,3 +28,3 @@
               scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -34,3 +34,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
              fail-no-swap: "true"
            controllerManagerExtraArgs:
              kube-api-burst: "32"
            schedulerExtraArgs:
              scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -31,3 +31,3 @@
               scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -37,3 +37,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
              fail-no-swap: "true"
              feature-gates: "a=b"
            controllerManagerExtraArgs:
              feature-gates: "a=b"
              kube-api-burst: "32"
            schedulerExtraArgs:
              feature-gates: "a=b"
              scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.13 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -24,3 +24,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -30,3 +30,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.13.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/default_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/crio_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/options_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -28,3 +28,3 @@
               scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -34,3 +34,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
              fail-no-swap: "true"
            controllerManagerExtraArgs:
              kube-api-burst: "32"
            schedulerExtraArgs:
              scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/crio-options-gates_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -31,3 +31,3 @@
               scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -37,3 +37,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
              fail-no-swap: "true"
              feature-gates: "a=b"
            controllerManagerExtraArgs:
              feature-gates: "a=b"
              kube-api-burst: "32"
            schedulerExtraArgs:
              feature-gates: "a=b"
              scheduler-name: "mini-scheduler"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd-api-port_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:12345
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/containerd-pod-network-cidr_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: "192.168.32.0/20"
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
    --- FAIL: TestGenerateKubeadmYAML/image-repository_v1.12 (0.00s)
        kubeadm_test.go:243: unexpected diff:
            --- Expected
            +++ Got
            @@ -24,3 +24,3 @@
               enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs
            +certificatesDir: /tmp/var/lib/minikube/certs
             clusterName: mk
            @@ -30,3 +30,3 @@
               local:
            -    dataDir: /var/lib/minikube/etcd
            +    dataDir: /tmp/var/lib/minikube/etcd
             controllerManagerExtraArgs:
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: InitConfiguration
            apiEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: "mk"
              kubeletExtraArgs:
                node-ip: 1.1.1.1
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1alpha3
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServerExtraArgs:
              enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /tmp/var/lib/minikube/certs
            clusterName: mk
            apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
            controlPlaneEndpoint: control-plane.minikube.internal:8443
            etcd:
              local:
                dataDir: /tmp/var/lib/minikube/etcd
            controllerManagerExtraArgs:
              leader-elect: "false"
            schedulerExtraArgs:
              leader-elect: "false"  
            kubernetesVersion: v1.12.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            clusterDomain: "cluster.local"
            # disable disk resource management by default
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
            failSwapOn: false
FAIL
coverage: 63.2% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.101s
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.022s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.004s	coverage: 88.9% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.072s	coverage: 16.8% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.020s	coverage: 4.3% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.117s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.039s	coverage: 40.6% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.031s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.026s	coverage: 37.1% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.009s	coverage: 58.8% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.017s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.027s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.003s	coverage: 51.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.036s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.262s	coverage: 38.7% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.013s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.048s	coverage: 67.4% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.223s	coverage: 33.8% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.026s	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.062s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.003s	coverage: 96.9% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.017s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.034s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.009s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.626s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.688s	coverage: 77.9% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.008s	coverage: 18.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.001s	coverage: 0.0% of statements
FAIL
Makefile:273: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: 8952f5a0-b0eb-11ea-b9a3-b9754cbad7e4

@priyawadhwa
Copy link
Author

/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 Jun 17, 2020
@medyagh medyagh requested a review from afbjorklund June 17, 2020 23:27
@kubernetes kubernetes deleted a comment from minikube-pr-bot Jun 17, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [64.32920728000002 65.47723381 66.579740809]
Average time for minikube: 65.46206063300001

Times for Minikube (PR 8509): [66.572457082 63.923166309 66.775475646]
Average time for Minikube (PR 8509): 65.75703301233334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8509) |
+--------------------------------+-----------+--------------------+
| * minikube v1.11.0 on Debian   |  0.060075 |           0.055840 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020596 |           0.021920 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.005397 |           0.005161 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.342513 |          40.420528 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 23.191357 |          22.051085 |
| on Docker 19.03.8 ...          |           |                    |
| * Verifying Kubernetes         |  1.244874 |           1.829654 |
| components...                  |           |                    |
| * Enabled addons:              |  0.519381 |           1.292715 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.074376 |           0.075382 |
| configured to use "minikube"   |           |                    |
|                                |  0.003491 |           0.004748 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [29.425008026 25.836324287 25.837612181]
Average time for minikube: 27.032981497999998

Times for Minikube (PR 8509): [24.906386167999997 26.33537339900001 26.719124001999997]
Average time for Minikube (PR 8509): 25.98696118966667

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 8509) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.11.0 on Debian           |  0.074494 |           0.072520 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002408 |           0.002531 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.058733 |           0.059543 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  8.938699 |           7.513236 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.3         |  0.117052 |           0.120559 |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.458523 |          17.278425 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Verifying Kubernetes                 |  1.145481 |           0.773918 |
| components...                          |           |                    |
| * Enabled addons:                      |  0.173362 |           0.096352 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.061117 |           0.063451 |
| configured to use "minikube"           |           |                    |
|                                        |  0.003113 |           0.006426 |
+----------------------------------------+-----------+--------------------+

@afbjorklund
Copy link
Collaborator

Hi @priyawadhwa

I'm not sure I like using /tmp/var any more than using /var/tmp (as in the storage-provisioner PR)...
And there are lots of places that will need changing, if we move those locations away from their defaults.

My preferred approach was to handle the container image in the same was as we already do with the VM.

That is, to use one mount for the disk image. And then do bind mounts to this shared location.
That way we avoid overloading all of /var, but still persist the files to disk (the docker volume).

We would need some kind of "minikube-automount" service for this though, so that it happens automatically.

Talked about it in #8151 and #7511

@afbjorklund afbjorklund changed the title wip: Move docker home dir outside of /var and mount preload to that instead wip: Move docker root dir outside of /var and mount preload to that instead Jun 18, 2020
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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker driver: don't mount to /var as it causes race condition
5 participants