Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Release v1.16.11 #65

Open
wants to merge 49 commits into
base: release-1.16
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c073da0
Make updateAllocatedDevices() as a public method and call it in podre…
takmatsu Jun 27, 2019
3360a44
Azure - do not use 0 zone or empty string for zone when creating PVs
gnufied Apr 27, 2020
07b37f2
Check for empty zone string
gnufied Apr 29, 2020
ef1e398
Release commit for Kubernetes v1.16.11-rc.0
May 20, 2020
a33df4b
Update CHANGELOG/CHANGELOG-1.16.md for v1.16.10
May 20, 2020
ecb6670
Test global block directory in reconstruction tests
jsafrane Oct 4, 2019
89ca139
Fix volume map path during reconstruction
jsafrane Oct 4, 2019
dc0805a
Reconstruct block PV name in all volume plugins
jsafrane Oct 4, 2019
441ab3d
fix: should truncate long subnet name on lb rules
yangl900 Dec 14, 2019
86b0e75
fix: add unit tests for truncate long subnet name on lb ip configuration
yangl900 Dec 14, 2019
cbfabe7
fix: address test failure and review comments
yangl900 Dec 15, 2019
c568e62
fix: formating and typo
yangl900 Dec 15, 2019
2706cfc
Fix public IP not shown issues after assigning public IP to Azure VMs
feiskyer May 8, 2020
a5e12be
releng: Remove debian-hyperkube-base image building from this branch
justaugustus May 27, 2020
a64f8e5
Update CNI to v0.8.6
justaugustus May 22, 2020
2c373b2
Source CNI plugins from gs://k8s-artifacts-cni/release
justaugustus May 24, 2020
f479b4e
build: Use debian-hyperkube-base@v1.0.0 image
justaugustus May 27, 2020
c9d7581
Merge pull request #91388 from justaugustus/116-cni
k8s-ci-robot May 27, 2020
813fcfb
fix a number of unbounded dimensions in request metrics
Mar 25, 2020
bba080d
Merge pull request #91589 from logicalhan/automated-cherry-pick-of-#9…
k8s-ci-robot May 30, 2020
ff120bb
Merge pull request #91430 from feiskyer/automated-cherry-pick-of-#908…
k8s-ci-robot May 30, 2020
1efe51d
Merge pull request #90847 from andyzhangx/automated-cherry-pick-of-#9…
k8s-ci-robot May 30, 2020
2babb9e
Merge pull request #91302 from msau42/automated-cherry-pick-of-#83451…
k8s-ci-robot May 30, 2020
68ccd2e
Merge pull request #91429 from feiskyer/automated-cherry-pick-of-#862…
k8s-ci-robot May 31, 2020
537858c
Changes to ManagedFields is not mutation for GC
apelisse Apr 27, 2020
79cd198
Make kubectl tolerate other versions of the CSR API
liggitt Jun 2, 2020
655d2eb
set dest prefix and port for IPv6 sg rule
aramase Jun 5, 2020
47d9565
Merge pull request #91910 from aramase/automated-cherry-pick-of-#9183…
k8s-ci-robot Jun 9, 2020
ae0598b
skip unnecessary scheduling attempt when pod's finalizers change
snowplayfire May 14, 2020
eaeaae9
add test for finalizers
snowplayfire May 15, 2020
7b16c25
Skip Pod Conditions from scheduling queue updates
alculquicondor May 19, 2020
e61b138
Merge pull request #91694 from liggitt/automated-cherry-pick-of-#9169…
k8s-ci-robot Jun 9, 2020
df2d315
Merge pull request #91650 from apelisse/automated-cherry-pick-of-#905…
k8s-ci-robot Jun 9, 2020
81a822b
fieldManager: Ignore and log all errors when updating managedFields
apelisse May 8, 2020
94eea7c
Create class to call function at most every given period
Feb 26, 2020
5346dae
Merge pull request #91953 from alculquicondor/automated-cherry-pick-o…
k8s-ci-robot Jun 10, 2020
d22a61e
kubelet: block non-forwarded packets from crossing the localhost boun…
squeed May 29, 2020
d2005cf
Extend AWS azToRegion method to support Local Zones and other partitions
Jeffwan May 8, 2020
8507a3a
Merge pull request #92040 from joelsmith/automated-cherry-pick-of-#91…
k8s-ci-robot Jun 11, 2020
fdfabaf
enable floating IP for IPv6
aramase Jun 10, 2020
04477cb
Merge pull request #91949 from apelisse/automated-cherry-pick-of-#916…
k8s-ci-robot Jun 12, 2020
decd934
FieldManager: Reset if we receive nil or a list with one empty item
apelisse May 21, 2020
dd83ea8
Fix fieldType being dropped by older go-clients
apelisse Apr 30, 2020
4673741
Merge pull request #90070 from RenaudWasTaken/automated-cherry-pick-o…
k8s-ci-robot Jun 13, 2020
34b41c6
Merge pull request #92000 from aramase/automated-cherry-pick-of-#9199…
k8s-ci-robot Jun 13, 2020
908a5fe
Merge pull request #92077 from apelisse/automated-cherry-pick-of-#917…
k8s-ci-robot Jun 13, 2020
1a6b7d0
Merge pull request #92046 from Jeffwan/automated-cherry-pick-of-#9087…
k8s-ci-robot Jun 13, 2020
436254b
Release commit for Kubernetes v1.16.11
Jun 17, 2020
2483cb5
Merge tag 'v1.16.11' into release-1.16-dev
jadarsie Jun 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
227 changes: 164 additions & 63 deletions CHANGELOG/CHANGELOG-1.16.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/debian-hyperkube-base/.gitignore

