Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
feat: add support for Kubernetes 1.14.0 (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma authored and jackfrancis committed Mar 25, 2019
1 parent 0b4b2f1 commit 5ce9196
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ for KUBE_DNS_VERSION in ${KUBE_DNS_VERSIONS}; do
echo " - ${CONTAINER_IMAGE}" >> ${RELEASE_NOTES_FILEPATH}
done

KUBE_ADDON_MANAGER_VERSIONS="8.9 8.8 8.7 8.6"
KUBE_ADDON_MANAGER_VERSIONS="9.0 8.9 8.8 8.7 8.6"
for KUBE_ADDON_MANAGER_VERSION in ${KUBE_ADDON_MANAGER_VERSIONS}; do
CONTAINER_IMAGE="k8s.gcr.io/kube-addon-manager-amd64:v${KUBE_ADDON_MANAGER_VERSION}"
pullContainerImage "docker" ${CONTAINER_IMAGE}
Expand Down Expand Up @@ -159,7 +159,7 @@ for TILLER_VERSION in ${TILLER_VERSIONS}; do
echo " - ${CONTAINER_IMAGE}" >> ${RELEASE_NOTES_FILEPATH}
done

CLUSTER_AUTOSCALER_VERSIONS="1.13.2 1.13.1 1.12.3 1.12.2 1.3.7 1.3.4 1.3.3 1.2.2 1.1.2"
CLUSTER_AUTOSCALER_VERSIONS="1.14.0 1.13.2 1.13.1 1.12.3 1.12.2 1.3.7 1.3.4 1.3.3 1.2.2 1.1.2"
for CLUSTER_AUTOSCALER_VERSION in ${CLUSTER_AUTOSCALER_VERSIONS}; do
CONTAINER_IMAGE="k8s.gcr.io/cluster-autoscaler:v${CLUSTER_AUTOSCALER_VERSION}"
pullContainerImage "docker" ${CONTAINER_IMAGE}
Expand All @@ -173,7 +173,7 @@ for K8S_DNS_SIDECAR_VERSION in ${K8S_DNS_SIDECAR_VERSIONS}; do
echo " - ${CONTAINER_IMAGE}" >> ${RELEASE_NOTES_FILEPATH}
done

CORE_DNS_VERSIONS="1.2.6 1.2.2"
CORE_DNS_VERSIONS="1.3.1 1.2.6 1.2.2"
for CORE_DNS_VERSION in ${CORE_DNS_VERSIONS}; do
CONTAINER_IMAGE="k8s.gcr.io/coredns:${CORE_DNS_VERSION}"
pullContainerImage "docker" ${CONTAINER_IMAGE}
Expand Down Expand Up @@ -275,7 +275,7 @@ pullContainerImage "docker" "busybox"
echo " - busybox" >> ${RELEASE_NOTES_FILEPATH}

# TODO: fetch supported k8s versions from an aks-engine command instead of hardcoding them here
K8S_VERSIONS="1.9.10 1.9.11 1.10.12 1.10.13 1.11.8 1.11.9 1.12.6 1.12.7 1.13.4 1.13.5"
K8S_VERSIONS="1.9.10 1.9.11 1.10.12 1.10.13 1.11.8 1.11.9 1.12.6 1.12.7 1.13.4 1.13.5 1.14.0"

for KUBERNETES_VERSION in ${K8S_VERSIONS}; do
HYPERKUBE_URL="k8s.gcr.io/hyperkube-amd64:v${KUBERNETES_VERSION}"
Expand Down
5 changes: 3 additions & 2 deletions pkg/api/common/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ var AllKubernetesSupportedVersions = map[string]bool{
"1.14.0-alpha.1": false,
"1.14.0-alpha.2": false,
"1.14.0-beta.1": false,
"1.14.0-beta.2": true,
"1.14.0-rc.1": true,
"1.14.0-beta.2": false,
"1.14.0-rc.1": false,
"1.14.0": true,
}

// GetDefaultKubernetesVersion returns the default Kubernetes version, that is the latest patch of the default release
Expand Down
6 changes: 3 additions & 3 deletions pkg/api/k8s_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ var k8sComponentVersions = map[string]map[string]string{
"addon-resizer": "addon-resizer:1.8.4",
"heapster": "heapster-amd64:v1.5.4",
"metrics-server": "metrics-server-amd64:v0.2.1",
"coredns": "coredns:1.2.6",
"coredns": "coredns:1.3.1",
"kube-dns": "k8s-dns-kube-dns-amd64:1.15.0",
"addon-manager": "kube-addon-manager-amd64:v8.9",
"addon-manager": "kube-addon-manager-amd64:v9.0",
"dnsmasq": "k8s-dns-dnsmasq-nanny-amd64:1.15.0",
"pause": "pause-amd64:3.1",
"tiller": "tiller:v2.11.0",
"rescheduler": "rescheduler:v0.4.0",
"aci-connector": "virtual-kubelet:latest",
ContainerMonitoringAddonName: "oms:ciprod01092019",
AzureCNINetworkMonitoringAddonName: "networkmonitor:v0.0.5",
"cluster-autoscaler": "cluster-autoscaler:v1.13.1",
"cluster-autoscaler": "cluster-autoscaler:v1.14.0",
NVIDIADevicePluginAddonName: "k8s-device-plugin:1.11",
"k8s-dns-sidecar": "k8s-dns-sidecar-amd64:1.14.10",
"nodestatusfreq": DefaultKubernetesNodeStatusUpdateFrequency,
Expand Down

0 comments on commit 5ce9196

Please sign in to comment.