When syncing to a new Kubernetes release, please update corresponding lines in following files.
- glide.yaml for glide update
- linux.json for local test deployment
- Dockerfile for local test image
Please find details as following
-
Main dockerfile: Dockerfile
Update golang version in
FROM golang:*
Update
FROM buildpack-deps:*
if base image version changes. -
Test deployment image: linux.json
Update
customCcmImage
to latest stable released image, this is used for local deployment.
Following Kubernetes versions should stick to Kubernetes package version specified in glide.yaml, please see Dependency management for details about package versions.
-
Test cluster hyperkube Image: linux.json
Update
"customHyperkubeImage": "*"
for Kubernetes version. -
E2E tests: Dockerfile
Update
ARG K8S_VERSION=
for Kubernetes version.Update
FROM golang:* AS build_kubernetes
. This should stick to the Go version used by Kubernetes
Edit file Dockerfile
Update ARG AKSENGINE_VERSION=
for aks-engine version.
Update FROM golang:* AS build_aks-engine
.
This should stick to the Go version used by aks-engine.