Skip to content

Commit

Permalink
Merge pull request #155 from nimajalali/k8s-upgrade
Browse files Browse the repository at this point in the history
Upgrade to latest Kubernetes
  • Loading branch information
Mike Gerdts authored Mar 20, 2019
2 parents 3b35956 + 4003951 commit 747c4f9
Show file tree
Hide file tree
Showing 27 changed files with 37 additions and 34 deletions.
9 changes: 6 additions & 3 deletions create/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,12 @@ func getBaseClusterTerraformConfig(terraformModulePath string) (baseClusterTerra
DisplayName string
Name string
}{
{"v1.8.10", "v1.8.10-rancher1-1"},
{"v1.9.5", "v1.9.5-rancher1-1"},
{"v1.10.0", "v1.10.0-rancher1-1"},
{"v1.8.11", "v1.8.11-rancher2-1"},
{"v1.9.7", "v1.9.7-rancher2-2"},
{"v1.10.3", "v1.10.3-rancher2-1"},
{"v1.11.8", "v1.11.8-rancher1-1"},
{"v1.12.6", "v1.12.6-rancher1-1"},
{"v1.13.4", "v1.13.4-rancher1-1"},
}
prompt := promptui.Select{
Label: "Kubernetes Version",
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/aws/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ create cluster called
✔ Cluster Manager: dev-manager
✔ Cloud Provider: AWS
✔ Cluster Name: dev-cluster
✔ Kubernetes Version: v1.8.10
✔ Kubernetes Version: v1.13.4
✔ Kubernetes Network Provider: calico
✔ Private Registry: None
✔ k8s Registry: None
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/azure/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ create cluster called
✔ Cluster Manager: dev-manager
✔ Cloud Provider: Azure
✔ Cluster Name: azure-cluster
✔ Kubernetes Version: v1.10.0
✔ Kubernetes Version: v1.13.4
✔ Kubernetes Network Provider: calico
✔ Private Registry: None
✔ k8s Registry: None
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/gcp/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ create cluster called
✔ Cluster Manager: dev-manager
✔ Cloud Provider: GCP
✔ Cluster Name: gcp-cluster
✔ Kubernetes Version: v1.10.0
✔ Kubernetes Version: v1.13.4
✔ Kubernetes Network Provider: calico
✔ Private Registry: None
✔ k8s Registry: None
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/silent-install-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ YAML parameters for cluster are:
| `cluster_manager` | Which cluster manager should manage this new cluster that is going to be created. |
| `cluster_cloud_provider` | Which cloud should the cluster run on. Options are `triton`, `aws`, `gcp`, or `azure`. |
| `name` | Cluster name |
| `k8s_version` | Version of Kubernetes to deploy for this cluster. Available versions are: `v1.8.10-rancher1-1`, `v1.9.5-rancher1-1`, and `v1.10.0-rancher1-1`. |
| `k8s_version` | Version of Kubernetes to deploy for this cluster. Available versions are: `v1.8.11-rancher2-1`, `v1.9.7-rancher2-2`, `v1.10.3-rancher2-1`, `v1.11.8-rancher1-1`, `v1.12.6-rancher1-1`, and `v1.13.4-rancher1-1``. |
| `k8s_network_provider` | Network stack to use for this Kubernetes cluster. Available options are: `calico` and `flannel`. |
| `private_registry` | URL of the private registry that includes rancher containers |
| `private_registry_username` | Username for the private registry |
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/triton/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ create cluster called
✔ Cluster Manager: dev-manager
✔ Cloud Provider: Triton
✔ Cluster Name: dev-cluster
✔ Kubernetes Version: v1.9.5
✔ Kubernetes Version: v1.13.4
✔ Kubernetes Network Provider: calico
✔ Private Registry: None
✔ k8s Registry: None
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/vSphere/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ create cluster called
✔ Cluster Manager: dev-manager
✔ Cloud Provider: vSphere
✔ Cluster Name: dev-cluster
✔ Kubernetes Version: v1.8.10
✔ Kubernetes Version: v1.13.4
✔ Kubernetes Network Provider: calico
✔ Private Registry: None
✔ k8s Registry: None
Expand Down
2 changes: 1 addition & 1 deletion examples/silent-install/gcp/cluster-gcp-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cluster_manager: manager-on-triton
backend_provider: local
name: gcp-ha
cluster_cloud_provider: gcp
k8s_version: v1.10.0-rancher1-1
k8s_version: v1.13.4-rancher1-1
k8s_network_provider: calico
private_registry: ""
private_registry_username: ""
Expand Down
2 changes: 1 addition & 1 deletion examples/silent-install/triton/cluster-triton-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cluster_manager: manager-on-triton
backend_provider: local
name: triton-ha
cluster_cloud_provider: triton
k8s_version: v1.8.10-rancher1-1
k8s_version: v1.13.4-rancher1-1
k8s_network_provider: flannel
private_registry: ""
private_registry_username: ""
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/aws-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/aws-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "rancher_secret_key" {
}

variable k8s_version {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable k8s_network_provider {
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/aws-rancher/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
}

variable "rancher_server_image" {
default = "rancher/rancher:v2.0.0"
default = "rancher/rancher:v2.1.7"
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/azure-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/azure-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "rancher_secret_key" {
}

variable k8s_version {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable k8s_network_provider {
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/azure-rancher/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
}

variable "rancher_server_image" {
default = "rancher/rancher:v2.0.0"
default = "rancher/rancher:v2.1.7"
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/azure-rke/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "rancher_server_image" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/bare-metal-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/bare-metal-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "rancher_secret_key" {
}

variable k8s_version {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable k8s_network_provider {
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/bare-metal-rancher/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
}

variable "rancher_server_image" {
default = "rancher/rancher:v2.0.0"
default = "rancher/rancher:v2.1.7"
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/gcp-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/gcp-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "rancher_secret_key" {
}

variable k8s_version {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable k8s_network_provider {
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/gcp-rancher/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
}

variable "rancher_server_image" {
default = "rancher/rancher:v2.0.0"
default = "rancher/rancher:v2.1.7"
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/triton-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/triton-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "rancher_secret_key" {
}

variable k8s_version {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable k8s_network_provider {
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/triton-rancher/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
}

variable "rancher_server_image" {
default = "rancher/rancher:v2.0.0"
default = "rancher/rancher:v2.1.7"
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/vsphere-rancher-k8s-host/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "rancher_host_labels" {
}

variable "rancher_agent_image" {
default = "rancher/rancher-agent:v2.0.0"
default = "rancher/rancher-agent:v2.1.7"
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/vsphere-rancher-k8s/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "k8s_registry_password" {
}

variable "k8s_version" {
default = "v1.9.5-rancher1-1"
default = "v1.13.4-rancher1-1"
}

variable "k8s_network_provider" {
Expand Down

0 comments on commit 747c4f9

Please sign in to comment.