Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
91d1efa
Fix watchForLockfileContention memory leak
wzshiming Mar 17, 2021
40f3748
chunk target operatation for aws targetGroup
M00nF1sh Apr 28, 2021
17859c8
Use CSI driver to determine unique name for migrated in-tree plugins
Jiawei0227 May 6, 2021
7a40d1e
fix: not tagging static public IP
nilo19 May 6, 2021
823ae92
Avoid caching the VMSS instances whose network profile is nil
feiskyer Apr 9, 2021
1e8b18e
Add jitter to lease controller
Apr 30, 2021
9db073c
fix: avoid nil-pointer panic when checking the frontend IP configuration
nilo19 May 5, 2021
e4fdd1b
Update cos-gpu-installer image
bobbypage Apr 28, 2021
7462108
fix removing pods from podTopologyHints mapping
aheng-ch Apr 30, 2021
dbc2863
fixed wrong warning in kube-proxy regarding topology aware hints
dervoeti May 9, 2021
2867093
Release commit for Kubernetes v1.21.2-rc.0
May 12, 2021
14df10f
Update CHANGELOG/CHANGELOG-1.21.md for v1.21.1
May 12, 2021
2380e2b
Add missing clientset to EBS storage e2e test
rifelpet Apr 24, 2021
b047b4c
Make watch order conformance test reliable
liggitt May 12, 2021
f204fd3
Ref counting is only applicable to Remote endpoints
sbangari Apr 22, 2021
96a6a3c
Merge pull request #101980 from liggitt/automated-cherry-pick-of-#101…
k8s-ci-robot May 18, 2021
e338438
Merge pull request #101805 from Jiawei0227/automated-cherry-pick-of-#…
k8s-ci-robot May 18, 2021
91ce2b1
Azure: avoid setting cached Sku when updating VMSS and VMSS instances
feiskyer May 14, 2021
dc12c60
kubelet: reuse manager
giuseppe Mar 31, 2021
578d22a
pkg/kubelet/nodeshutdown/systemd: fix for dbus 5.0.4
kolyshkin May 11, 2021
513e4c7
Merge pull request #102001 from sbangari/automated-cherry-pick-of-#10…
k8s-ci-robot May 21, 2021
5eea547
vendor: bump runc to rc95
kolyshkin May 19, 2021
37d50b8
Set cgroups via opencontainer
odinuge Jan 25, 2021
133f66a
Merge pull request #102196 from kolyshkin/automated-cherry-pick-of-#1…
k8s-ci-robot May 21, 2021
f283c60
Fix expired unit test certs
liggitt May 23, 2021
e56eaea
Merge pull request #102225 from liggitt/automated-cherry-pick-of-#102…
k8s-ci-robot May 23, 2021
02e9291
Remove unnecessary quotes from get-kube scripts
gjkim42 May 24, 2021
6732b63
Respect annotation size limit for SSA last-applied.
julianvmodesto May 18, 2021
1348146
Merge pull request #102184 from julianvmodesto/automated-cherry-pick-…
k8s-ci-robot May 25, 2021
8717fcf
Upgrade konnectivity-client for GRPC connection fixes
cheftako May 24, 2021
b9b63f0
Merge pull request #102042 from gjkim42/automated-cherry-pick-of-#102…
k8s-ci-robot May 26, 2021
d2e8584
Update debian-iptables to buster-v1.6.1
xmudrii May 25, 2021
7260037
Update debian-base to buster-v1.7.0
xmudrii May 25, 2021
98e8c64
Update etcd image revision
xmudrii May 25, 2021
d5c699d
kubeadm: remove e2e test for ClusterStatus
neolit123 May 19, 2021
5d96d97
Merge pull request #102340 from cpanato/automated-cherry-pick-of-#102…
k8s-ci-robot May 27, 2021
c3d8507
Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
xmudrii May 27, 2021
d9aa779
Merge pull request #102379 from xmudrii/automated-cherry-pick-of-#102…
k8s-ci-robot May 27, 2021
438f0d6
Fix VolumeAttachment garbage collection for migrated PVs
timebertt May 20, 2021
ae40fd7
(scheduler e2e) Create balanced pods in parallel
damemi May 19, 2021
38a41e1
use subpath for coredns only for default repository
ykakarap Jun 1, 2021
19e8f2b
Return UnschedulableAndUnresolvable instead of Error when failing to …
ahg-g May 25, 2021
a62c5dc
Return UnschedulableAndUnresolvable when looking up volume-related re…
ahg-g Jun 1, 2021
b975bef
Merge pull request #102358 from pacoxu/automated-cherry-pick-of-#1021…
k8s-ci-robot Jun 2, 2021
178fd74
Merge pull request #102273 from cheftako/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 2, 2021
49be907
Merge pull request #102506 from ykakarap/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 2, 2021
154a553
Revert "Cleanup portforward streams after their usage"
saschagrunert Jun 4, 2021
e6824bb
Merge pull request #102587 from saschagrunert/release-1.21
k8s-ci-robot Jun 4, 2021
4977a4c
sched: fix a bug that a preemptor pod exists as a phantom
Huang-Wei Jun 4, 2021
151d8d1
Merge pull request #102456 from timebertt/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 8, 2021
af5cd2d
Merge pull request #101795 from wzshiming/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 8, 2021
2601f42
Merge pull request #101863 from marseel/automated-cherry-pick-of-#101…
k8s-ci-robot Jun 8, 2021
8281d2a
Merge pull request #101885 from nilo19/automated-cherry-pick-of-#1017…
k8s-ci-robot Jun 8, 2021
6b6f66d
Merge pull request #101890 from pacoxu/automated-cherry-pick-of-#1015…
k8s-ci-robot Jun 8, 2021
2231319
Merge pull request #101892 from aheng-ch/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
3369fa5
Merge pull request #101939 from dervoeti/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
6e7ac1d
Merge pull request #101956 from rifelpet/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
37fb31d
Merge pull request #102119 from feiskyer/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
e6e5ee4
Merge pull request #102487 from damemi/1.21-balance-pods-parallel
k8s-ci-robot Jun 8, 2021
db58725
Merge pull request #102514 from ahg-g/automated-cherry-pick-of-#10230…
k8s-ci-robot Jun 8, 2021
e60e61d
Merge pull request #102667 from Huang-Wei/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 8, 2021
71445bc
Merge pull request #101819 from nilo19/automated-cherry-pick-of-#1017…
k8s-ci-robot Jun 8, 2021
61be54d
Merge pull request #101825 from feiskyer/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
99b213b
endpointslicemirroring controller mirror address status
aojea Jun 8, 2021
4033f7a
feat: remove ephemeral-storage etcd requirement
jackfrancis Jun 7, 2021
dab8df8
Merge pull request #102702 from aojea/automated-cherry-pick-of-#10268…
k8s-ci-robot Jun 9, 2021
ddf5532
Update to go1.16.5
cpanato Jun 8, 2021
010de9b
Merge pull request #102739 from cpanato/automated-cherry-pick-of-#102…
k8s-ci-robot Jun 10, 2021
ef0beb2
client-go: reduce log level of reflector again
pohly Jun 10, 2021
05c4b15
Merge pull request #102800 from pohly/automated-cherry-pick-of-#10278…
k8s-ci-robot Jun 11, 2021
1a40197
Merge pull request #102705 from jackfrancis/automated-cherry-pick-of-…
k8s-ci-robot Jun 11, 2021
e83de8f
Merge pull request #101812 from melnikalex/automated-cherry-pick-of-#…
k8s-ci-robot Jun 14, 2021
092fbfb
Release commit for Kubernetes v1.21.2
Jun 16, 2021
87a46dc
Merge tag 'v1.21.2' into rebase-1.21.2
soltysh Jun 21, 2021
1f197dd
UPSTREAM: <drop>: manually resolve conflicts in go.mod and go.sum files
soltysh Jun 21, 2021
b2a900b
UPSTREAM: <drop>: hack/update-vendor.sh, make update and update image
soltysh Jun 21, 2021
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
351 changes: 190 additions & 161 deletions CHANGELOG/CHANGELOG-1.21.md

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/build-image/cross/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.16.4-1
v1.16.5-1
7 changes: 4 additions & 3 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ readonly KUBE_RSYNC_PORT="${KUBE_RSYNC_PORT:-}"
readonly KUBE_CONTAINER_RSYNC_PORT=8730