This file was deleted.

63 changes: 0 additions & 63 deletions build/debian-hyperkube-base/Dockerfile

This file was deleted.

85 changes: 0 additions & 85 deletions build/debian-hyperkube-base/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions build/debian-hyperkube-base/OWNERS

This file was deleted.

25 changes: 0 additions & 25 deletions build/debian-hyperkube-base/README.md

This file was deleted.

12 changes: 9 additions & 3 deletions build/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
dependencies:
- name: "cni"
version: 0.7.5
version: 0.8.6
refPaths:
- path: build/debian-hyperkube-base/Makefile
match: CNI_VERSION=
- path: build/rpms/kubeadm.spec
match: kubernetes-cni
- path: build/rpms/kubelet.spec
Expand Down Expand Up @@ -93,6 +91,14 @@ dependencies:
- path: cluster/images/etcd-empty-dir-cleanup/Dockerfile
match: us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base:v\d+\.\d+\.\d+

- name: "k8s.gcr.io/debian-hyperkube-base: dependents"
version: 1.0.0
refPaths:
- path: build/workspace.bzl
match: tag =
- path: cluster/images/hyperkube/Makefile
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-hyperkube-base-\$\(ARCH\):v\d+\.\d+\.\d+

- name: "k8s.gcr.io/debian-iptables: dependents"
version: 12.1.0
refPaths:
Expand Down
2 changes: 1 addition & 1 deletion build/rpms/kubeadm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ License: ASL 2.0
Summary: Container Cluster Manager - Kubernetes Cluster Bootstrapping Tool
Requires: kubelet >= 1.8.0
Requires: kubectl >= 1.8.0
Requires: kubernetes-cni >= 0.7.5
Requires: kubernetes-cni >= 0.8.6
Requires: cri-tools >= 1.11.0

URL: https://kubernetes.io
Expand Down
2 changes: 1 addition & 1 deletion build/rpms/kubelet.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Requires: ebtables
Requires: ethtool
Requires: iproute
Requires: iptables >= 1.4.21
Requires: kubernetes-cni >= 0.7.5
Requires: kubernetes-cni >= 0.8.6
Requires: socat
Requires: util-linux

