Skip to content

Commit

Permalink
upgrade kind, minikube, kubernetes versions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul S. Schweigert <[email protected]>
  • Loading branch information
psschwei committed Jan 11, 2023
1 parent a1bd88d commit aeacaa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions pkg/kind/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"knative.dev/kn-plugin-quickstart/pkg/install"
)

var kubernetesVersion = "kindest/node:v1.24.3"
var kubernetesVersion = "kindest/node:v1.25.3"
var clusterName string
var kindVersion = 0.14
var kindVersion = 0.16
var container_reg_name = "kind-registry"
var container_reg_port = "5001"

Expand Down Expand Up @@ -172,9 +172,9 @@ func checkKindVersion() error {
}
if userKindVersion < kindVersion {
var resp string
fmt.Printf("WARNING: Please make sure you are using Kind version %.2f or later", kindVersion)
fmt.Println("Download from https://github.com/kubernetes-sigs/kind/releases")
fmt.Print("Do you want to continue at your own risk [Y/n]: ")
fmt.Printf("WARNING: We recommend at least Kind v%.2f, while you are using v%.2f\n", kindVersion, userKindVersion)
fmt.Println("You can download a newer version from https://github.com/kubernetes-sigs/kind/releases")
fmt.Print("Continue anyway? (not recommended) [y/N]: ")
fmt.Scanf("%s", &resp)
if resp == "n" || resp == "N" {
fmt.Println("Installation stopped. Please upgrade kind and run again")
Expand Down
4 changes: 2 additions & 2 deletions pkg/minikube/minikube.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
)

var clusterName string
var kubernetesVersion = "1.24.3"
var kubernetesVersion = "1.25.3"
var clusterVersionOverride bool
var minikubeVersion = 1.26
var minikubeVersion = 1.28
var cpus = "3"
var memory = "3072"

Expand Down

0 comments on commit aeacaa2

Please sign in to comment.