# These are the default versions (image tags) for their respective base images.
readonly __default_debian_iptables_version=buster-v1.6.0
readonly __default_go_runner_version=v2.3.1-go1.16.4-buster.0
readonly __default_debian_iptables_version=buster-v1.6.2
readonly __default_go_runner_version=v2.3.1-go1.16.5-buster.0
readonly __default_setcap_version=buster-v2.0.1

# These are the base images for the Docker-wrapped binaries.
readonly KUBE_GORUNNER_IMAGE="${KUBE_GORUNNER_IMAGE:-$KUBE_BASE_IMAGE_REGISTRY/go-runner:$__default_go_runner_version}"
Expand All @@ -97,7 +98,7 @@ readonly KUBE_SCHEDULER_BASE_IMAGE="${KUBE_SCHEDULER_BASE_IMAGE:-$KUBE_GORUNNER_
readonly KUBE_PROXY_BASE_IMAGE="${KUBE_PROXY_BASE_IMAGE:-$KUBE_BASE_IMAGE_REGISTRY/debian-iptables:$__default_debian_iptables_version}"

# This is the image used in a multi-stage build to apply capabilities to Docker-wrapped binaries.
readonly KUBE_BUILD_SETCAP_IMAGE="${KUBE_BUILD_SETCAP_IMAGE:-$KUBE_BASE_IMAGE_REGISTRY/setcap:buster-v1.4.0}"
readonly KUBE_BUILD_SETCAP_IMAGE="${KUBE_BUILD_SETCAP_IMAGE:-$KUBE_BASE_IMAGE_REGISTRY/setcap:$__default_setcap_version}"

