commit
5c32a54a9f
30
CHANGELOG.md
30
CHANGELOG.md
|
@ -218,7 +218,7 @@ Check out our [contributions leaderboard](https://minikube.sigs.k8s.io/docs/cont
|
|||
|
||||
* Resolved regression breaking `minikube start` with hyperkit driver [#13418](https://github.com/kubernetes/minikube/pull/13418)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -265,7 +265,7 @@ Version Upgrades:
|
|||
Deprecation:
|
||||
* mount: Remove `--mode` flag [#13162](https://github.com/kubernetes/minikube/pull/13162)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -342,7 +342,7 @@ Bug fixes:
|
|||
* fix zsh completion [#12841](https://github.com/kubernetes/minikube/pull/12841)
|
||||
* Fix starting on Windows with VMware driver on non `C:` drive [#12819](https://github.com/kubernetes/minikube/pull/12819)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -404,7 +404,7 @@ Version Upgrades:
|
|||
* minikube-ingress-dns: Update image to 0.0.2 [#12730](https://github.com/kubernetes/minikube/pull/12730)
|
||||
* helm-tiller: Update image to v2.17.0 [#12641](https://github.com/kubernetes/minikube/pull/12641)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -463,7 +463,7 @@ Fix crio regression:
|
|||
* Roll back default crio cgroup to systemd [#12533](https://github.com/kubernetes/minikube/pull/12533)
|
||||
* Fix template typo [#12532](https://github.com/kubernetes/minikube/pull/12532)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -509,7 +509,7 @@ Version Upgrades:
|
|||
* Bump cri-o from v1.20.0 to 1.22.0 [#12425](https://github.com/kubernetes/minikube/pull/12425)
|
||||
* Bump dashboard from v2.1.0 to v2.3.1 and metrics-scraper from v1.0.4 to v1.0.7 [#12475](https://github.com/kubernetes/minikube/pull/12475)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -657,7 +657,7 @@ Bugs:
|
|||
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).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -702,7 +702,7 @@ Bugs:
|
|||
* Fix embed-certs global config [#11576](https://github.com/kubernetes/minikube/pull/11576)
|
||||
* Fix a download link to use arm64 instead of amd64 [#11653](https://github.com/kubernetes/minikube/pull/11653)
|
||||
* fix downloading duplicate base image [#11690](https://github.com/kubernetes/minikube/pull/11690)
|
||||
* fix multi-node loosing track of nodes after second restart [#11731](https://github.com/kubernetes/minikube/pull/11731)
|
||||
* fix multi-node losing track of nodes after second restart [#11731](https://github.com/kubernetes/minikube/pull/11731)
|
||||
* gcp-auth: do not override existing environment variables in pods [#11665](https://github.com/kubernetes/minikube/pull/11665)
|
||||
|
||||
Minor improvements:
|
||||
|
@ -710,7 +710,7 @@ Minor improvements:
|
|||
* Allow running amd64 binary on M1 [#11674](https://github.com/kubernetes/minikube/pull/11674)
|
||||
* improve containerd experience on cgroup v2 [#11632](https://github.com/kubernetes/minikube/pull/11632)
|
||||
* Improve French locale [#11728](https://github.com/kubernetes/minikube/pull/11728)
|
||||
* Fix UI error for stoppping systemd service [#11667](https://github.com/kubernetes/minikube/pull/11667)
|
||||
* Fix UI error for stopping systemd service [#11667](https://github.com/kubernetes/minikube/pull/11667)
|
||||
* international languages: allow using LC_ALL env to set local language for windows [#11721](https://github.com/kubernetes/minikube/pull/11721)
|
||||
* Change registery_mirror to registery-mirror [#11678](https://github.com/kubernetes/minikube/pull/11678)
|
||||
|
||||
|
@ -719,7 +719,7 @@ Version Upgrades:
|
|||
* ISO: Upgrade podman to 3.1.2 [#11704](https://github.com/kubernetes/minikube/pull/11704)
|
||||
* Upgrade Buildroot to 2021.02 LTS with Linux 4.19 [#11688](https://github.com/kubernetes/minikube/pull/11688)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -756,7 +756,7 @@ Thank you to our triage members for this release!
|
|||
* add more polish translations [#11587](https://github.com/kubernetes/minikube/pull/11587)
|
||||
* Modify MetricsServer to use v1 api version (instead of v1beta1). [#11584](https://github.com/kubernetes/minikube/pull/11584)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -805,7 +805,7 @@ Version Upgrades:
|
|||
* containerd: upgrade `io.containerd.runtime.v1.linux` to `io.containerd.runc.v2` (suppot cgroup v2) [#11325](https://github.com/kubernetes/minikube/pull/11325)
|
||||
* metallb-addon: Update metallb from 0.8.2 to 0.9.6 [#11410](https://github.com/kubernetes/minikube/pull/11410)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -869,7 +869,7 @@ Version Upgrades:
|
|||
* Update olm addon to v0.17.0 [#10947](https://github.com/kubernetes/minikube/pull/10947)
|
||||
* Update newest supported Kubernetes version to v1.22.0-alpha.1 [#11287](https://github.com/kubernetes/minikube/pull/11287)
|
||||
|
||||
For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md).
|
||||
|
||||
Thank you to our contributors for this release!
|
||||
|
||||
|
@ -1237,7 +1237,7 @@ Minor Improvements:
|
|||
|
||||
Bug Fixes:
|
||||
|
||||
* Snap package manger: fix cert copy issue [#10042](https://github.com/kubernetes/minikube/pull/10042)
|
||||
* Snap package manager: fix cert copy issue [#10042](https://github.com/kubernetes/minikube/pull/10042)
|
||||
* Ignore non-socks5 ALL_PROXY env var when checking docker status [#10109](https://github.com/kubernetes/minikube/pull/10109)
|
||||
* Docker-env: avoid race condition in bootstrap certs for parallel runs [#10118](https://github.com/kubernetes/minikube/pull/10118)
|
||||
* Fix 'profile list' for multi-node clusters [#9955](https://github.com/kubernetes/minikube/pull/9955)
|
||||
|
@ -2106,7 +2106,7 @@ Improvements:
|
|||
* Behavior change: start with no arguments uses existing cluster config [#7449](https://github.com/kubernetes/minikube/pull/7449)
|
||||
* conformance: add --wait=all, reduce quirks [#7716](https://github.com/kubernetes/minikube/pull/7716)
|
||||
* Upgrade minimum supported k8s version to v1.12 [#7723](https://github.com/kubernetes/minikube/pull/7723)
|
||||
* Add default CNI network for running wth podman [#7754](https://github.com/kubernetes/minikube/pull/7754)
|
||||
* Add default CNI network for running with podman [#7754](https://github.com/kubernetes/minikube/pull/7754)
|
||||
* Behavior change: fallback to alternate drivers on failure [#7389](https://github.com/kubernetes/minikube/pull/7389)
|
||||
* Add registry addon feature for docker on mac/windows [#7603](https://github.com/kubernetes/minikube/pull/7603)
|
||||
* Check node pressure & new option "node_ready" for --wait flag [#7752](https://github.com/kubernetes/minikube/pull/7752)
|
||||
|
|
|
@ -66,7 +66,7 @@ Example Command : "minikube cp a.txt /home/docker/b.txt" +
|
|||
if dst.node != "" {
|
||||
runner = remoteCommandRunner(&co, dst.node)
|
||||
} else if src.node == "" {
|
||||
// if node name not explicitly specfied in both of source and target,
|
||||
// if node name not explicitly specified in both of source and target,
|
||||
// consider target is controlpanel node for backward compatibility.
|
||||
runner = co.CP.Runner
|
||||
} else {
|
||||
|
@ -158,7 +158,7 @@ func validateArgs(src, dst *remotePath) {
|
|||
exit.Message(reason.Usage, "Target {{.path}} can not be empty", out.V{"path": dst.path})
|
||||
}
|
||||
|
||||
// if node name not explicitly specfied in both of source and target,
|
||||
// if node name not explicitly specified in both of source and target,
|
||||
// consider target node is controlpanel for backward compatibility.
|
||||
if src.node == "" && dst.node == "" && !strings.HasPrefix(dst.path, "/") {
|
||||
exit.Message(reason.Usage, `Target <remote file path> must be an absolute Path. Relative Path is not allowed (example: "minikube:/home/docker/copied.txt")`)
|
||||
|
|
|
@ -1574,7 +1574,7 @@ func validateKubernetesVersion(old *config.ClusterConfig) {
|
|||
zeroVersion := semver.MustParse(strings.TrimPrefix(constants.NoKubernetesVersion, version.VersionPrefix))
|
||||
|
||||
if nvs.Equals(zeroVersion) {
|
||||
klog.Infof("No Kuberentes version set for minikube, setting Kubernetes version to %s", constants.NoKubernetesVersion)
|
||||
klog.Infof("No Kubernetes version set for minikube, setting Kubernetes version to %s", constants.NoKubernetesVersion)
|
||||
return
|
||||
}
|
||||
if nvs.Major > newestVersion.Major {
|
||||
|
|
|
@ -293,7 +293,7 @@ func writeStatusesAtInterval(duration time.Duration, api libmachine.API, cc *con
|
|||
}
|
||||
}
|
||||
|
||||
// exitCode calcluates the appropriate exit code given a set of status messages
|
||||
// exitCode calculates the appropriate exit code given a set of status messages
|
||||
func exitCode(statuses []*Status) int {
|
||||
c := 0
|
||||
for _, st := range statuses {
|
||||
|
|
|
@ -180,7 +180,7 @@ func logFileName(dir string, logIdx int64) string {
|
|||
|
||||
// setFlags sets the flags
|
||||
func setFlags(parse bool) {
|
||||
// parse flags beyond subcommand - get aroung go flag 'limitations':
|
||||
// parse flags beyond subcommand - get around go flag 'limitations':
|
||||
// "Flag parsing stops just before the first non-flag argument" (ref: https://pkg.go.dev/flag#hdr-Command_line_flag_syntax)
|
||||
pflag.CommandLine.ParseErrorsWhitelist.UnknownFlags = true
|
||||
pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
|
||||
|
|
|
@ -91,7 +91,7 @@ spec:
|
|||
instead of [AES](https://www.getambassador.io/docs/latest/topics/install/).
|
||||
Default is false which means it installs AES by default. TODO: 1.
|
||||
AES/AOSS is not installed and the user installs using `installOSS:
|
||||
true`, then we straightaway install AOSS. 2. AOSS is installed via
|
||||
true`, then we straight away install AOSS. 2. AOSS is installed via
|
||||
operator and the user sets `installOSS: false`, then we perform the
|
||||
migration as detailed here - https://www.getambassador.io/docs/latest/topics/install/upgrade-to-edge-stack/
|
||||
3. AES is installed and the user sets `installOSS: true`, then we
|
||||
|
|
|
@ -3674,7 +3674,7 @@ spec:
|
|||
description: TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. It's a required field.
|
||||
type: string
|
||||
whenUnsatisfiable:
|
||||
description: 'WhenUnsatisfiable indicates how to deal with a pod if it doesn''t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assigment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won''t make it *more* imbalanced. It''s a required field.'
|
||||
description: 'WhenUnsatisfiable indicates how to deal with a pod if it doesn''t satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won''t make it *more* imbalanced. It''s a required field.'
|
||||
type: string
|
||||
x-kubernetes-list-map-keys:
|
||||
- topologyKey
|
||||
|
@ -4678,7 +4678,7 @@ spec:
|
|||
nativeAPIs:
|
||||
type: array
|
||||
items:
|
||||
description: GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling
|
||||
description: GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling
|
||||
type: object
|
||||
required:
|
||||
- group
|
||||
|
|
|
@ -107,7 +107,7 @@ spec:
|
|||
format: date-time
|
||||
type: string
|
||||
error:
|
||||
description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared.
|
||||
description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared.
|
||||
properties:
|
||||
message:
|
||||
description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.'
|
||||
|
@ -206,7 +206,7 @@ spec:
|
|||
format: date-time
|
||||
type: string
|
||||
error:
|
||||
description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared.
|
||||
description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared.
|
||||
properties:
|
||||
message:
|
||||
description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.'
|
||||
|
|
|
@ -203,7 +203,7 @@ pids_limit = 1024
|
|||
# limit is never exceeded.
|
||||
log_size_max = -1
|
||||
|
||||
# Whether container output should be logged to journald in addition to the kuberentes log file
|
||||
# Whether container output should be logged to journald in addition to the kubernetes log file
|
||||
log_to_journald = false
|
||||
|
||||
# Path to directory in which container exit files are written to by conmon.
|
||||
|
|
|
@ -203,7 +203,7 @@ pids_limit = 1024
|
|||
# limit is never exceeded.
|
||||
log_size_max = -1
|
||||
|
||||
# Whether container output should be logged to journald in addition to the kuberentes log file
|
||||
# Whether container output should be logged to journald in addition to the kubernetes log file
|
||||
log_to_journald = false
|
||||
|
||||
# Path to directory in which container exit files are written to by conmon.
|
||||
|
|
|
@ -250,7 +250,7 @@ func createWeeklyChart(benchmarks []benchmark, chartOutputPath string) {
|
|||
if i == len(benchmarks) {
|
||||
break
|
||||
}
|
||||
// try running this benchmark again, this is needed incase there's a week without any benchmarks
|
||||
// try running this benchmark again, this is needed in case there's a week without any benchmarks
|
||||
i--
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ echo $description
|
|||
#Upload logs to gcs
|
||||
If($env:EXTERNAL -eq "yes"){
|
||||
# If we're not already in GCP, we won't have credentials to upload to GCS
|
||||
# Instad, move logs to a predictable spot Jenkins can find and upload itself
|
||||
# Instead, move logs to a predictable spot Jenkins can find and upload itself
|
||||
mkdir -p test_reports
|
||||
cp testout.txt test_reports/out.txt
|
||||
cp testout.json test_reports/out.json
|
||||
|
|
|
@ -105,7 +105,7 @@ func readData(file io.Reader) []testEntry {
|
|||
}
|
||||
}
|
||||
if len(fields) != 9 {
|
||||
fmt.Printf("Found line with wrong number of columns. Expectd 9, but got %d - skipping\n", len(fields))
|
||||
fmt.Printf("Found line with wrong number of columns. Expected 9, but got %d - skipping\n", len(fields))
|
||||
continue
|
||||
}
|
||||
previousLine = fields
|
||||
|
|
|
@ -87,7 +87,7 @@ func generateTarball(kubernetesVersion, containerRuntime, tarballFilename string
|
|||
Type: containerRuntime,
|
||||
Runner: runner,
|
||||
ImageRepository: "",
|
||||
KubernetesVersion: sv, // this is just to satisfy cruntime and shouldnt matter what version.
|
||||
KubernetesVersion: sv, // this is just to satisfy cruntime and shouldn't matter what version.
|
||||
}
|
||||
cr, err := cruntime.New(co)
|
||||
if err != nil {
|
||||
|
|
|
@ -41,7 +41,7 @@ recent_date=$(git log -1 --format=%as $recent)
|
|||
"${DIR}/release-notes" kubernetes minikube --since $recent
|
||||
|
||||
echo ""
|
||||
echo "For a more detailed changelog, including changes occuring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md)."
|
||||
echo "For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md)."
|
||||
echo ""
|
||||
|
||||
echo "Thank you to our contributors for this release!"
|
||||
|
|
|
@ -144,7 +144,7 @@ func ghCreatePR(ctx context.Context, owner, repo, base, branch, title string, is
|
|||
return pr, nil
|
||||
}
|
||||
|
||||
// ghFindPR returns URL of the PR if found in the given GitHub ower/repo base and any error occurred.
|
||||
// ghFindPR returns URL of the PR if found in the given GitHub owner/repo base and any error occurred.
|
||||
func ghFindPR(ctx context.Context, title, owner, repo, base, token string) (url string, err error) {
|
||||
ghc := ghClient(ctx, token)
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ func (d *Driver) Kill() error {
|
|||
klog.Warningf("couldn't shutdown the container, will continue with kill anyways: %v", err)
|
||||
}
|
||||
|
||||
cr := command.NewExecRunner(false) // using exec runner for interacting with dameon.
|
||||
cr := command.NewExecRunner(false) // using exec runner for interacting with daemon.
|
||||
if _, err := cr.RunCmd(oci.PrefixCmd(exec.Command(d.NodeConfig.OCIBinary, "kill", d.MachineName))); err != nil {
|
||||
return errors.Wrapf(err, "killing %q", d.MachineName)
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ var ErrNetworkSubnetTaken = errors.New("subnet is taken")
|
|||
// ErrNetworkNotFound is when given network was not found
|
||||
var ErrNetworkNotFound = errors.New("kic network not found")
|
||||
|
||||
// ErrNetworkGatewayTaken is when given network gatway is taken
|
||||
// ErrNetworkGatewayTaken is when given network gateway is taken
|
||||
var ErrNetworkGatewayTaken = errors.New("network gateway is taken")
|
||||
|
||||
// ErrNetworkInUse is when trying to delete a network which is attached to another container
|
||||
|
|
|
@ -66,7 +66,7 @@ func RoutableHostIPFromInside(ociBin string, clusterName string, containerName s
|
|||
info, err := containerNetworkInspect(ociBin, clusterName)
|
||||
if err != nil {
|
||||
if errors.Is(err, ErrNetworkNotFound) {
|
||||
klog.Infof("The container %s is not attached to a network, this could be because the cluster was created by minikube <v1.14, will try to get the IP using container gatway", containerName)
|
||||
klog.Infof("The container %s is not attached to a network, this could be because the cluster was created by minikube <v1.14, will try to get the IP using container gateway", containerName)
|
||||
|
||||
return containerGatewayIP(Docker, containerName)
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ func CreateNetwork(ociBin, networkName, subnet string) (net.IP, error) {
|
|||
klog.Infof("%s network %s %s created", ociBin, networkName, subnet.CIDR)
|
||||
return info.gateway, nil
|
||||
}
|
||||
// don't retry if error is not adddress is taken
|
||||
// don't retry if error is not address is taken
|
||||
if !(errors.Is(err, ErrNetworkSubnetTaken) || errors.Is(err, ErrNetworkGatewayTaken)) {
|
||||
klog.Errorf("error while trying to create %s network %s %s: %v", ociBin, networkName, subnet.CIDR, err)
|
||||
return nil, fmt.Errorf("un-retryable: %w", err)
|
||||
|
|
|
@ -155,7 +155,7 @@ func CreateContainerNode(p CreateParams) error {
|
|||
return ErrWindowsContainers
|
||||
}
|
||||
if err != nil {
|
||||
klog.Warningf("error getting dameon info: %v", err)
|
||||
klog.Warningf("error getting daemon info: %v", err)
|
||||
return errors.Wrap(err, "daemon info")
|
||||
}
|
||||
}
|
||||
|
@ -411,7 +411,7 @@ func inspect(ociBin string, containerNameOrID, format string) ([]string, error)
|
|||
}
|
||||
|
||||
/*
|
||||
This is adapated from:
|
||||
This is adapted from:
|
||||
https://github.com/kubernetes/kubernetes/blob/07a5488b2a8f67add543da72e8819407d8314204/pkg/kubelet/dockershim/helpers.go#L115-L155
|
||||
*/
|
||||
// generateMountBindings converts the mount list to a list of strings that
|
||||
|
@ -647,7 +647,7 @@ func ShutDown(ociBin string, name string) error {
|
|||
}
|
||||
// helps with allowing docker realize the container is exited and report its status correctly.
|
||||
time.Sleep(time.Second * 1)
|
||||
// wait till it is stoped
|
||||
// wait till it is stopped
|
||||
stopped := func() error {
|
||||
st, err := ContainerStatus(ociBin, name)
|
||||
if st == state.Stopped {
|
||||
|
|
|
@ -45,7 +45,7 @@ const (
|
|||
var (
|
||||
// DefaultComponents is map of the the default components to wait for
|
||||
DefaultComponents = map[string]bool{APIServerWaitKey: true, SystemPodsWaitKey: true}
|
||||
// NoWaitComponents is map of componets to wait for if specified 'none' or 'false'
|
||||
// NoWaitComponents is map of components to wait for if specified 'none' or 'false'
|
||||
NoComponents = map[string]bool{APIServerWaitKey: false, SystemPodsWaitKey: false, DefaultSAWaitKey: false, AppsRunningKey: false, NodeReadyKey: false, KubeletKey: false, ExtraKey: false}
|
||||
// AllComponents is map for waiting for all components.
|
||||
AllComponents = map[string]bool{APIServerWaitKey: true, SystemPodsWaitKey: true, DefaultSAWaitKey: true, AppsRunningKey: true, NodeReadyKey: true, KubeletKey: true, ExtraKey: true}
|
||||
|
|
|
@ -1067,7 +1067,7 @@ func (k *Bootstrapper) elevateKubeSystemPrivileges(cfg config.ClusterConfig) err
|
|||
}
|
||||
|
||||
if cfg.VerifyComponents[kverify.DefaultSAWaitKey] {
|
||||
// double checking defalut sa was created.
|
||||
// double checking default sa was created.
|
||||
// good for ensuring using minikube in CI is robust.
|
||||
checkSA := func() (bool, error) {
|
||||
cmd = exec.Command("sudo", kubectlPath(cfg),
|
||||
|
@ -1119,7 +1119,7 @@ func adviseNodePressure(err error, name string, drv string) {
|
|||
if driver.IsVM(drv) {
|
||||
out.Styled(style.Stopped, "Please create a cluster with bigger disk size: `minikube start --disk SIZE_MB` ")
|
||||
} else if drv == oci.Docker && runtime.GOOS != "linux" {
|
||||
out.Styled(style.Stopped, "Please increse Desktop's disk size.")
|
||||
out.Styled(style.Stopped, "Please increase Desktop's disk size.")
|
||||
if runtime.GOOS == "darwin" {
|
||||
out.Styled(style.Documentation, "Documentation: {{.url}}", out.V{"url": "https://docs.docker.com/docker-for-mac/space/"})
|
||||
}
|
||||
|
|
|
@ -531,7 +531,7 @@ spec:
|
|||
32bit mark that is set on connections from an external client to
|
||||
a local service. This mark allows us to control how packets of
|
||||
that connection are routed within the host and how is routing
|
||||
intepreted by RPF check. [Default: 0]'
|
||||
interpreted by RPF check. [Default: 0]'
|
||||
type: integer
|
||||
|
||||
bpfKubeProxyEndpointSlicesEnabled:
|
||||
|
|
|
@ -61,7 +61,7 @@ type sshReadableFile struct {
|
|||
reader io.Reader
|
||||
}
|
||||
|
||||
// GetLength returns lentgh of file
|
||||
// GetLength returns length of file
|
||||
func (s *sshReadableFile) GetLength() int {
|
||||
return s.length
|
||||
}
|
||||
|
|
|
@ -231,7 +231,7 @@ func ListProfiles(miniHome ...string) (validPs []*Profile, inValidPs []*Profile,
|
|||
}
|
||||
|
||||
// ListValidProfiles returns profiles in minikube home dir
|
||||
// Unlike `ListProfiles` this function doens't try to get profile from container
|
||||
// Unlike `ListProfiles` this function doesn't try to get profile from container
|
||||
func ListValidProfiles(miniHome ...string) (ps []*Profile, err error) {
|
||||
// try to get profiles list based on left over evidences such as directory
|
||||
pDirs, err := profileDirs(miniHome...)
|
||||
|
|
|
@ -315,7 +315,7 @@ func TestGetPrimaryControlPlane(t *testing.T) {
|
|||
viper.Set(ProfileName, tc.profile)
|
||||
n, err := PrimaryControlPlane(cc)
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpexted error getting primary control plane: %v", err)
|
||||
t.Fatalf("Unexpected error getting primary control plane: %v", err)
|
||||
}
|
||||
|
||||
if n.Name != tc.expectedName {
|
||||
|
|
|
@ -41,7 +41,7 @@ const (
|
|||
// NoKubernetesVersion is the version used when users does NOT want to install kubernetes
|
||||
NoKubernetesVersion = "v0.0.0"
|
||||
|
||||
// DefaultClusterName is the default nane for the k8s cluster
|
||||
// DefaultClusterName is the default name for the k8s cluster
|
||||
DefaultClusterName = "minikube"
|
||||
// DockerDaemonPort is the port Docker daemon listening inside a minikube node (vm or container).
|
||||
DockerDaemonPort = 2376
|
||||
|
|
|
@ -327,7 +327,7 @@ func criContainerLogCmd(cr CommandRunner, id string, len int, follow bool) strin
|
|||
// addRepoTagToImageName makes sure the image name has a repo tag in it.
|
||||
// in crictl images list have the repo tag prepended to them
|
||||
// for example "kubernetesui/dashboard:v2.0.0 will show up as "docker.io/kubernetesui/dashboard:v2.0.0"
|
||||
// warning this is only meant for kuberentes images where we know the GCR addreses have .io in them
|
||||
// warning this is only meant for kubernetes images where we know the GCR addresses have .io in them
|
||||
// not mean to be used for public images
|
||||
func addRepoTagToImageName(imgName string) string {
|
||||
if !strings.Contains(imgName, ".io/") {
|
||||
|
|
|
@ -286,7 +286,7 @@ var ensureChecksumValid = func(k8sVersion, containerRuntime, targetPath string,
|
|||
return nil
|
||||
}
|
||||
|
||||
// CleanUpOlderPreloads deletes preload files beloning to older minikube versions
|
||||
// CleanUpOlderPreloads deletes preload files belonging to older minikube versions
|
||||
// checks the current preload version and then if the saved tar file is belongs to older minikube it will delete it
|
||||
// in case of failure only logs to the user
|
||||
func CleanUpOlderPreloads() {
|
||||
|
|
|
@ -258,7 +258,7 @@ func FlagDefaults(name string) FlagHints {
|
|||
}
|
||||
|
||||
fh.CacheImages = false
|
||||
// if specifc linux add this option for systemd work on none driver
|
||||
// if specific linux add this option for systemd work on none driver
|
||||
if _, err := os.Stat(systemdResolvConf); err == nil {
|
||||
noneEO := fmt.Sprintf("kubelet.resolv-conf=%s", systemdResolvConf)
|
||||
fh.ExtraOptions = append(fh.ExtraOptions, noneEO)
|
||||
|
|
|
@ -34,7 +34,7 @@ type Extension struct {
|
|||
LastUpdate string `json:"last-update"`
|
||||
}
|
||||
|
||||
// NewExtension returns a minikube formated kubeconfig's extension block to idenity clusters and contexts
|
||||
// NewExtension returns a minikube formatted kubeconfig's extension block to idenity clusters and contexts
|
||||
func NewExtension() *Extension {
|
||||
return &Extension{
|
||||
Provider: "minikube.sigs.k8s.io",
|
||||
|
|
|
@ -146,7 +146,7 @@ func timedNeedsTransfer(imgClient *client.Client, imgName string, cr cruntime.Ma
|
|||
}
|
||||
}
|
||||
|
||||
// needsTransfer returns an error if an image needs to be retransfered
|
||||
// needsTransfer returns an error if an image needs to be retransferred
|
||||
func needsTransfer(imgClient *client.Client, imgName string, cr cruntime.Manager) error {
|
||||
imgDgst := "" // for instance sha256:7c92a2c6bbcb6b6beff92d0a940779769c2477b807c202954c537e2e0deb9bed
|
||||
if imgClient != nil { // if possible try to get img digest from Client lib which is 4s faster.
|
||||
|
|
|
@ -196,7 +196,7 @@ func (api *LocalClient) Create(h *host.Host) error {
|
|||
defer func() {
|
||||
lockErr = api.flock.Unlock()
|
||||
if lockErr != nil {
|
||||
klog.Errorf("falied to release bootstrap cert client lock: %v", lockErr.Error())
|
||||
klog.Errorf("failed to release bootstrap cert client lock: %v", lockErr.Error())
|
||||
}
|
||||
}()
|
||||
certErr := cert.BootstrapCertificates(h.AuthOptions())
|
||||
|
|
|
@ -35,7 +35,7 @@ import (
|
|||
)
|
||||
|
||||
// deleteOrphanedKIC attempts to delete an orphaned docker instance for machines without a config file
|
||||
// used as last effort clean up not returning errors, wont warn user.
|
||||
// used as last effort clean up not returning errors, won't warn user.
|
||||
func deleteOrphanedKIC(ociBin string, name string) {
|
||||
if !(ociBin == oci.Podman || ociBin == oci.Docker) {
|
||||
return
|
||||
|
|
|
@ -151,7 +151,7 @@ func recreateIfNeeded(api libmachine.API, cc *config.ClusterConfig, n *config.No
|
|||
return h, nil
|
||||
}
|
||||
|
||||
// maybeWarnAboutEvalEnv wil warn user if they need to re-eval their docker-env, podman-env
|
||||
// maybeWarnAboutEvalEnv will warn user if they need to re-eval their docker-env, podman-env
|
||||
// because docker changes the allocated bind ports after restart https://github.com/kubernetes/minikube/issues/6824
|
||||
func maybeWarnAboutEvalEnv(drver string, name string) {
|
||||
if !driver.IsKIC(drver) {
|
||||
|
|
|
@ -82,7 +82,7 @@ func trySSHPowerOff(h *host.Host) error {
|
|||
|
||||
register.Reg.SetStep(register.PowerOff)
|
||||
out.Step(style.Shutdown, `Powering off "{{.profile_name}}" via SSH ...`, out.V{"profile_name": h.Name})
|
||||
// differnet for kic because RunSSHCommand is not implemented by kic
|
||||
// different for kic because RunSSHCommand is not implemented by kic
|
||||
if driver.IsKIC(h.DriverName) {
|
||||
err := oci.ShutDown(h.DriverName, h.Name)
|
||||
klog.Infof("shutdown container: err=%v", err)
|
||||
|
|
|
@ -597,7 +597,7 @@ func startHostInternal(api libmachine.API, cc *config.ClusterConfig, n *config.N
|
|||
return host, exists, nil
|
||||
}
|
||||
klog.Warningf("error starting host: %v", err)
|
||||
// NOTE: People get very cranky if you delete their prexisting VM. Only delete new ones.
|
||||
// NOTE: People get very cranky if you delete their preexisting VM. Only delete new ones.
|
||||
if !exists {
|
||||
err := machine.DeleteHost(api, config.MachineName(*cc, *n))
|
||||
if err != nil {
|
||||
|
|
|
@ -136,7 +136,7 @@ func status() registry.State {
|
|||
return registry.State{
|
||||
Installed: true,
|
||||
Running: true,
|
||||
// keep the error messsage in sync with reason.providerIssues(Kind.ID: "PR_KVM_USER_PERMISSION") regexp
|
||||
// keep the error message in sync with reason.providerIssues(Kind.ID: "PR_KVM_USER_PERMISSION") regexp
|
||||
Error: fmt.Errorf("libvirt group membership check failed:\n%v", err.Error()),
|
||||
Reason: "PR_KVM_USER_PERMISSION",
|
||||
Fix: "Check that libvirtd is properly installed and that you are a member of the appropriate libvirt group (remember to relogin for group changes to take effect!)",
|
||||
|
@ -147,7 +147,7 @@ func status() registry.State {
|
|||
return registry.State{
|
||||
Installed: true,
|
||||
Running: true,
|
||||
// keep the error messsage in sync with reason.providerIssues(Kind.ID: "PR_KVM_USER_PERMISSION") regexp
|
||||
// keep the error message in sync with reason.providerIssues(Kind.ID: "PR_KVM_USER_PERMISSION") regexp
|
||||
Error: fmt.Errorf("libvirt group membership check failed:\nuser is not a member of the appropriate libvirt group"),
|
||||
Reason: "PR_KVM_USER_PERMISSION",
|
||||
Fix: "Check that libvirtd is properly installed and that you are a member of the appropriate libvirt group (remember to relogin for group changes to take effect!)",
|
||||
|
|
|
@ -124,7 +124,7 @@ func status() registry.State {
|
|||
|
||||
v, err := semver.Make(output)
|
||||
if err != nil {
|
||||
return registry.State{Error: err, Installed: true, Running: true, Healthy: false, Fix: "Cant verify minimum required version for podman . See podman website for installation guide.", Doc: "https://podman.io/getting-started/installation.html"}
|
||||
return registry.State{Error: err, Installed: true, Running: true, Healthy: false, Fix: "Can't verify minimum required version for podman . See podman website for installation guide.", Doc: "https://podman.io/getting-started/installation.html"}
|
||||
}
|
||||
|
||||
if v.LT(minReqPodmanVer) {
|
||||
|
|
|
@ -110,7 +110,7 @@ set -e bar;`},
|
|||
var b bytes.Buffer
|
||||
|
||||
if err := UnsetScript(tc.ec, &b, tc.vars); err != nil {
|
||||
t.Fatalf("Unexpected error when unseting script happen: %v", err)
|
||||
t.Fatalf("Unexpected error when unsetting script happen: %v", err)
|
||||
} else {
|
||||
writtenMessage := strings.TrimSpace(b.String())
|
||||
expected := strings.TrimSpace(tc.expected)
|
||||
|
|
|
@ -32,7 +32,7 @@ type minikubeTracer interface {
|
|||
Cleanup()
|
||||
}
|
||||
|
||||
// Initialize intializes the global tracer variable
|
||||
// Initialize initializes the global tracer variable
|
||||
func Initialize(t string) error {
|
||||
tr, err := getTracer(t)
|
||||
if err != nil {
|
||||
|
|
|
@ -157,7 +157,7 @@ func TestMaybeChownDirRecursiveToMinikubeUser(t *testing.T) {
|
|||
expectedError: false,
|
||||
},
|
||||
{
|
||||
name: "invaild dir",
|
||||
name: "invalid dir",
|
||||
dir: "./utils_test",
|
||||
expectedError: true,
|
||||
},
|
||||
|
|
|
@ -32,7 +32,7 @@ hugo v0.86.0+extended darwin/amd64 BuildDate=unknown
|
|||
Error: Error building site: "/minikube/site/content/en/docs/contrib/releasing/binaries.md:64:1": failed to extract shortcode: template for shortcode "alert" not found
|
||||
Built in 667 ms
|
||||
```
|
||||
This indicates the submodules are not upated.
|
||||
This indicates the submodules are not updated.
|
||||
Please run the following command to fix.
|
||||
``` git submodule update --init --recursive ```
|
||||
|
||||
|
|
|
@ -24,9 +24,9 @@ Using this info you can see the following:
|
|||
Finally, as the last layer, a simplistic 11 line Go app is copied in.
|
||||
|
||||
## Iterative vs Initial
|
||||
There are two graphs for each benchmark, iterative and inital.
|
||||
There are two graphs for each benchmark, iterative and initial.
|
||||
|
||||
#### Inital
|
||||
#### Initial
|
||||
Initial simulates loading the image for the first time.
|
||||
|
||||
All existing images and cache is removed/cleared from minikube and Docker between runs to replicate what the user would experience when loading for the first time.
|
||||
|
@ -36,7 +36,7 @@ Iterative simulates only the Go app (last layer of the image) changing.
|
|||
|
||||
This is the exact use case of [Skaffold](https://github.com/GoogleContainerTools/skaffold), where if the user changes a file the Go binary is rebuilt and the image is re-loaded.
|
||||
|
||||
Bewteen runs the cache and existing image is left alone, only the Go binary is changed.
|
||||
Between runs the cache and existing image is left alone, only the Go binary is changed.
|
||||
|
||||
|
||||
## How are the benchmarks conducted?
|
||||
|
@ -48,7 +48,7 @@ startMininkube() // minikube start --container-runtime=docker
|
|||
for image in [fewLargeLayers, fewSmallLayers, ...] {
|
||||
buildGoBinary()
|
||||
|
||||
// inital simulation
|
||||
// initial simulation
|
||||
for i in runCount {
|
||||
startTimer()
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ linkTitle: "Managing External Packages"
|
|||
Chocolatey is a software package manager for Windows that wraps installers, executables, zips, and scripts into compiled packages. Use Chocolatey to install Minikube on Windows. The following links provide details necessary to install, get status, and update to the latest minikube chocolatey package on windows.
|
||||
|
||||
* Chocolatey community is the maintainer of the Minikube package. Latest approved version is available for [Install, Upgrade and Uninstall](https://community.chocolatey.org/packages/Minikube/).
|
||||
* Get the [current status](https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f) of the Chocolatey pacakge.
|
||||
* Get the [current status](https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f) of the Chocolatey package.
|
||||
* Minikube Chocolatey update script on [GitHub](https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/minikube).
|
||||
|
||||
**Note: Windows support is limited to 64bit operating systems.**
|
||||
|
|
|
@ -11,7 +11,7 @@ You may need to add logs to the registry if the `TestJSONOutput` integration tes
|
|||
|
||||
### Background
|
||||
|
||||
minikube provides JSON output for `minikube start`, accesible via the `--output` flag:
|
||||
minikube provides JSON output for `minikube start`, accessible via the `--output` flag:
|
||||
|
||||
```shell
|
||||
minikube start --output json
|
||||
|
|
|
@ -408,7 +408,7 @@ NOTE: DNS forwarding is experimental: https://minikube.sigs.k8s.io/docs/handbook
|
|||
stops `minikube tunnel`
|
||||
|
||||
## TestGuestEnvironment
|
||||
verifies files and packges installed inside minikube ISO/Base image
|
||||
verifies files and packages installed inside minikube ISO/Base image
|
||||
|
||||
## TestGvisorAddon
|
||||
tests the functionality of the gVisor addon
|
||||
|
|
|
@ -25,7 +25,7 @@ minikube stores post-mortem logs in the temporary directory of your system. One
|
|||
find $TMPDIR -mtime -1 -type f -name "*minikube*" -ls 2>/dev/null
|
||||
```
|
||||
|
||||
For instance after running `minikube start`, the above comamnd will show:
|
||||
For instance after running `minikube start`, the above command will show:
|
||||
|
||||
`-rw-r--r-- 1 user grp 718 Aug 18 12:40 /var/folders/n1/qxvd9kc/T//minikube_start_dc950831e1a232e0318a6d6ca82aaf4f4a8a048b_0.log`
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ date: 2020-11-24
|
|||
|
||||
## Overview
|
||||
|
||||
minikube provides telemetry suppport via [OpenTelemetry tracing](https://opentelemetry.io/about/) to collect trace data for `minikube start`.
|
||||
minikube provides telemetry support via [OpenTelemetry tracing](https://opentelemetry.io/about/) to collect trace data for `minikube start`.
|
||||
|
||||
Currently, minikube supports the following exporters for tracing data:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ description: >
|
|||
|
||||
## Overview
|
||||
|
||||
A [static token file](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#static-token-file) can be used to ensure only authenticated users access the API server. As minikube nodes are run in VMs/containers, this adds a complication to ensuring this token file is accessable to the node. This tutorial explains how to configure a static token file.
|
||||
A [static token file](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#static-token-file) can be used to ensure only authenticated users access the API server. As minikube nodes are run in VMs/containers, this adds a complication to ensuring this token file is accessible to the node. This tutorial explains how to configure a static token file.
|
||||
|
||||
## Tutorial
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ Here you can see that passing `--user=mary` overwrote the OS user with `mary` as
|
|||
|
||||
## How do I use minikube in a script?
|
||||
|
||||
If you are using minikube in a script or plugin it is recommeneded to add `--user=your_script_name` to all operations.
|
||||
If you are using minikube in a script or plugin it is recommended to add `--user=your_script_name` to all operations.
|
||||
|
||||
Example:
|
||||
```
|
||||
|
|
|
@ -103,7 +103,7 @@ func TestCertOptions(t *testing.T) {
|
|||
}
|
||||
|
||||
if !strings.Contains(rr.Stdout.String(), "8555") {
|
||||
t.Errorf("Internal minikube kubeconfig (admin.conf) does not containe the right api port. %s", rr.Output())
|
||||
t.Errorf("Internal minikube kubeconfig (admin.conf) does not contains the right api port. %s", rr.Output())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ func TestFunctional(t *testing.T) {
|
|||
{"CopySyncFile", setupFileSync}, // Set file for the file sync test case
|
||||
{"StartWithProxy", validateStartWithProxy}, // Set everything else up for success
|
||||
{"AuditLog", validateAuditAfterStart}, // check audit feature works
|
||||
{"SoftStart", validateSoftStart}, // do a soft start. ensure config didnt change.
|
||||
{"SoftStart", validateSoftStart}, // do a soft start. ensure config didn't change.
|
||||
{"KubeContext", validateKubeContext}, // Racy: must come immediately after "minikube start"
|
||||
{"KubectlGetPods", validateKubectlGetPods}, // Make sure apiserver is up
|
||||
{"CacheCmd", validateCacheCmd}, // Caches images needed for subsequent tests because of proxy
|
||||
|
|
|
@ -27,7 +27,7 @@ import (
|
|||
"k8s.io/minikube/pkg/minikube/vmpath"
|
||||
)
|
||||
|
||||
// TestGuestEnvironment verifies files and packges installed inside minikube ISO/Base image
|
||||
// TestGuestEnvironment verifies files and packages installed inside minikube ISO/Base image
|
||||
func TestGuestEnvironment(t *testing.T) {
|
||||
MaybeParallel(t)
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ func TestGvisorAddon(t *testing.T) {
|
|||
// Ensure that workloads survive a restart
|
||||
rr, err = Run(t, exec.CommandContext(ctx, Target(), "stop", "-p", profile))
|
||||
if err != nil {
|
||||
t.Fatalf("faild stopping minikube. args %q : %v", rr.Command(), err)
|
||||
t.Fatalf("failed stopping minikube. args %q : %v", rr.Command(), err)
|
||||
}
|
||||
|
||||
rr, err = Run(t, exec.CommandContext(ctx, Target(), startArgs...))
|
||||
|
|
|
@ -444,7 +444,7 @@ func validateNameConflict(ctx context.Context, t *testing.T, profile string) {
|
|||
}
|
||||
curNodeNum := strings.Count(rr.Stdout.String(), profile)
|
||||
|
||||
// Start new profile. It's expected failture
|
||||
// Start new profile. It's expected failure
|
||||
profileName := fmt.Sprintf("%s-m0%d", profile, curNodeNum)
|
||||
startArgs := append([]string{"start", "-p", profileName}, StartArgs()...)
|
||||
rr, err = Run(t, exec.CommandContext(ctx, Target(), startArgs...))
|
||||
|
@ -460,7 +460,7 @@ func validateNameConflict(ctx context.Context, t *testing.T, profile string) {
|
|||
t.Errorf("failed to start profile. args %q : %v", rr.Command(), err)
|
||||
}
|
||||
|
||||
// Add a node to the current cluster. It's expected failture
|
||||
// Add a node to the current cluster. It's expected failure
|
||||
addArgs := []string{"node", "add", "-p", profile}
|
||||
rr, err = Run(t, exec.CommandContext(ctx, Target(), addArgs...))
|
||||
if err == nil {
|
||||
|
|
|
@ -108,7 +108,7 @@ func TestRunningBinaryUpgrade(t *testing.T) {
|
|||
c := exec.CommandContext(ctx, tf.Name(), args...)
|
||||
var legacyEnv []string
|
||||
// replace the global KUBECONFIG with a fresh kubeconfig
|
||||
// because for minikube<1.17.0 it can not read the new kubeconfigs that have extra "Extenions" block
|
||||
// because for minikube<1.17.0 it can not read the new kubeconfigs that have extra "Extensions" block
|
||||
// see: https://github.com/kubernetes/minikube/issues/10210
|
||||
for _, e := range os.Environ() {
|
||||
if !strings.Contains(e, "KUBECONFIG") { // get all global envs except the Kubeconfig which is used by new versions of minikubes
|
||||
|
@ -171,7 +171,7 @@ func TestStoppedBinaryUpgrade(t *testing.T) {
|
|||
c := exec.CommandContext(ctx, tf.Name(), args...)
|
||||
var legacyEnv []string
|
||||
// replace the global KUBECONFIG with a fresh kubeconfig
|
||||
// because for minikube<1.17.0 it can not read the new kubeconfigs that have extra "Extenions" block
|
||||
// because for minikube<1.17.0 it can not read the new kubeconfigs that have extra "Extensions" block
|
||||
// see: https://github.com/kubernetes/minikube/issues/10210
|
||||
for _, e := range os.Environ() {
|
||||
if !strings.Contains(e, "KUBECONFIG") { // get all global envs except the Kubeconfig which is used by new versions of minikubes
|
||||
|
|
|
@ -467,7 +467,6 @@
|
|||
"Please enter a value:": "Bitte geben Sie einen Wert ein:",
|
||||
"Please free up disk or prune images.": "Bitte geben Sie Plattenplatz frei oder löschen Sie unbenutzte Images (prune)",
|
||||
"Please increase Desktop's disk size.": "Bitte erhöhen Sie die Plattengröße von Desktop",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "Bitte installieren Sie den minikube hyperkit VM Treiber oder geben Sie einen alternativen Treiber mit --driver an",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "Bitte installieren Sie den minikube kvm2 VM Treiber oder geben Sie einen alternativen Treiber mit --driver an",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "Bitte stellen Sie sicher, dass der gesuchte Service deployed ist oder im korrekten Namespace ist.",
|
||||
|
|
|
@ -474,7 +474,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "",
|
||||
"Please enter a value:": "",
|
||||
"Please free up disk or prune images.": "",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "",
|
||||
|
|
|
@ -454,6 +454,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "Veuillez vous authentifier auprès du registre ou utiliser l'indicateur --base-image pour utiliser un registre différent.",
|
||||
"Please enter a value:": "Entrer un nombre, SVP:",
|
||||
"Please free up disk or prune images.": "Veuillez libérer le disque ou élaguer les images.",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please increse Desktop's disk size.": "Veuillez augmenter la taille du disque du bureau.",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "Veuillez installer le pilote minikube hyperkit VM, ou sélectionnez un --driver alternatif",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "Veuillez installer le pilote minikube kvm2 VM, ou sélectionnez un --driver alternatif",
|
||||
|
|
|
@ -464,6 +464,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "レジストリーに認証するか、--base-image フラグで別のレジストリーを指定するかどちらを行ってください。",
|
||||
"Please enter a value:": "値を入力してください:",
|
||||
"Please free up disk or prune images.": "ディスクを解放するか、イメージを削除してください。",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please increse Desktop's disk size.": "Desktop のディスクサイズを増やしてください。",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "minikube hyperkit VM ドライバーをインストールするか、--driver で別のドライバーを選択してください",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "minikube kvm2 VM ドライバーをインストールするか、--driver で別のドライバーを選択してください",
|
||||
|
|
|
@ -489,7 +489,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "",
|
||||
"Please enter a value:": "값을 입력하세요",
|
||||
"Please free up disk or prune images.": "",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "",
|
||||
|
|
|
@ -484,6 +484,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "Uwierzytelnij się w rejestrze lub użyć flagi --base-image w celu użycia innego rejestru.",
|
||||
"Please enter a value:": "Wprowadź wartość",
|
||||
"Please free up disk or prune images.": "Zwolnij miejsce na dysku lub usuń niepotrzebne obrazy",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please increse Desktop's disk size.": "Zwiększ miejsce na dysku dla programu Docker Desktop",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "Zainstaluj sterownik hyperkit lub wybierz inny sterownik używając flagi --driver",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "Zainstaluj sterownik kvm2 lub wybierz inny sterownik używając flagi --driver",
|
||||
|
|
|
@ -439,7 +439,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "",
|
||||
"Please enter a value:": "",
|
||||
"Please free up disk or prune images.": "",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "",
|
||||
|
|
|
@ -439,7 +439,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "",
|
||||
"Please enter a value:": "",
|
||||
"Please free up disk or prune images.": "",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "",
|
||||
|
|
|
@ -557,7 +557,7 @@
|
|||
"Please either authenticate to the registry or use --base-image flag to use a different registry.": "",
|
||||
"Please enter a value:": "请输入一个值:",
|
||||
"Please free up disk or prune images.": "",
|
||||
"Please increse Desktop's disk size.": "",
|
||||
"Please increase Desktop's disk size.": "",
|
||||
"Please install the minikube hyperkit VM driver, or select an alternative --driver": "",
|
||||
"Please install the minikube kvm2 VM driver, or select an alternative --driver": "",
|
||||
"Please make sure the service you are looking for is deployed or is in the correct namespace.": "",
|
||||
|
|
Loading…
Reference in New Issue