Merge branch 'master' into mytests
commit
6ccc6e7659
|
@ -1,5 +1,6 @@
|
|||
name: build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: "generate-docs"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
name: "update-leaderboard"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags-ignore:
|
||||
- 'v*-beta.*'
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
update-leaderboard:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{env.GO_VERSION}}
|
||||
stable: true
|
||||
- name: Update Leaderboard
|
||||
id: leaderboard
|
||||
run: |
|
||||
make update-leaderboard
|
||||
echo "::set-output name=changes::$(git status --porcelain)"
|
||||
- name: Create PR
|
||||
if: ${{ steps.leaderboard.outputs.changes != '' }}
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
token: ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
commit-message: Update leaderboard
|
||||
committer: minikube-bot <minikube-bot@google.com>
|
||||
author: minikube-bot <minikube-bot@google.com>
|
||||
branch: leaderboard
|
||||
push-to-fork: minikube-bot/minikube
|
||||
base: master
|
||||
delete-branch: true
|
||||
title: 'Update leaderboard'
|
||||
body: |
|
||||
Committing changes resulting from `make update-leaderboard`.
|
||||
This PR is auto-generated by the [update-leaderboard](https://github.com/kubernetes/minikube/blob/master/.github/workflows/leaderboard.yml) CI workflow.
|
||||
```
|
||||
${{ steps.leaderboard.outputs.changes }}
|
||||
```
|
|
@ -1,5 +1,6 @@
|
|||
name: Master
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: PR
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- "go.mod"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: PR_Verified
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- "go.mod"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: "time-to-k8s benchmark"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [released]
|
||||
env:
|
||||
|
@ -18,4 +19,18 @@ jobs:
|
|||
stable: true
|
||||
- name: Benchmark
|
||||
run: |
|
||||
./hack/benchmark/time-to-k8s/time-to-k8s.sh ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
./hack/benchmark/time-to-k8s/time-to-k8s.sh
|
||||
echo "::set-output name=version::$(minikube version --short)"
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
token: ${{ secrets.MINIKUBE_BOT_PAT }}
|
||||
commit-message: add time-to-k8s benchmark for ${{ steps.gendocs.outputs.version }}
|
||||
committer: minikube-bot <minikube-bot@google.com>
|
||||
author: minikube-bot <minikube-bot@google.com>
|
||||
branch: addTimeToK8s${{ steps.gendocs.outputs.version }}
|
||||
push-to-fork: minikube-bot/minikube
|
||||
base: master
|
||||
delete-branch: true
|
||||
title: Add time-to-k8s benchmark for ${{ steps.gendocs.outputs.version }}
|
||||
body: Updating time-to-k8s benchmark as part of the release process
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: Translations Validation
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- "translations/**"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: "Tweet the release"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
@ -15,4 +16,4 @@ jobs:
|
|||
consumer-key: ${{ secrets.TWITTER_API_KEY }}
|
||||
consumer-secret: ${{ secrets.TWITTER_API_SECRET }}
|
||||
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
||||
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
|
||||
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: "update-kubernetes-versions"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# every Monday at around 1 am pacific/8 am UTC
|
||||
- cron: "0 8 * * 1"
|
||||
|
|
46
CHANGELOG.md
46
CHANGELOG.md
|
@ -1,5 +1,51 @@
|
|||
# Release Notes
|
||||
|
||||
## Version 1.22.0 - 2021-07-07
|
||||
|
||||
Features:
|
||||
* `minikube version`: add `--components` flag to list all included software [#11843](https://github.com/kubernetes/minikube/pull/11843)
|
||||
|
||||
Minor Improvements:
|
||||
* auto-pause: add support for other container runtimes [#11834](https://github.com/kubernetes/minikube/pull/11834)
|
||||
* windows: support renaming binary to `kubectl.exe` and running as kubectl [#11819](https://github.com/kubernetes/minikube/pull/11819)
|
||||
|
||||
Bugs:
|
||||
* Fix "kubelet Default-Start contains no runlevels" error [#11815](https://github.com/kubernetes/minikube/pull/11815)
|
||||
|
||||
Version Upgrades:
|
||||
* bump default kubernetes version to v1.21.2 & newest kubernetes version to v1.22.0-beta.0 [#11901](https://github.com/kubernetes/minikube/pull/11901)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
- Anders F Björklund
|
||||
- Andriy Dzikh
|
||||
- Dakshraj Sharma
|
||||
- Ilya Zuyev
|
||||
- Jeff MAURY
|
||||
- Maxime Kjaer
|
||||
- Medya Ghazizadeh
|
||||
- Rajwinder Mahal
|
||||
- Sharif Elgamal
|
||||
- Steven Powell
|
||||
|
||||
Thank you to our PR reviewers for this release!
|
||||
|
||||
- medyagh (27 comments)
|
||||
- sharifelgamal (10 comments)
|
||||
- andriyDev (5 comments)
|
||||
- spowelljr (4 comments)
|
||||
- ilya-zuyev (3 comments)
|
||||
|
||||
Thank you to our triage members for this release!
|
||||
|
||||
- medyagh (16 comments)
|
||||
- spowelljr (7 comments)
|
||||
- afbjorklund (4 comments)
|
||||
- mahalrs (4 comments)
|
||||
- sharifelgamal (3 comments)
|
||||
|
||||
## Version 1.22.0-beta.0 - 2021-06-28
|
||||
|
||||
Features:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@
|
|||
# Bump these on release - and please check ISO_VERSION for correctness.
|
||||
VERSION_MAJOR ?= 1
|
||||
VERSION_MINOR ?= 22
|
||||
VERSION_BUILD ?= 0-beta.0
|
||||
VERSION_BUILD ?= 0
|
||||
RAW_VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_BUILD)
|
||||
VERSION ?= v$(RAW_VERSION)
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ minikube runs the latest stable release of Kubernetes, with support for standard
|
|||
* [Persistent Volumes](https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/)
|
||||
* [Ingress](https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/)
|
||||
* [Dashboard](https://minikube.sigs.k8s.io/docs/handbook/dashboard/) - `minikube dashboard`
|
||||
* [Container runtimes](https://minikube.sigs.k8s.io/docs/handbook/config/#runtime-configuration) - `start --container-runtime`
|
||||
* [Container runtimes](https://minikube.sigs.k8s.io/docs/handbook/config/#runtime-configuration) - `minikube start --container-runtime`
|
||||
* [Configure apiserver and kubelet options](https://minikube.sigs.k8s.io/docs/handbook/config/#modifying-kubernetes-defaults) via command-line flags
|
||||
|
||||
As well as developer-friendly features:
|
||||
|
|
|
@ -40,7 +40,7 @@ var addonsDisableCmd = &cobra.Command{
|
|||
}
|
||||
err := addons.SetAndSave(ClusterFlagValue(), addon, "false")
|
||||
if err != nil {
|
||||
exit.Error(reason.InternalDisable, "disable failed", err)
|
||||
exit.Error(reason.InternalAddonDisable, "disable failed", err)
|
||||
}
|
||||
out.Step(style.AddonDisable, `"The '{{.minikube_addon}}' addon is disabled`, out.V{"minikube_addon": addon})
|
||||
},
|
||||
|
|
|
@ -49,7 +49,7 @@ var addonsEnableCmd = &cobra.Command{
|
|||
viper.Set(config.AddonRegistries, registries)
|
||||
err := addons.SetAndSave(ClusterFlagValue(), addon, "true")
|
||||
if err != nil {
|
||||
exit.Error(reason.InternalEnable, "enable failed", err)
|
||||
exit.Error(reason.InternalAddonEnable, "enable failed", err)
|
||||
}
|
||||
if addon == "dashboard" {
|
||||
tipProfileArg := ""
|
||||
|
|
|
@ -24,6 +24,7 @@ import (
|
|||
"os/exec"
|
||||
"os/user"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
@ -44,7 +45,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
dashboardURLMode bool
|
||||
dashboardURLMode bool
|
||||
dashboardExposedPort int
|
||||
// Matches: 127.0.0.1:8001
|
||||
// TODO(tstromberg): Get kubectl to implement a stable supported output format.
|
||||
hostPortRe = regexp.MustCompile(`127.0.0.1:\d{4,}`)
|
||||
|
@ -65,6 +67,10 @@ var dashboardCmd = &cobra.Command{
|
|||
}
|
||||
}
|
||||
|
||||
if dashboardExposedPort < 0 || dashboardExposedPort > 65535 {
|
||||
exit.Message(reason.HostKubectlProxy, "Invalid port")
|
||||
}
|
||||
|
||||
kubectlVersion := co.Config.KubernetesConfig.KubernetesVersion
|
||||
var err error
|
||||
|
||||
|
@ -92,7 +98,7 @@ var dashboardCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
out.ErrT(style.Launch, "Launching proxy ...")
|
||||
p, hostPort, err := kubectlProxy(kubectlVersion, cname)
|
||||
p, hostPort, err := kubectlProxy(kubectlVersion, cname, dashboardExposedPort)
|
||||
if err != nil {
|
||||
exit.Error(reason.HostKubectlProxy, "kubectl proxy", err)
|
||||
}
|
||||
|
@ -126,10 +132,10 @@ var dashboardCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
// kubectlProxy runs "kubectl proxy", returning host:port
|
||||
func kubectlProxy(kubectlVersion string, contextName string) (*exec.Cmd, string, error) {
|
||||
func kubectlProxy(kubectlVersion string, contextName string, port int) (*exec.Cmd, string, error) {
|
||||
// port=0 picks a random system port
|
||||
|
||||
kubectlArgs := []string{"--context", contextName, "proxy", "--port=0"}
|
||||
kubectlArgs := []string{"--context", contextName, "proxy", "--port", strconv.Itoa(port)}
|
||||
|
||||
var cmd *exec.Cmd
|
||||
if kubectl, err := exec.LookPath("kubectl"); err == nil {
|
||||
|
@ -217,4 +223,5 @@ func checkURL(url string) error {
|
|||
|
||||
func init() {
|
||||
dashboardCmd.Flags().BoolVar(&dashboardURLMode, "url", false, "Display dashboard URL instead of opening a browser")
|
||||
dashboardCmd.Flags().IntVar(&dashboardExposedPort, "port", 0, "Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.")
|
||||
}
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
[
|
||||
{
|
||||
"name": "v1.22.0",
|
||||
"checksums": {
|
||||
"darwin": "932a278393cdcb90bff79c4e49d72c1c34910a71010f1466ce92f51d8332fb58",
|
||||
"linux": "7579e5763a4e441500e5709eb058384c9cfe9c9dd888b39905b2cdf3d30fbf36",
|
||||
"windows": "8764ca0e290b4420c5ec82371bcc1b542990a93bdf771578623554be32319d08"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "v1.21.0",
|
||||
"checksums": {
|
||||
|
|
10
go.mod
10
go.mod
|
@ -30,7 +30,7 @@ require (
|
|||
github.com/google/slowjam v1.0.0
|
||||
github.com/google/uuid v1.2.0
|
||||
github.com/gookit/color v1.4.2 // indirect
|
||||
github.com/hashicorp/go-getter v1.5.4
|
||||
github.com/hashicorp/go-getter v1.5.5
|
||||
github.com/hashicorp/go-retryablehttp v0.7.0
|
||||
github.com/hectane/go-acl v0.0.0-20190604041725-da78bae5fc95 // indirect
|
||||
github.com/hooklift/assert v0.0.0-20170704181755-9d1defd6d214 // indirect
|
||||
|
@ -67,8 +67,8 @@ require (
|
|||
github.com/pmezard/go-difflib v1.0.0
|
||||
github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6 // indirect
|
||||
github.com/samalba/dockerclient v0.0.0-20160414174713-91d7393ff859 // indirect
|
||||
github.com/shirou/gopsutil/v3 v3.21.5
|
||||
github.com/spf13/cobra v1.1.3
|
||||
github.com/shirou/gopsutil/v3 v3.21.6
|
||||
github.com/spf13/cobra v1.2.1
|
||||
github.com/spf13/pflag v1.0.5
|
||||
github.com/spf13/viper v1.8.1
|
||||
github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
|
||||
|
@ -81,13 +81,13 @@ require (
|
|||
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
|
||||
golang.org/x/exp v0.0.0-20210220032938-85be41e4509f
|
||||
golang.org/x/mod v0.4.2
|
||||
golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1
|
||||
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
||||
golang.org/x/sys v0.0.0-20210629170331-7dc0b73dc9fb
|
||||
golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72
|
||||
golang.org/x/text v0.3.6
|
||||
gonum.org/v1/plot v0.9.0
|
||||
google.golang.org/api v0.49.0
|
||||
google.golang.org/api v0.50.0
|
||||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
k8s.io/api v0.21.2
|
||||
|
|
37
go.sum
37
go.sum
|
@ -613,8 +613,8 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv
|
|||
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
|
||||
github.com/hashicorp/go-getter v1.5.4 h1:/A0xlardcuhx8SEe1rh1371xV7Yi4j3xeluu53VXeyg=
|
||||
github.com/hashicorp/go-getter v1.5.4/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI=
|
||||
github.com/hashicorp/go-getter v1.5.5 h1:kAiuyk4LvTCqXfDkxNcCS/s0j/jye9USXT+iHH3EX68=
|
||||
github.com/hashicorp/go-getter v1.5.5/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI=
|
||||
github.com/hashicorp/go-hclog v0.9.2 h1:CG6TE5H9/JXsFWJCfoIVpKFIkFe6ysEuHirp4DxCsHI=
|
||||
github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
|
||||
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
|
||||
|
@ -1005,8 +1005,8 @@ github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg
|
|||
github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo=
|
||||
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
|
||||
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
|
||||
github.com/shirou/gopsutil/v3 v3.21.5 h1:YUBf0w/KPLk7w1803AYBnH7BmA+1Z/Q5MEZxpREUaB4=
|
||||
github.com/shirou/gopsutil/v3 v3.21.5/go.mod h1:ghfMypLDrFSWN2c9cDYFLHyynQ+QUht0cv/18ZqVczw=
|
||||
github.com/shirou/gopsutil/v3 v3.21.6 h1:vU7jrp1Ic/2sHB7w6UNs7MIkn7ebVtTb5D9j45o9VYE=
|
||||
github.com/shirou/gopsutil/v3 v3.21.6/go.mod h1:JfVbDpIBLVzT8oKbvMg9P3wEIMDDpVn+LwHTKj0ST88=
|
||||
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
|
||||
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
|
||||
github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
|
||||
|
@ -1036,8 +1036,8 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv
|
|||
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
||||
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
|
||||
github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI=
|
||||
github.com/spf13/cobra v1.1.3 h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M=
|
||||
github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
|
||||
github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=
|
||||
github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
|
||||
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
|
||||
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
|
||||
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
|
||||
|
@ -1074,10 +1074,10 @@ github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cb
|
|||
github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I=
|
||||
github.com/thecodeteam/goscaleio v0.1.0/go.mod h1:68sdkZAsK8bvEwBlbQnlLS+xU+hvLYM/iQ8KXej1AwM=
|
||||
github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
|
||||
github.com/tklauser/go-sysconf v0.3.4 h1:HT8SVixZd3IzLdfs/xlpq0jeSfTX57g1v6wB1EuzV7M=
|
||||
github.com/tklauser/go-sysconf v0.3.4/go.mod h1:Cl2c8ZRWfHD5IrfHo9VN+FX9kCFjIOyVklgXycLB6ek=
|
||||
github.com/tklauser/numcpus v0.2.1 h1:ct88eFm+Q7m2ZfXJdan1xYoXKlmwsfP+k88q05KvlZc=
|
||||
github.com/tklauser/numcpus v0.2.1/go.mod h1:9aU+wOc6WjUIZEwWMP62PL/41d65P+iks1gBkr4QyP8=
|
||||
github.com/tklauser/go-sysconf v0.3.6 h1:oc1sJWvKkmvIxhDHeKWvZS4f6AW+YcoguSfRF2/Hmo4=
|
||||
github.com/tklauser/go-sysconf v0.3.6/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI=
|
||||
github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA=
|
||||
github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM=
|
||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
|
||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
|
||||
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
|
||||
|
@ -1321,8 +1321,8 @@ golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ
|
|||
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1 h1:x622Z2o4hgCr/4CiKWc51jHVKaWdtVpBNmEI8wI9Qns=
|
||||
golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914 h1:3B43BWw0xEBsLZ/NO1VALz6fppU3481pik+2Ksv45z8=
|
||||
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw=
|
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
|
@ -1419,11 +1419,11 @@ golang.org/x/sys v0.0.0-20201223074533-0d417f636930/go.mod h1:h1NjWce9XRLGQEsW7w
|
|||
golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210217105451-b926d437f341/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
|
@ -1527,8 +1527,9 @@ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4f
|
|||
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
|
||||
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||
golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||
golang.org/x/tools v0.1.3 h1:L69ShwSZEyCsLKoAxDKeMvLDZkumEe8gXUZAjab0tX8=
|
||||
golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||
golang.org/x/tools v0.1.4 h1:cVngSRcfgyZCzys3KYOpCFa+4dqX/Oub9tAq00ttGVs=
|
||||
golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
|
@ -1572,8 +1573,8 @@ google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1Avk
|
|||
google.golang.org/api v0.45.0/go.mod h1:ISLIJCedJolbZvDfAk+Ctuq5hf+aJ33WgtUsfyFoLXA=
|
||||
google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
|
||||
google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
|
||||
google.golang.org/api v0.49.0 h1:gjIBDxlTG7vnzMmEnYwTnvLTF8Rjzo+ETCgEX1YZ/fY=
|
||||
google.golang.org/api v0.49.0/go.mod h1:BECiH72wsfwUvOVn3+btPD5WHi0LzavZReBndi42L18=
|
||||
google.golang.org/api v0.50.0 h1:LX7NFCFYOHzr7WHaYiRUpeipZe9o5L8T+2F4Z798VDw=
|
||||
google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw=
|
||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
|
||||
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
|
@ -1636,8 +1637,8 @@ google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQ
|
|||
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
|
||||
google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
|
||||
google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
|
||||
google.golang.org/genproto v0.0.0-20210617175327-b9e0b3197ced h1:c5geK1iMU3cDKtFrCVQIcjR3W+JOZMuhIyICMCTbtus=
|
||||
google.golang.org/genproto v0.0.0-20210617175327-b9e0b3197ced/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
|
||||
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84 h1:R1r5J0u6Cx+RNl/6mezTw6oA14cmKC96FeUwL6A9bd4=
|
||||
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
|
||||
google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
|
||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 72506e948764aeeafc01e58e6bec0ea741c61ca0
|
||||
Subproject commit f6f6b2db9e718f7c9af698b6247b232a7251522f
|
|
@ -31,22 +31,6 @@ install_minikube() {
|
|||
sudo install ./out/minikube /usr/local/bin/minikube
|
||||
}
|
||||
|
||||
install_gh() {
|
||||
export access_token="$1"
|
||||
|
||||
# Make sure gh is installed and configured
|
||||
./hack/jenkins/installers/check_install_gh.sh
|
||||
}
|
||||
|
||||
config_git() {
|
||||
git config user.name "minikube-bot"
|
||||
git config user.email "minikube-bot@google.com"
|
||||
}
|
||||
|
||||
create_branch() {
|
||||
git checkout -b addTimeToK8s"$1"
|
||||
}
|
||||
|
||||
run_benchmark() {
|
||||
pwd
|
||||
( cd ./hack/benchmark/time-to-k8s/time-to-k8s-repo/ &&
|
||||
|
@ -62,27 +46,16 @@ create_page() {
|
|||
printf -- "---\ntitle: \"%s Benchmark\"\nlinkTitle: \"%s Benchmark\"\nweight: 1\n---\n\n![time-to-k8s](/images/benchmarks/timeToK8s/%s.png)\n" "$1" "$1" "$1" > ./site/content/en/docs/benchmarks/timeToK8s/"$1".md
|
||||
}
|
||||
|
||||
commit_changes() {
|
||||
git add ./site/static/images/benchmarks/timeToK8s/"$1".png ./site/content/en/docs/benchmarks/timeToK8s/"$1".md
|
||||
git commit -m "add time-to-k8s benchmark for $1"
|
||||
}
|
||||
|
||||
create_pr() {
|
||||
git remote add minikube-bot https://minikube-bot:"$2"@github.com/minikube-bot/minikube.git
|
||||
git push -u minikube-bot addTimeToK8s"$1"
|
||||
gh pr create --repo kubernetes/minikube --base master --title "Add time-to-k8s benchmark for $1" --body "Updating time-to-k8s benchmark as part of the release process"
|
||||
cleanup() {
|
||||
rm ./hack/benchmark/time-to-k8s/time-to-k8s-repo/output.csv
|
||||
}
|
||||
|
||||
install_kind
|
||||
install_k3d
|
||||
install_minikube
|
||||
install_gh "$1"
|
||||
config_git
|
||||
|
||||
VERSION=$(minikube version --short)
|
||||
create_branch "$VERSION"
|
||||
run_benchmark
|
||||
generate_chart "$VERSION"
|
||||
create_page "$VERSION"
|
||||
commit_changes "$VERSION"
|
||||
create_pr "$VERSION" "$1"
|
||||
cleanup
|
||||
|
|
|
@ -26,11 +26,6 @@
|
|||
|
||||
set -eux -o pipefail
|
||||
|
||||
if [ "${ghprbPullId}" == "master" ]; then
|
||||
echo "not setting github status for continuous builds"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
jobs=(
|
||||
'Hyperkit_macOS'
|
||||
# 'Hyper-V_Windows'
|
||||
|
@ -54,6 +49,15 @@ jobs=(
|
|||
'Docker_Cloud_Shell'
|
||||
)
|
||||
|
||||
SHORT_COMMIT=${ghprbActualCommit:0:7}
|
||||
STARTED_LIST_REMOTE="gs://minikube-builds/logs/${ghprbPullId}/${SHORT_COMMIT}/started_environments_${BUILD_NUMBER}.txt"
|
||||
printf "%s\n" "${jobs[@]}" | gsutil cp - "${STARTED_LIST_REMOTE}"
|
||||
|
||||
if [ "${ghprbPullId}" == "master" ]; then
|
||||
echo "not setting github status for continuous builds"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# retry_github_status provides reliable github status updates
|
||||
function retry_github_status() {
|
||||
local commit=$1
|
||||
|
@ -88,11 +92,7 @@ function retry_github_status() {
|
|||
done
|
||||
}
|
||||
|
||||
SHORT_COMMIT=${ghprbActualCommit:0:7}
|
||||
for j in ${jobs[@]}; do
|
||||
retry_github_status "${ghprbActualCommit}" "${j}" "pending" "${access_token}" \
|
||||
"https://storage.googleapis.com/minikube-builds/logs/${ghprbPullId}/${SHORT_COMMIT}/${j}.pending"
|
||||
done
|
||||
|
||||
STARTED_LIST_REMOTE="gs://minikube-builds/logs/${ghprbPullId}/${SHORT_COMMIT}/started_environments_${BUILD_NUMBER}.txt"
|
||||
printf "%s\n" "${jobs[@]}" | gsutil cp - "${STARTED_LIST_REMOTE}"
|
||||
|
|
|
@ -51,7 +51,7 @@ cd "${SRC_DIR}"
|
|||
brew bump-formula-pr \
|
||||
--strict minikube \
|
||||
--revision="${revision}" \
|
||||
--message="This PR was automatically created by minikube release scripts. Contact @tstromberg with any questions." \
|
||||
--message="This PR was automatically created by minikube release scripts. Contact @medyagh with any questions." \
|
||||
--no-browse \
|
||||
--tag="${TAG}" \
|
||||
&& status=0 || status=$?
|
||||
|
|
|
@ -39,9 +39,10 @@ set -eu -o pipefail
|
|||
FINISHED_LIST_REMOTE="${BUCKET_PATH}/finished_environments_${ROOT_JOB_ID}.txt"
|
||||
# Ensure FINISHED_LIST_REMOTE exists so we can append (but don't erase any existing entries in FINISHED_LIST_REMOTE)
|
||||
< /dev/null gsutil cp -n - "${FINISHED_LIST_REMOTE}"
|
||||
# Copy the job name to APPEND_TMP
|
||||
# Copy the job name to APPEND_TMP. If the job name ends in "_integration" remove it.
|
||||
APPEND_TMP="${BUCKET_PATH}/$(basename $(mktemp))"
|
||||
echo "${UPSTREAM_JOB}"\
|
||||
| sed -r 's/_integration$//'\
|
||||
| gsutil cp - "${APPEND_TMP}"
|
||||
# Append job name to remote finished list.
|
||||
gsutil compose "${FINISHED_LIST_REMOTE}" "${APPEND_TMP}" "${FINISHED_LIST_REMOTE}"
|
||||
|
|
|
@ -252,9 +252,11 @@ func dockerSystemInfo() (dockerSysInfo, error) {
|
|||
var ds dockerSysInfo
|
||||
rawJSON, err := dockerInfoGetter()
|
||||
if err != nil {
|
||||
klog.Warningf("docker info: %v", err)
|
||||
return ds, errors.Wrap(err, "docker system info")
|
||||
}
|
||||
if err := json.Unmarshal([]byte(strings.TrimSpace(rawJSON)), &ds); err != nil {
|
||||
klog.Warningf("unmarshal docker info: %v", err)
|
||||
return ds, errors.Wrapf(err, "unmarshal docker system info")
|
||||
}
|
||||
|
||||
|
@ -272,10 +274,12 @@ func podmanSystemInfo() (podmanSysInfo, error) {
|
|||
var ps podmanSysInfo
|
||||
rawJSON, err := podmanInfoGetter()
|
||||
if err != nil {
|
||||
klog.Warningf("podman info: %v", err)
|
||||
return ps, errors.Wrap(err, "podman system info")
|
||||
}
|
||||
|
||||
if err := json.Unmarshal([]byte(strings.TrimSpace(rawJSON)), &ps); err != nil {
|
||||
klog.Warningf("unmarshal podman info: %v", err)
|
||||
return ps, errors.Wrapf(err, "unmarshal podman system info")
|
||||
}
|
||||
klog.Infof("podman info: %+v", ps)
|
||||
|
|
|
@ -34,7 +34,7 @@ var (
|
|||
const (
|
||||
// DefaultKubernetesVersion is the default Kubernetes version
|
||||
// dont update till #10545 is solved
|
||||
DefaultKubernetesVersion = "v1.20.8"
|
||||
DefaultKubernetesVersion = "v1.21.2"
|
||||
// NewestKubernetesVersion is the newest Kubernetes version to test against
|
||||
// NOTE: You may need to update coreDNS & etcd versions in pkg/minikube/bootstrapper/images/images.go
|
||||
NewestKubernetesVersion = "v1.22.0-beta.0"
|
||||
|
|
|
@ -30,6 +30,7 @@ type K8sIssue struct {
|
|||
|
||||
var k8sIssues = []K8sIssue{
|
||||
{
|
||||
// fixed by github.com/kubernetes/kubernetes/pull/99336
|
||||
VersionsAffected: []string{
|
||||
"1.18.16",
|
||||
"1.18.17",
|
||||
|
@ -42,8 +43,6 @@ var k8sIssues = []K8sIssue{
|
|||
"1.20.5",
|
||||
"1.20.6",
|
||||
"1.21.0",
|
||||
"1.21.1",
|
||||
"1.21.2",
|
||||
},
|
||||
Description: "Kubernetes {{.version}} has a known performance issue on cluster startup. It might take 2 to 3 minutes for a cluster to start.",
|
||||
URL: "https://github.com/kubernetes/kubeadm/issues/2395",
|
||||
|
|
|
@ -69,12 +69,12 @@ var (
|
|||
|
||||
// user attempted to run a Windows executable (.exe) inside of WSL rather than using the Linux binary
|
||||
WrongBinaryWSL = Kind{ID: "MK_WRONG_BINARY_WSL", ExitCode: ExProgramUnsupported}
|
||||
// user attempted to run an amd64 executable on a darwin/arm64 system
|
||||
WrongBinaryM1 = Kind{ID: "MK_WRONG_BINARY_M1", ExitCode: ExProgramUnsupported}
|
||||
|
||||
// minikube failed to create a new Docker Machine api client
|
||||
NewAPIClient = Kind{ID: "MK_NEW_APICLIENT", ExitCode: ExProgramError}
|
||||
// minikube could not enable an addon, e.g dashboard addon
|
||||
// minikube could not disable an addon, e.g. dashboard addon
|
||||
InternalAddonDisable = Kind{ID: "MK_ADDON_DISABLE", ExitCode: ExProgramError}
|
||||
// minikube could not enable an addon, e.g. dashboard addon
|
||||
InternalAddonEnable = Kind{ID: "MK_ADDON_ENABLE", ExitCode: ExProgramError}
|
||||
// minikube failed to update internal configuration, such as the cached images config map
|
||||
InternalAddConfig = Kind{ID: "MK_ADD_CONFIG", ExitCode: ExProgramError}
|
||||
|
@ -96,16 +96,10 @@ var (
|
|||
InternalConfigView = Kind{ID: "MK_CONFIG_VIEW", ExitCode: ExProgramError}
|
||||
// minikybe failed to delete an internal configuration, such as a cached image
|
||||
InternalDelConfig = Kind{ID: "MK_DEL_CONFIG", ExitCode: ExProgramError}
|
||||
// minikube failed to disable a minikube addon
|
||||
InternalDisable = Kind{ID: "MK_DISABLE", ExitCode: ExProgramError}
|
||||
// minikube failed to generate script to activate minikube docker-env
|
||||
InternalDockerScript = Kind{ID: "MK_DOCKER_SCRIPT", ExitCode: ExProgramError}
|
||||
// minkube failed to enable a minikube addon
|
||||
InternalEnable = Kind{ID: "MK_ENABLE", ExitCode: ExProgramError}
|
||||
// an error occurred when viper attempted to bind flags to configuration
|
||||
InternalBindFlags = Kind{ID: "MK_BIND_FLAGS", ExitCode: ExProgramError}
|
||||
// an error occurred when setting cofniguration flags (currently not in use)
|
||||
InternalFlagSet = Kind{ID: "MK_FLAGS_SET", ExitCode: ExProgramError}
|
||||
// minkube was passed an invalid format string in the --format flag
|
||||
InternalFormatUsage = Kind{ID: "MK_FORMAT_USAGE", ExitCode: ExProgramError}
|
||||
// minikube failed to auto-generate markdown-based documentation in the specified folder
|
||||
|
@ -116,8 +110,6 @@ var (
|
|||
InternalKubernetesClient = Kind{ID: "MK_K8S_CLIENT", ExitCode: ExControlPlaneUnavailable}
|
||||
// minikube failed to list some configuration data
|
||||
InternalListConfig = Kind{ID: "MK_LIST_CONFIG", ExitCode: ExProgramError}
|
||||
// minikube failed to write logs to stdout (currently not in use)
|
||||
InternalLogtostderrFlag = Kind{ID: "MK_LOGTOSTDERR_FLAG", ExitCode: ExProgramError}
|
||||
// minikube failed to follow or watch minikube logs
|
||||
InternalLogFollow = Kind{ID: "MK_LOG_FOLLOW", ExitCode: ExProgramError}
|
||||
// minikube failed to create an appropriate new runtime based on the driver in use
|
||||
|
@ -136,8 +128,6 @@ var (
|
|||
InternalStatusJSON = Kind{ID: "MK_STATUS_JSON", ExitCode: ExProgramError}
|
||||
// minikube failed to output minikube status text
|
||||
InternalStatusText = Kind{ID: "MK_STATUS_TEXT", ExitCode: ExProgramError}
|
||||
// minikube failed to generate script to deactivate minikube docker-env
|
||||
InternalUnsetScript = Kind{ID: "MK_UNSET_SCRIPT", ExitCode: ExProgramError}
|
||||
// minikube failed to execute (i.e. fill in values for) a view template for displaying current config
|
||||
InternalViewExec = Kind{ID: "MK_VIEW_EXEC", ExitCode: ExProgramError}
|
||||
// minikube failed to create view template for displaying current config
|
||||
|
@ -260,8 +250,6 @@ var (
|
|||
HostDelCache = Kind{ID: "HOST_DEL_CACHE", ExitCode: ExHostError}
|
||||
// minikube failed to kill a mount process
|
||||
HostKillMountProc = Kind{ID: "HOST_KILL_MOUNT_PROC", ExitCode: ExHostError}
|
||||
// minikube failed to unset host Kubernetes resources config
|
||||
HostKubeconfigUnset = Kind{ID: "HOST_KUBECNOFIG_UNSET", ExitCode: ExHostConfig}
|
||||
// minikube failed to update host Kubernetes resources config
|
||||
HostKubeconfigUpdate = Kind{ID: "HOST_KUBECONFIG_UPDATE", ExitCode: ExHostConfig}
|
||||
// minikube failed to delete Kubernetes config from context for a given profile
|
||||
|
@ -312,8 +300,6 @@ var (
|
|||
DrvAsRoot = Kind{ID: "DRV_AS_ROOT", ExitCode: ExDriverPermission}
|
||||
// the specified driver needs to be run as root
|
||||
DrvNeedsRoot = Kind{ID: "DRV_NEEDS_ROOT", ExitCode: ExDriverPermission}
|
||||
// the specified driver needs to be run as administrator
|
||||
DrvNeedsAdministrator = Kind{ID: "DRV_NEEDS_ADMINISTRATOR", ExitCode: ExDriverPermission}
|
||||
|
||||
// minikube failed to load cached images
|
||||
GuestCacheLoad = Kind{ID: "GUEST_CACHE_LOAD", ExitCode: ExGuestError}
|
||||
|
@ -385,8 +371,6 @@ var (
|
|||
InetCacheKubectl = Kind{ID: "INET_CACHE_KUBECTL", ExitCode: ExInternetError}
|
||||
// minikube failed to cache required images to tar files
|
||||
InetCacheTar = Kind{ID: "INET_CACHE_TAR", ExitCode: ExInternetError}
|
||||
// minikube failed to get required versions for binaries in use
|
||||
InetGetVersions = Kind{ID: "INET_GET_VERSIONS", ExitCode: ExInternetError}
|
||||
// minikube was unable to access main repository and mirrors for images
|
||||
InetRepo = Kind{ID: "INET_REPO", ExitCode: ExInternetError}
|
||||
// minikube was unable to access any known image repositories
|
||||
|
@ -400,8 +384,6 @@ var (
|
|||
RuntimeEnable = Kind{ID: "RUNTIME_ENABLE", ExitCode: ExRuntimeError}
|
||||
// minikube failed to cache images for the current container runtime
|
||||
RuntimeCache = Kind{ID: "RUNTIME_CACHE", ExitCode: ExRuntimeError}
|
||||
// minikube failed to restart the current container runtime
|
||||
RuntimeRestart = Kind{ID: "RUNTIME_RESTART", ExitCode: ExRuntimeError}
|
||||
|
||||
// service check timed out while starting minikube dashboard
|
||||
SvcCheckTimeout = Kind{ID: "SVC_CHECK_TIMEOUT", ExitCode: ExSvcTimeout}
|
||||
|
@ -422,8 +404,6 @@ var (
|
|||
EnvDriverConflict = Kind{ID: "ENV_DRIVER_CONFLICT", ExitCode: ExDriverConflict}
|
||||
// user attempted to run a command that is not supported on multi-node setup without some additional configuration
|
||||
EnvMultiConflict = Kind{ID: "ENV_MULTINODE_CONFLICT", ExitCode: ExGuestConflict}
|
||||
// the docker service was unavailable to the cluster
|
||||
EnvDockerUnavailable = Kind{ID: "ENV_DOCKER_UNAVAILABLE", ExitCode: ExRuntimeUnavailable}
|
||||
// the podman service was unavailable to the cluster
|
||||
EnvPodmanUnavailable = Kind{ID: "ENV_PODMAN_UNAVAILABLE", ExitCode: ExRuntimeUnavailable}
|
||||
|
||||
|
|
|
@ -129,6 +129,13 @@ no = 'Sorry to hear that. Please <a href="https://github.com/kubernetes/minikube
|
|||
icon = "fas fa-envelope"
|
||||
desc = "Interact with the minikube users here"
|
||||
|
||||
[[params.links.user]]
|
||||
name = "twitter"
|
||||
url = "https://twitter.com/minikube_dev"
|
||||
icon = "fab fa-twitter"
|
||||
desc = "Follow minikube's official twitter for news/releases"
|
||||
|
||||
|
||||
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
|
||||
[[params.links.developer]]
|
||||
name = "GitHub"
|
||||
|
|
|
@ -11,7 +11,7 @@ minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows
|
|||
|
||||
![Screenshot](/images/screenshot.png)
|
||||
|
||||
🎉 Latest Release: v1.21.0 - Jun 11, 2021 ([changelog](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md))
|
||||
🎉 Latest Release: v1.22.0 - Jul 07, 2021 ([changelog](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md))
|
||||
|
||||
## Highlights
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "v1.22.0 Benchmark"
|
||||
linkTitle: "v1.22.0 Benchmark"
|
||||
weight: 1
|
||||
---
|
||||
|
||||
![time-to-k8s](/images/benchmarks/timeToK8s/v1.22.0.png)
|
|
@ -20,7 +20,8 @@ minikube dashboard [flags]
|
|||
### Options
|
||||
|
||||
```
|
||||
--url Display dashboard URL instead of opening a browser
|
||||
--port int Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.
|
||||
--url Display dashboard URL instead of opening a browser
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -66,7 +66,7 @@ minikube start [flags]
|
|||
--interactive Allow user prompts for more information (default true)
|
||||
--iso-url strings Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube/iso/minikube-v1.22.0.iso,https://github.com/kubernetes/minikube/releases/download/v1.22.0/minikube-v1.22.0.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.22.0.iso])
|
||||
--keep-context This will keep the existing kubectl context and will create a minikube context.
|
||||
--kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.20.8, 'latest' for v1.22.0-beta.0). Defaults to 'stable'.
|
||||
--kubernetes-version string The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.21.2, 'latest' for v1.22.0-beta.0). Defaults to 'stable'.
|
||||
--kvm-gpu Enable experimental NVIDIA GPU support in minikube
|
||||
--kvm-hidden Hide the hypervisor signature from the guest in minikube (kvm2 driver only)
|
||||
--kvm-network string The KVM default network name. (kvm2 driver only) (default "default")
|
||||
|
|
|
@ -129,14 +129,14 @@ minikube was interrupted by an OS signal
|
|||
"MK_WRONG_BINARY_WSL" (Exit code ExProgramUnsupported)
|
||||
user attempted to run a Windows executable (.exe) inside of WSL rather than using the Linux binary
|
||||
|
||||
"MK_WRONG_BINARY_M1" (Exit code ExProgramUnsupported)
|
||||
user attempted to run an amd64 executable on a darwin/arm64 system
|
||||
|
||||
"MK_NEW_APICLIENT" (Exit code ExProgramError)
|
||||
minikube failed to create a new Docker Machine api client
|
||||
|
||||
"MK_ADDON_DISABLE" (Exit code ExProgramError)
|
||||
minikube could not disable an addon, e.g. dashboard addon
|
||||
|
||||
"MK_ADDON_ENABLE" (Exit code ExProgramError)
|
||||
minikube could not enable an addon, e.g dashboard addon
|
||||
minikube could not enable an addon, e.g. dashboard addon
|
||||
|
||||
"MK_ADD_CONFIG" (Exit code ExProgramError)
|
||||
minikube failed to update internal configuration, such as the cached images config map
|
||||
|
@ -168,21 +168,12 @@ minikube failed to view current config values
|
|||
"MK_DEL_CONFIG" (Exit code ExProgramError)
|
||||
minikybe failed to delete an internal configuration, such as a cached image
|
||||
|
||||
"MK_DISABLE" (Exit code ExProgramError)
|
||||
minikube failed to disable a minikube addon
|
||||
|
||||
"MK_DOCKER_SCRIPT" (Exit code ExProgramError)
|
||||
minikube failed to generate script to activate minikube docker-env
|
||||
|
||||
"MK_ENABLE" (Exit code ExProgramError)
|
||||
minkube failed to enable a minikube addon
|
||||
|
||||
"MK_BIND_FLAGS" (Exit code ExProgramError)
|
||||
an error occurred when viper attempted to bind flags to configuration
|
||||
|
||||
"MK_FLAGS_SET" (Exit code ExProgramError)
|
||||
an error occurred when setting cofniguration flags (currently not in use)
|
||||
|
||||
"MK_FORMAT_USAGE" (Exit code ExProgramError)
|
||||
minkube was passed an invalid format string in the --format flag
|
||||
|
||||
|
@ -198,9 +189,6 @@ minikube failed to create a Kubernetes client set which is necessary for queryin
|
|||
"MK_LIST_CONFIG" (Exit code ExProgramError)
|
||||
minikube failed to list some configuration data
|
||||
|
||||
"MK_LOGTOSTDERR_FLAG" (Exit code ExProgramError)
|
||||
minikube failed to write logs to stdout (currently not in use)
|
||||
|
||||
"MK_LOG_FOLLOW" (Exit code ExProgramError)
|
||||
minikube failed to follow or watch minikube logs
|
||||
|
||||
|
@ -228,9 +216,6 @@ minikube failed to output JSON-formatted minikube status
|
|||
"MK_STATUS_TEXT" (Exit code ExProgramError)
|
||||
minikube failed to output minikube status text
|
||||
|
||||
"MK_UNSET_SCRIPT" (Exit code ExProgramError)
|
||||
minikube failed to generate script to deactivate minikube docker-env
|
||||
|
||||
"MK_VIEW_EXEC" (Exit code ExProgramError)
|
||||
minikube failed to execute (i.e. fill in values for) a view template for displaying current config
|
||||
|
||||
|
@ -309,9 +294,6 @@ minikube failed to delete cached images from host
|
|||
"HOST_KILL_MOUNT_PROC" (Exit code ExHostError)
|
||||
minikube failed to kill a mount process
|
||||
|
||||
"HOST_KUBECNOFIG_UNSET" (Exit code ExHostConfig)
|
||||
minikube failed to unset host Kubernetes resources config
|
||||
|
||||
"HOST_KUBECONFIG_UPDATE" (Exit code ExHostConfig)
|
||||
minikube failed to update host Kubernetes resources config
|
||||
|
||||
|
@ -375,9 +357,6 @@ the driver in use is being run as root
|
|||
"DRV_NEEDS_ROOT" (Exit code ExDriverPermission)
|
||||
the specified driver needs to be run as root
|
||||
|
||||
"DRV_NEEDS_ADMINISTRATOR" (Exit code ExDriverPermission)
|
||||
the specified driver needs to be run as administrator
|
||||
|
||||
"GUEST_CACHE_LOAD" (Exit code ExGuestError)
|
||||
minikube failed to load cached images
|
||||
|
||||
|
@ -480,9 +459,6 @@ minikube failed to cache the kubectl binary
|
|||
"INET_CACHE_TAR" (Exit code ExInternetError)
|
||||
minikube failed to cache required images to tar files
|
||||
|
||||
"INET_GET_VERSIONS" (Exit code ExInternetError)
|
||||
minikube failed to get required versions for binaries in use
|
||||
|
||||
"INET_REPO" (Exit code ExInternetError)
|
||||
minikube was unable to access main repository and mirrors for images
|
||||
|
||||
|
@ -501,9 +477,6 @@ minikube failed to enable the current container runtime
|
|||
"RUNTIME_CACHE" (Exit code ExRuntimeError)
|
||||
minikube failed to cache images for the current container runtime
|
||||
|
||||
"RUNTIME_RESTART" (Exit code ExRuntimeError)
|
||||
minikube failed to restart the current container runtime
|
||||
|
||||
"SVC_CHECK_TIMEOUT" (Exit code ExSvcTimeout)
|
||||
service check timed out while starting minikube dashboard
|
||||
|
||||
|
@ -531,9 +504,6 @@ user attempted to use a command that is not supported by the driver currently in
|
|||
"ENV_MULTINODE_CONFLICT" (Exit code ExGuestConflict)
|
||||
user attempted to run a command that is not supported on multi-node setup without some additional configuration
|
||||
|
||||
"ENV_DOCKER_UNAVAILABLE" (Exit code ExRuntimeUnavailable)
|
||||
the docker service was unavailable to the cluster
|
||||
|
||||
"ENV_PODMAN_UNAVAILABLE" (Exit code ExRuntimeUnavailable)
|
||||
the podman service was unavailable to the cluster
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
|
@ -815,7 +815,7 @@ func validateDashboardCmd(ctx context.Context, t *testing.T, profile string) {
|
|||
mctx, cancel := context.WithTimeout(ctx, Seconds(300))
|
||||
defer cancel()
|
||||
|
||||
args := []string{"dashboard", "--url", "-p", profile, "--alsologtostderr", "-v=1"}
|
||||
args := []string{"dashboard", "--url", "--port", "36195", "-p", profile, "--alsologtostderr", "-v=1"}
|
||||
ss, err := Start(t, exec.CommandContext(mctx, Target(), args...))
|
||||
if err != nil {
|
||||
t.Errorf("failed to run minikube dashboard. args %q : %v", args, err)
|
||||
|
|
|
@ -466,13 +466,13 @@ func validateDeployAppToMultiNode(ctx context.Context, t *testing.T, profile str
|
|||
|
||||
_, err = Run(t, exec.CommandContext(ctx, Target(), "kubectl", "-p", profile, "--", "rollout", "status", "deployment/busybox"))
|
||||
if err != nil {
|
||||
t.Errorf("failed to delploy busybox to multinode cluster")
|
||||
t.Errorf("failed to deploy busybox to multinode cluster")
|
||||
}
|
||||
|
||||
// resolve Pod IPs
|
||||
rr, err := Run(t, exec.CommandContext(ctx, Target(), "kubectl", "-p", profile, "--", "get", "pods", "-o", "jsonpath='{.items[*].status.podIP}'"))
|
||||
if err != nil {
|
||||
t.Errorf("failed retrieve Pod IPs")
|
||||
t.Errorf("failed to retrieve Pod IPs")
|
||||
}
|
||||
podIPs := strings.Split(strings.Trim(rr.Stdout.String(), "'"), " ")
|
||||
if len(podIPs) != 2 {
|
||||
|
|
|
@ -215,6 +215,7 @@
|
|||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "",
|
||||
"Exiting": "Wird beendet",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
|
@ -220,6 +220,7 @@
|
|||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "",
|
||||
"Exiting": "Saliendo",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
|
@ -218,6 +218,7 @@
|
|||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "Il manque de nouvelles fonctionnalités sur le disque existant ({{.error}}). Pour mettre à niveau, exécutez 'minikube delete'",
|
||||
"Exiting": "Fermeture…",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "Fermeture en raison de {{.fatal_code}} : {{.fatal_msg}}",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "L'adaptateur externe sur lequel un commutateur externe sera créé si aucun commutateur externe n'est trouvé. (pilote hyperv uniquement)",
|
||||
"Fail check if container paused": "Échec de la vérification si le conteneur est en pause",
|
||||
"Failed runtime": "Échec de l'exécution",
|
||||
|
|
|
@ -208,6 +208,7 @@
|
|||
"Exiting": "終了しています",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exiting.": "終了しています",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
|
@ -232,6 +232,7 @@
|
|||
"Executing \"{{.command}}\" took an unusually long time: {{.duration}}": "",
|
||||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "런타임이 실패하였습니다",
|
||||
|
|
|
@ -223,6 +223,7 @@
|
|||
"Executing \"{{.command}}\" took an unusually long time: {{.duration}}": "",
|
||||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
|
@ -201,6 +201,7 @@
|
|||
"Executing \"{{.command}}\" took an unusually long time: {{.duration}}": "",
|
||||
"Existing disk is missing new features ({{.error}}). To upgrade, run 'minikube delete'": "",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
|
@ -280,6 +280,7 @@
|
|||
"Exiting due to driver incompatibility": "由于驱动程序不兼容而退出",
|
||||
"Exiting due to {{.fatal_code}}: {{.fatal_msg}}": "",
|
||||
"Exiting.": "正在退出。",
|
||||
"Exposed port of the proxyfied dashboard. Set to 0 to pick a random port.": "",
|
||||
"External Adapter on which external switch will be created if no external switch is found. (hyperv driver only)": "",
|
||||
"Fail check if container paused": "",
|
||||
"Failed runtime": "",
|
||||
|
|
Loading…
Reference in New Issue