# Get the set of master binaries that run in Docker (on Linux)
# Entry format is "<binary-name>,<base-image>".
Expand Down
16 changes: 11 additions & 5 deletions build/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ dependencies:

# Golang
- name: "golang: upstream version"
version: 1.16.4
version: 1.16.5
refPaths:
- path: build/build-image/cross/VERSION
- path: cluster/addons/fluentd-elasticsearch/es-image/Dockerfile
Expand All @@ -124,15 +124,15 @@ dependencies:
match: minimum_go_version=go([0-9]+\.[0-9]+)

- name: "k8s.gcr.io/kube-cross: dependents"
version: v1.16.4-1
version: v1.16.5-1
refPaths:
- path: build/build-image/cross/VERSION
- path: test/images/sample-apiserver/Makefile
match: k8s\.gcr\.io\/build-image\/kube-cross:v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)

# Base images
- name: "k8s.gcr.io/debian-base: dependents"
version: buster-v1.6.0
version: buster-v1.7.0
refPaths:
- path: cluster/images/etcd/Makefile
match: BASEIMAGE\?\=k8s\.gcr\.io\/build-image\/debian-base:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand All @@ -146,15 +146,15 @@ dependencies:
match: BASEIMAGE\?\=k8s\.gcr\.io\/build-image\/debian-base-s390x:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)

- name: "k8s.gcr.io/debian-iptables: dependents"
version: buster-v1.6.0
version: buster-v1.6.2
refPaths:
- path: build/common.sh
match: __default_debian_iptables_version=
- path: test/utils/image/manifest.go
match: configs\[DebianIptables\] = Config{buildImageRegistry, "debian-iptables", "[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)"}

- name: "k8s.gcr.io/go-runner: dependents"
version: v2.3.1-go1.16.4-buster.0
version: v2.3.1-go1.16.5-buster.0
refPaths:
- path: build/common.sh
match: __default_go_runner_version=
Expand Down Expand Up @@ -217,6 +217,12 @@ dependencies:
- path: test/utils/image/manifest.go
match: configs\[Pause\] = Config{gcRegistry, "pause", "\d+\.\d+.\d+"}

