Skip to content

Commit

Permalink
update component versions for v0.14.0 (Azure#2406)
Browse files Browse the repository at this point in the history
* update Ubuntu image to 16.04.201802220

* update to latest go-dev image

* update CNI plugin to latest version

* update dashboard to v1.8.3

* update heapster and addon-resizer

* update kube-addon-manager to v8.6

* revert addon-resizer for 1.7 clusters

* revert addon-sizer bump for 1.8 and below

* const not exported

* generalize k8s component version implementation

* lint

* unit tests and nil return if unknown
  • Loading branch information
jackfrancis authored and Terje Torkelsen committed Mar 15, 2018
1 parent 2a20053 commit 021500e
Show file tree
Hide file tree
Showing 8 changed files with 448 additions and 753 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
swarm-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand All @@ -61,7 +61,7 @@ jobs:
dcos-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand All @@ -84,7 +84,7 @@ jobs:
swarmmode-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand All @@ -111,7 +111,7 @@ jobs:
k8s-1.7-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
k8s-windows-1.7-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
k8s-1.9-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
k8s-1.8-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
k8s-windows-1.8-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
k8s-windows-1.9-release-e2e:
working_directory: /go/src/github.com/Azure/acs-engine
docker:
- image: quay.io/deis/go-dev:v1.8.1
- image: quay.io/deis/go-dev:v1.9.0
environment:
GOPATH: /go
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -25,7 +25,7 @@ GITTAG := $(VERSION_SHORT)
endif

REPO_PATH := github.com/Azure/acs-engine
DEV_ENV_IMAGE := quay.io/deis/go-dev:v1.8.1
DEV_ENV_IMAGE := quay.io/deis/go-dev:v1.9.0
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
DEV_ENV_OPTS := --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_VARS}
DEV_ENV_CMD := docker run ${DEV_ENV_OPTS} ${DEV_ENV_IMAGE}
Expand Down
2 changes: 1 addition & 1 deletion parts/agentparams.t
Expand Up @@ -46,7 +46,7 @@
"type": "string"
},
"{{.Name}}osImageVersion": {
"defaultValue": "16.04.201801260",
"defaultValue": "16.04.201802220",
"metadata": {
"description": "OS image version."
},
Expand Down
2 changes: 1 addition & 1 deletion parts/masterparams.t
Expand Up @@ -102,7 +102,7 @@
"type": "string"
},
"osImageVersion": {
"defaultValue": "16.04.201801260",
"defaultValue": "16.04.201802220",
"metadata": {
"description": "OS image version."
},
Expand Down
5 changes: 0 additions & 5 deletions pkg/acsengine/const.go
Expand Up @@ -86,9 +86,6 @@ const (
DefaultACIConnectorAddonName = "aci-connector"
// DefaultDashboardAddonName is the name of the kubernetes-dashboard addon deployment
DefaultDashboardAddonName = "kubernetes-dashboard"
// DefaultTillerImage defines the Helm Tiller deployment version on Kubernetes Clusters
// TODO deprecate this usage, we should be favoring a more frequent upgrade cycle that pins fresh tiller versions to specific k8s versions
DefaultTillerImage = "tiller:v2.8.1"
// DefaultACIConnectorImage defines the ACI Connector deployment version on Kubernetes Clusters
DefaultACIConnectorImage = "virtual-kubelet:latest"
// DefaultKubernetesDNSServiceIP specifies the IP address that kube-dns
Expand All @@ -109,8 +106,6 @@ const (
DefaultEtcdVersion = "3.2.16"
// DefaultEtcdDiskSize specifies the default size for Kubernetes master etcd disk volumes in GB
DefaultEtcdDiskSize = "128"
// DefaultReschedulerImage defines the rescheduler deployment version on Kubernetes Clusters
DefaultReschedulerImage = "rescheduler:v0.3.1"
// DefaultReschedulerAddonName is the name of the rescheduler addon deployment
DefaultReschedulerAddonName = "rescheduler"
// DefaultMetricsServerAddonName is the name of the kubernetes Metrics server addon deployment
Expand Down
7 changes: 5 additions & 2 deletions pkg/acsengine/defaults.go
Expand Up @@ -18,6 +18,9 @@ const (
// https://github.com/Azure/azure-container-networking/releases/download/${AZURE_PLUGIN_VER}/azure-vnet-cni-linux-amd64-${AZURE_PLUGIN_VER}.tgz
// to https://acs-mirror.azureedge.net/cni/
AzureCniPluginVer = "v1.0.2"
// CNIPluginVer specifies the version of CNI implementation
// https://github.com/containernetworking/plugins
CNIPluginVer = "v0.7.0"
)

var (
Expand All @@ -30,7 +33,7 @@ var (
KubeBinariesSASURLBase: "https://acs-mirror.azureedge.net/wink8s/",
WindowsPackageSASURLBase: "https://acs-mirror.azureedge.net/wink8s/",
WindowsTelemetryGUID: "fb801154-36b9-41bc-89c2-f4d4f05472b0",
CNIPluginsDownloadURL: "https://acs-mirror.azureedge.net/cni/cni-plugins-amd64-latest.tgz",
CNIPluginsDownloadURL: "https://acs-mirror.azureedge.net/cni/cni-plugins-amd64-" + CNIPluginVer + ".tgz",
VnetCNILinuxPluginsDownloadURL: "https://acs-mirror.azureedge.net/cni/azure-vnet-cni-linux-amd64-" + AzureCniPluginVer + ".tgz",
VnetCNIWindowsPluginsDownloadURL: "https://acs-mirror.azureedge.net/cni/azure-vnet-cni-windows-amd64-" + AzureCniPluginVer + ".zip",
}
Expand All @@ -54,7 +57,7 @@ var (
ImageOffer: "UbuntuServer",
ImageSku: "16.04-LTS",
ImagePublisher: "Canonical",
ImageVersion: "16.04.201801260",
ImageVersion: "16.04.201802220",
}

//DefaultRHELOSImageConfig is the RHEL Linux distribution.
Expand Down

0 comments on commit 021500e

Please sign in to comment.