Skip to content

Commit 160bb76

Browse files
authored
Merge pull request #166 from joyent/1.0.1-pre1
Update to k8s v1.18.12
2 parents ca1760e + 506f3c9 commit 160bb76

File tree

30 files changed

+69
-51
lines changed

30 files changed

+69
-51
lines changed

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ var versionCmd = &cobra.Command{
2121
fmt.Print("no version set for this build... ")
2222
cliVersion = "local"
2323
}
24-
fmt.Printf("triton-kubernetes 1.0.0-pre1 (%s)\n", cliVersion)
24+
fmt.Printf("triton-kubernetes 1.0.1-pre1 (%s)\n", cliVersion)
2525
},
2626
}

cmd/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestVersion(t *testing.T) {
1515
versionCmd.Run(versionCmd, []string{})
1616
})
1717

18-
expected := "triton-kubernetes 1.0.0-pre1 (beta)\n"
18+
expected := "triton-kubernetes 1.0.1-pre1 (beta)\n"
1919

2020
select {
2121
case err := <-errch:

create/cluster.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,10 @@ func getBaseClusterTerraformConfig(terraformModulePath string) (baseClusterTerra
371371
{"v1.12.6", "v1.12.6-rancher1-1"},
372372
{"v1.13.4", "v1.13.4-rancher1-1"},
373373
{"v1.14.9", "v1.14.9-rancher1-1"},
374-
{"v1.15.12", "v1.15.12-rancher1-1"},
375-
{"v1.16.10", "v1.16.10-rancher2-1"},
376-
{"v1.17.6", "v1.17.6-rancher2-1"},
374+
{"v1.15.12", "v1.15.12-rancher2-7"},
375+
{"v1.16.15", "v1.16.15-rancher1-3"},
376+
{"v1.17.14", "v1.17.14-rancher1-2"},
377+
{"v1.18.12", "v1.18.12-rancher1-1"},
377378
}
378379
prompt := promptui.Select{
379380
Label: "Kubernetes Version",

docs/guide/silent-install-yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ YAML parameters for cluster are:
3838
| `cluster_manager` | Which cluster manager should manage this new cluster that is going to be created. |
3939
| `cluster_cloud_provider` | Which cloud should the cluster run on. Options are `triton`, `aws`, `gcp`, or `azure`. |
4040
| `name` | Cluster name |
41-
| `k8s_version` | Version of Kubernetes to deploy for this cluster. Available versions are: `v2.8.11-rancher2-1`, `v1.9.7-rancher2-2`, `v1.10.3-rancher2-1`, `v1.11.8-rancher1-1`, `v1.12.6-rancher1-1`, `v1.13.4-rancher1-1`, `v1.14.9-rancher1-1`, `v1.15.12-rancher1-1`, `v1.16.10-rancher2-1` and `v1.17.6-rancher-2-1` (default). |
41+
| `k8s_version` | Version of Kubernetes to deploy for this cluster. Available versions are: `v2.8.11-rancher2-1`, `v1.9.7-rancher2-2`, `v1.10.3-rancher2-1`, `v1.11.8-rancher1-1`, `v1.12.6-rancher1-1`, `v1.13.4-rancher1-1`, `v1.14.9-rancher1-1`, `v1.15.12-rancher1-1`, `v1.16.15-rancher1-3`, `v1.17.14-rancher-1-2`, `v1.18.12-rancher1-1` (default). |
4242
| `k8s_network_provider` | Network stack to use for this Kubernetes cluster. Available options are: `calico` and `flannel`. |
4343
| `private_registry` | URL of the private registry that includes rancher containers |
4444
| `private_registry_username` | Username for the private registry |

examples/silent-install/triton/cluster-triton-ha.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cluster_manager: manager-on-triton
33
backend_provider: local
44
name: triton-ha
55
cluster_cloud_provider: triton
6-
k8s_version: v1.17.6-rancher2-1
6+
k8s_version: v1.18.12-rancher1-1
77
k8s_network_provider: flannel
88
private_registry: ""
99
private_registry_username: ""

terraform/modules/aws-rancher-k8s-host/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "rancher_host_labels" {
1818
}
1919

2020
variable "rancher_agent_image" {
21-
default = "rancher/rancher-agent:v2.4.4"
21+
default = "rancher/rancher-agent:v2.4.11"
2222
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
2323
}
2424

@@ -56,6 +56,7 @@ variable "aws_region" {
5656

5757
variable "aws_ami_id" {
5858
description = "Base AMI to launch the instances with"
59+
# default="ami-08a099fcfc36dff3f"
5960
}
6061

6162
variable "aws_instance_type" {

terraform/modules/aws-rancher-k8s/variables.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ variable "rancher_secret_key" {
1515
}
1616

1717
variable "k8s_version" {
18-
default = "v1.17.6-rancher2-1"
18+
default = "v1.18.12-rancher1-1"
1919
}
2020

2121
variable "k8s_network_provider" {
@@ -76,7 +76,8 @@ variable "aws_subnet_cidr" {
7676

7777
variable "aws_ami_id" {
7878
description = "Base AMI to launch the instances with"
79-
default = ""
79+
# default="ami-08a099fcfc36dff3f"
80+
default = ""
8081
}
8182

8283
variable "aws_public_key_path" {

terraform/modules/aws-rancher/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ variable "docker_engine_install_url" {
1212
}
1313

1414
variable "rancher_server_image" {
15-
default = "rancher/rancher:v2.4.4"
15+
default = "rancher/rancher:v2.4.11"
1616
description = "The Rancher Server image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
1717
}
1818

1919
variable "rancher_agent_image" {
20-
default = "rancher/rancher-agent:v2.4.4"
20+
default = "rancher/rancher-agent:v2.4.11"
2121
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
2222
}
2323

terraform/modules/azure-rancher-k8s-host/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "rancher_host_labels" {
1818
}
1919

2020
variable "rancher_agent_image" {
21-
default = "rancher/rancher-agent:v2.4.4"
21+
default = "rancher/rancher-agent:v2.4.11"
2222
description = "The Rancher Agent image to use, can be a url to a private registry leverage docker_login_* variables to authenticate to registry."
2323
}
2424

terraform/modules/azure-rancher-k8s/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ variable "rancher_secret_key" {
1515
}
1616

1717
variable "k8s_version" {
18-
default = "v1.17.6-rancher2-1"
18+
default = "v1.18.12-rancher1-1"
1919
}
2020

2121
variable "k8s_network_provider" {

0 commit comments

Comments
 (0)