- name: "k8s.gcr.io/setcap: dependents"
version: buster-v2.0.1
refPaths:
- path: build/common.sh
match: __default_setcap_version=

# metadata-concealment: bump this one first
- name: "metadata-concealment"
version: "1.6"
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/fluentd-elasticsearch/es-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.16.4 AS builder
FROM golang:1.16.5 AS builder
COPY elasticsearch_logging_discovery.go go.mod go.sum /
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -ldflags "-w" -o /elasticsearch_logging_discovery /elasticsearch_logging_discovery.go

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- image: k8s.gcr.io/kas-network-proxy/proxy-agent:v0.0.15
- image: k8s.gcr.io/kas-network-proxy/proxy-agent:v0.0.19
name: konnectivity-agent
command: ["/proxy-agent"]
args: [
Expand Down
2 changes: 1 addition & 1 deletion cluster/gce/manifests/konnectivity-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
hostNetwork: true
containers:
- name: konnectivity-server-container
image: k8s.gcr.io/kas-network-proxy/proxy-server:v0.0.15
image: k8s.gcr.io/kas-network-proxy/proxy-server:v0.0.19
resources:
requests:
cpu: 25m
Expand Down
2 changes: 1 addition & 1 deletion cluster/get-kube-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function download_tarball() {
mkdir -p "${download_path}"

if [[ $(which gsutil) ]] && [[ "$url" =~ ^https://storage.googleapis.com/.* ]]; then
gsutil cp "${url//'https://storage.googleapis.com/'/'gs://'}" "${download_path}/${file}"
gsutil cp "${url//'https://storage.googleapis.com/'/gs://}" "${download_path}/${file}"
elif [[ $(which curl) ]]; then
# if the url belongs to GCS API we should use oauth2_token in the headers
curl_headers=""
Expand Down
2 changes: 1 addition & 1 deletion cluster/get-kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fi

if "${need_download}"; then
if [[ $(which gsutil) ]] && [[ "$kubernetes_tar_url" =~ ^https://storage.googleapis.com/.* ]]; then
gsutil cp "${kubernetes_tar_url//'https://storage.googleapis.com/'/'gs://'}" "${file}"
gsutil cp "${kubernetes_tar_url//'https://storage.googleapis.com/'/gs://}" "${file}"
elif [[ $(which curl) ]]; then
# if the url belongs to GCS API we should use oauth2_token in the headers
curl_headers=""
Expand Down
12 changes: 6 additions & 6 deletions cluster/images/etcd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ BUNDLED_ETCD_VERSIONS?=3.0.17 3.1.12 3.2.24 3.3.17 3.4.13
# LATEST_ETCD_VERSION identifies the most recent etcd version available.
LATEST_ETCD_VERSION?=3.4.13

# REVISION provides a version number fo this image and all it's bundled
# REVISION provides a version number for this image and all it's bundled
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment
# for each revision of this image at that etcd version.
REVISION?=4
Expand Down Expand Up @@ -67,19 +67,19 @@ GOARM?=7
TEMP_DIR:=$(shell mktemp -d)

ifeq ($(ARCH),amd64)
BASEIMAGE?=k8s.gcr.io/build-image/debian-base:buster-v1.6.0
BASEIMAGE?=k8s.gcr.io/build-image/debian-base:buster-v1.7.0
endif
ifeq ($(ARCH),arm)
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-arm:buster-v1.6.0
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-arm:buster-v1.7.0
endif
ifeq ($(ARCH),arm64)
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-arm64:buster-v1.6.0
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-arm64:buster-v1.7.0
endif
ifeq ($(ARCH),ppc64le)
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-ppc64le:buster-v1.6.0
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-ppc64le:buster-v1.7.0
endif
ifeq ($(ARCH),s390x)
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-s390x:buster-v1.6.0
BASEIMAGE?=k8s.gcr.io/build-image/debian-base-s390x:buster-v1.7.0
endif

RUNNERIMAGE?=gcr.io/distroless/static:latest
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeadm/app/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ const (
CoreDNSDeploymentName = "coredns"

// CoreDNSImageName specifies the name of the image for CoreDNS add-on
CoreDNSImageName = "coredns/coredns"
CoreDNSImageName = "coredns"

// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
CoreDNSVersion = "v1.8.0"
Expand Down
5 changes: 5 additions & 0 deletions cmd/kubeadm/app/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (

"k8s.io/klog/v2"
kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
kubeadmapiv1beta2 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2"
"k8s.io/kubernetes/cmd/kubeadm/app/constants"
kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
)
Expand Down Expand Up @@ -52,6 +53,10 @@ func GetDNSImage(cfg *kubeadmapi.ClusterConfiguration) string {
if cfg.DNS.ImageRepository != "" {
dnsImageRepository = cfg.DNS.ImageRepository
}
// Handle the renaming of the official image from "k8s.gcr.io/coredns" to "k8s.gcr.io/coredns/coredns
if dnsImageRepository == kubeadmapiv1beta2.DefaultImageRepository {
dnsImageRepository = fmt.Sprintf("%s/coredns", dnsImageRepository)
}
// DNS uses an imageTag that corresponds to the DNS version matching the Kubernetes version
dnsImageTag := constants.GetDNSVersion(cfg.DNS.Type)

Expand Down
50 changes: 50 additions & 0 deletions cmd/kubeadm/app/images/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"testing"

kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
kubeadmapiv1beta2 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2"
"k8s.io/kubernetes/cmd/kubeadm/app/constants"
)

Expand Down Expand Up @@ -237,3 +238,52 @@ func TestGetAllImages(t *testing.T) {
})
}
}

func TestGetDNSImage(t *testing.T) {
var tests = []struct {
expected string
cfg *kubeadmapi.ClusterConfiguration
}{
{
expected: "foo.io/coredns:v1.8.0",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: "foo.io",
DNS: kubeadmapi.DNS{
Type: kubeadmapi.CoreDNS,
},
},
},
{
expected: kubeadmapiv1beta2.DefaultImageRepository + "/coredns/coredns:v1.8.0",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: kubeadmapiv1beta2.DefaultImageRepository,
DNS: kubeadmapi.DNS{
Type: kubeadmapi.CoreDNS,
},
},
},
{
expected: "foo.io/coredns/coredns:v1.8.0",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: "foo.io",
DNS: kubeadmapi.DNS{
Type: kubeadmapi.CoreDNS,
ImageMeta: kubeadmapi.ImageMeta{
ImageRepository: "foo.io/coredns",
},
},
},
},
}

for _, test := range tests {
actual := GetDNSImage(test.cfg)
if actual != test.expected {
t.Errorf(
"failed to GetDNSImage:\n\texpected: %s\n\t actual: %s",
test.expected,
actual,
)
}
}
}
5 changes: 2 additions & 3 deletions cmd/kubeadm/app/phases/etcd/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ func GetEtcdPodSpec(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.A
},
Resources: v1.ResourceRequirements{
Requests: v1.ResourceList{
v1.ResourceCPU: resource.MustParse("100m"),
v1.ResourceMemory: resource.MustParse("100Mi"),
v1.ResourceEphemeralStorage: resource.MustParse("100Mi"),
v1.ResourceCPU: resource.MustParse("100m"),
v1.ResourceMemory: resource.MustParse("100Mi"),
},
},
LivenessProbe: staticpodutil.LivenessProbe(probeHostname, "/health", probePort, probeScheme),
Expand Down
2 changes: 2 additions & 0 deletions cmd/kubelet/app/server_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func watchForLockfileContention(path string, done chan struct{}) error {
}
if err = watcher.AddWatch(path, inotify.InOpen|inotify.InDeleteSelf); err != nil {
klog.ErrorS(err, "Unable to watch lockfile")
watcher.Close()
return err
}
go func() {
Expand All @@ -39,6 +40,7 @@ func watchForLockfileContention(path string, done chan struct{}) error {
klog.ErrorS(err, "inotify watcher error")
}
close(done)
watcher.Close()
}()
return nil
}
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ require (
github.com/opencontainers/go-digest v1.0.0
github.com/opencontainers/runc v1.0.0-rc95.0.20210608002938-1f5126fe967e
github.com/opencontainers/selinux v1.8.0
github.com/openshift/api v0.0.0-20210521075222-e273a339932a
github.com/openshift/api v0.0.0-20210610130314-a6ac319a7eed
github.com/openshift/apiserver-library-go v0.0.0-20210521113822-91c23a9a7ddf
github.com/openshift/client-go v0.0.0-20210521082421-73d9475a9142
github.com/openshift/library-go v0.0.0-20210521084623-7392ea9b02ca
github.com/openshift/library-go v0.0.0-20210611143017-0d0ef669a361
github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.0
github.com/prometheus/client_model v0.2.0
Expand Down Expand Up @@ -133,6 +133,7 @@ require (
k8s.io/sample-apiserver v0.0.0
k8s.io/system-validators v1.4.0
k8s.io/utils v0.0.0-20210521133846-da695404a2bc
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.19 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.1.0
sigs.k8s.io/yaml v1.2.0
)
Expand Down Expand Up @@ -189,7 +190,6 @@ replace (
github.com/census-instrumentation/opencensus-proto => github.com/census-instrumentation/opencensus-proto v0.2.1
github.com/cespare/xxhash/v2 => github.com/cespare/xxhash/v2 v2.1.1
github.com/chai2010/gettext-go => github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5
github.com/checkpoint-restore/go-criu/v4 => github.com/checkpoint-restore/go-criu/v4 v4.1.0
github.com/checkpoint-restore/go-criu/v5 => github.com/checkpoint-restore/go-criu/v5 v5.0.0
github.com/cheekybits/genny => github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
github.com/chzyer/logex => github.com/chzyer/logex v1.1.10
Expand Down Expand Up @@ -547,7 +547,7 @@ replace (
modernc.org/strutil => modernc.org/strutil v1.0.0
modernc.org/xc => modernc.org/xc v1.0.0
rsc.io/pdf => rsc.io/pdf v0.1.1
sigs.k8s.io/apiserver-network-proxy/konnectivity-client => sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15
sigs.k8s.io/apiserver-network-proxy/konnectivity-client => sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.19
sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.2.8
sigs.k8s.io/kube-storage-version-migrator => sigs.k8s.io/kube-storage-version-migrator v0.0.3
sigs.k8s.io/kustomize/api => sigs.k8s.io/kustomize/api v0.8.8
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03
modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs=
modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15 h1:4uqm9Mv+w2MmBYD+F4qf/v6tDFUdPOk29C095RbU5mY=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.19 h1:0jaDAAxtqIrrqas4vtTqxct4xS5kHfRNycTRLTyJmVM=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.19/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
sigs.k8s.io/controller-tools v0.2.8/go.mod h1:9VKHPszmf2DHz/QmHkcfZoewO6BL7pPs9uAiBVsaJSE=
sigs.k8s.io/kube-storage-version-migrator v0.0.3/go.mod h1:mXfSLkx9xbJHQsgNDDUZK/iQTs2tMbx/hsJlWe6Fthw=
sigs.k8s.io/kustomize/api v0.8.8 h1:G2z6JPSSjtWWgMeWSoHdXqyftJNmMmyxXpwENGoOtGE=
Expand Down
2 changes: 1 addition & 1 deletion openshift-hack/images/hyperkube/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ COPY --from=builder /tmp/build/* /usr/bin/
LABEL io.k8s.display-name="OpenShift Kubernetes Server Commands" \
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
io.openshift.tags="openshift,hyperkube" \
io.openshift.build.versions="kubernetes=1.21.1"
io.openshift.build.versions="kubernetes=1.21.2"
2 changes: 1 addition & 1 deletion pkg/controller/endpointslicemirroring/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (r *reconciler) reconcile(endpoints *corev1.Endpoints, existingSlices []*di
if totalAddressesAdded >= int(r.maxEndpointsPerSubset) {
break
}
if ok := d.addAddress(address, multiKey, true); ok {
if ok := d.addAddress(address, multiKey, false); ok {
totalAddressesAdded++
} else {
numInvalidAddresses++
Expand Down
Loading