Expand Down
36 changes: 21 additions & 15 deletions build/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ load("//build:workspace_mirror.bzl", "mirror")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")

CNI_VERSION = "0.7.5"
CNI_VERSION = "0.8.6"
_CNI_TARBALL_ARCH_SHA256 = {
"amd64": "3ca15c0a18ee830520cf3a95408be826cbd255a1535a38e0be9608b25ad8bf64",
"arm": "0eb4a528b5b2e4ce23ebc96e41b2f5280d5a64d41eec8dd8b16c3d66aaa0f6b8",
"arm64": "7fec91af78e9548df306f0ec43bea527c8c10cc3a9682c33e971c8522a7fcded",
"ppc64le": "9164a26ed8dd398b2fe3b15d9d456271dfa59aa537528d10572ea9fa2cef7679",
"s390x": "415cdcf02c65c22f5b7e55b0ab61208a10f2b95a0c8310176c771d07a9f448cf",
"amd64": "994fbfcdbb2eedcfa87e48d8edb9bb365f4e2747a7e47658482556c12fd9b2f5",
"arm": "28e61b5847265135dc1ca397bf94322ecce4acab5c79cc7d360ca3f6a655bdb7",
"arm64": "43fbf750c5eccb10accffeeb092693c32b236fb25d919cf058c91a677822c999",
"ppc64le": "61d6c6c15d3e4fa3eb85d128c9c0ff2658f38e59047ae359be47d193c673e116",
"s390x": "ca126a3bd2cd8dff1c7bbfc3c69933b284c4e77614391c7e1f74b0851fc3b289",
}

CRI_TOOLS_VERSION = "1.14.0"
Expand Down Expand Up @@ -56,7 +56,7 @@ def cni_tarballs():
name = "kubernetes_cni_%s" % arch,
downloaded_file_path = "kubernetes_cni.tgz",
sha256 = sha,
urls = mirror("https://storage.googleapis.com/kubernetes-release/network-plugins/cni-plugins-%s-v%s.tgz" % (arch, CNI_VERSION)),
urls = ["https://storage.googleapis.com/k8s-artifacts-cni/release/v%s/cni-plugins-linux-%s-v%s.tgz" % (CNI_VERSION, arch, CNI_VERSION)],
)

def cri_tarballs():
Expand Down Expand Up @@ -96,13 +96,18 @@ _DEBIAN_IPTABLES_DIGEST = {
"s390x": "sha256:1b91a2788750552913377bf1bc99a095544dfb523d80a55674003c974c8e0905",
}

# Use skopeo to find these values: https://github.com/containers/skopeo
#
# Example
# Manifest: skopeo inspect docker://gcr.io/k8s-staging-build-image/debian-hyperkube-base:v1.0.0
# Arches: skopeo inspect --raw docker://gcr.io/k8s-staging-build-image/debian-hyperkube-base:v1.0.0
_DEBIAN_HYPERKUBE_BASE_DIGEST = {
"manifest": "sha256:8cabe02be6e86685d8860b7ace7c7addc9591a339728703027a4854677f1c772",
"amd64": "sha256:5d4ea2fb5fbe9a9a9da74f67cf2faefc881968bc39f2ac5d62d9167e575812a1",
"arm": "sha256:73260814af61522ff6aa48291df457d3bb0a91c4bf72e7cfa51fbaf03eb65fae",
"arm64": "sha256:78eeb1a31eef7c16f954444d64636d939d89307e752964ad6d9d06966c722da3",
"ppc64le": "sha256:92857d647abe8d9c7b4d7160cd5699112afc12fde369082a8ed00688b17928a9",
"s390x": "sha256:c11d74fa0538c67238576c247bfaddf95ebaa90cd03cb4d2f2ac3c6ebe0441e2",
"manifest": "sha256:8c8d854d868fb08352f73dda94f9e0b998c7318b48ddc587a355d0cbaf687f14",
"amd64": "sha256:73a8cb2bfd6707c8ed70c252e97bdccad8bc265a9a585db12b8e3dac50d6cd2a",
"arm": "sha256:aee7c2958c6e0de896995e8b04c8173fd0a7bbb16cddb1f4668e3ae010b8c786",
"arm64": "sha256:a74fc6d690e5c5e393fd509f50d7203fa5cd19bfbb127d4a3a996fd1ebcf35c4",
"ppc64le": "sha256:54afd9a85d6ecbe0792496f36012e7902601fb8084347cdc195c8b0561da39a3",
"s390x": "sha256:405a94e6b82f2eb89c773e0e9f6105eb73cde5605d4508ae36a150d922fe1c66",
}

def _digest(d, arch):
Expand Down Expand Up @@ -137,9 +142,10 @@ def debian_image_dependencies():
name = "debian-hyperkube-base-" + arch,
architecture = arch,
digest = _digest(_DEBIAN_HYPERKUBE_BASE_DIGEST, arch),
registry = "k8s.gcr.io",
registry = "us.gcr.io/k8s-artifacts-prod/build-image",
repository = "debian-hyperkube-base",
tag = "0.12.1", # ignored, but kept here for documentation
# Ensure the digests above are updated to match a new tag
tag = "v1.0.0", # ignored, but kept here for documentation
)

def etcd_tarballs():
Expand Down
6 changes: 3 additions & 3 deletions cluster/gce/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ NODE_PROBLEM_DETECTOR_TAR_HASH="${NODE_PROBLEM_DETECTOR_TAR_HASH:-}"
NODE_PROBLEM_DETECTOR_RELEASE_PATH="${NODE_PROBLEM_DETECTOR_RELEASE_PATH:-}"
NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS="${NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS:-}"

CNI_STORAGE_PATH="${CNI_STORAGE_PATH:-https://storage.googleapis.com/kubernetes-release/network-plugins}"
CNI_VERSION="${CNI_VERSION:-}"
CNI_SHA1="${CNI_SHA1:-}"
CNI_SHA1=${CNI_SHA1:-}
CNI_TAR_PREFIX=${CNI_TAR_PREFIX:-cni-plugins-linux-amd64-}
CNI_STORAGE_URL_BASE=${CNI_STORAGE_URL_BASE:-https://storage.googleapis.com/k8s-artifacts-cni/release}

# Optional: Create autoscaler for cluster's nodes.
ENABLE_CLUSTER_AUTOSCALER="${KUBE_ENABLE_CLUSTER_AUTOSCALER:-false}"
Expand Down
6 changes: 3 additions & 3 deletions cluster/gce/config-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ NODE_PROBLEM_DETECTOR_TAR_HASH="${NODE_PROBLEM_DETECTOR_TAR_HASH:-}"
NODE_PROBLEM_DETECTOR_RELEASE_PATH="${NODE_PROBLEM_DETECTOR_RELEASE_PATH:-}"
NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS="${NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS:-}"

CNI_STORAGE_PATH="${CNI_STORAGE_PATH:-https://storage.googleapis.com/kubernetes-release/network-plugins}"
CNI_VERSION="${CNI_VERSION:-}"
CNI_SHA1="${CNI_SHA1:-}"
CNI_SHA1=${CNI_SHA1:-}
CNI_TAR_PREFIX=${CNI_TAR_PREFIX:-cni-plugins-linux-amd64-}
CNI_STORAGE_URL_BASE=${CNI_STORAGE_URL_BASE:-https://storage.googleapis.com/k8s-artifacts-cni/release}

# Optional: Create autoscaler for cluster's nodes.
ENABLE_CLUSTER_AUTOSCALER="${KUBE_ENABLE_CLUSTER_AUTOSCALER:-false}"
Expand Down
14 changes: 9 additions & 5 deletions cluster/gce/gci/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ set -o nounset
set -o pipefail

### Hardcoded constants
DEFAULT_CNI_VERSION="v0.7.5"
DEFAULT_CNI_SHA1="52e9d2de8a5f927307d9397308735658ee44ab8d"
DEFAULT_CNI_VERSION="v0.8.6"
DEFAULT_CNI_SHA1="a31251105250279fe57b4474d91d2db1d4d48b5a"
DEFAULT_NPD_VERSION="v0.7.1"
DEFAULT_NPD_SHA1="a9cae965973d586bf5206ad4fe5aae07e6bfd154"
DEFAULT_CRICTL_VERSION="v1.14.0"
Expand Down Expand Up @@ -236,19 +236,23 @@ function install-node-problem-detector {

function install-cni-binaries {
if [[ -n "${CNI_VERSION:-}" ]]; then
local -r cni_tar="cni-plugins-amd64-${CNI_VERSION}.tgz"
local -r cni_version="${CNI_VERSION}"
local -r cni_sha1="${CNI_SHA1}"
else
local -r cni_tar="cni-plugins-amd64-${DEFAULT_CNI_VERSION}.tgz"
local -r cni_version="${DEFAULT_CNI_VERSION}"
local -r cni_sha1="${DEFAULT_CNI_SHA1}"
fi

local -r cni_tar="${CNI_TAR_PREFIX}${cni_version}.tgz"
local -r cni_url="${CNI_STORAGE_URL_BASE}/${cni_version}/${cni_tar}"

if is-preloaded "${cni_tar}" "${cni_sha1}"; then
echo "${cni_tar} is preloaded."
return
fi

echo "Downloading cni binaries"
download-or-bust "${cni_sha1}" "${CNI_STORAGE_PATH}/${cni_tar}"
download-or-bust "${cni_sha1}" "${cni_url}"
local -r cni_dir="${KUBE_HOME}/cni"
mkdir -p "${cni_dir}/bin"
tar xzf "${KUBE_HOME}/${cni_tar}" -C "${cni_dir}/bin" --overwrite
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@ NODE_PROBLEM_DETECTOR_VERSION: $(yaml-quote ${NODE_PROBLEM_DETECTOR_VERSION:-})
NODE_PROBLEM_DETECTOR_TAR_HASH: $(yaml-quote ${NODE_PROBLEM_DETECTOR_TAR_HASH:-})
NODE_PROBLEM_DETECTOR_RELEASE_PATH: $(yaml-quote ${NODE_PROBLEM_DETECTOR_RELEASE_PATH:-})
NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS: $(yaml-quote ${NODE_PROBLEM_DETECTOR_CUSTOM_FLAGS:-})
CNI_STORAGE_PATH: $(yaml-quote ${CNI_STORAGE_PATH:-})
CNI_STORAGE_URL_BASE: $(yaml-quote ${CNI_STORAGE_URL_BASE:-})
CNI_TAR_PREFIX: $(yaml-quote ${CNI_TAR_PREFIX:-})
CNI_VERSION: $(yaml-quote ${CNI_VERSION:-})
CNI_SHA1: $(yaml-quote ${CNI_SHA1:-})
ENABLE_NODE_LOGGING: $(yaml-quote ${ENABLE_NODE_LOGGING:-false})
Expand Down
2 changes: 1 addition & 1 deletion cluster/images/hyperkube/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ARCH?=amd64
OUT_DIR?=_output
HYPERKUBE_BIN?=$(shell pwd)/../../../$(OUT_DIR)/dockerized/bin/linux/$(ARCH)/hyperkube

BASEIMAGE=k8s.gcr.io/debian-hyperkube-base-$(ARCH):0.12.1
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-hyperkube-base-$(ARCH):v1.0.0
TEMP_DIR:=$(shell mktemp -d -t hyperkubeXXXXXX)

all: build
Expand Down
Loading