Commit Graph

102837 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0123a893a8
Merge pull request #103872 from able8/fix-a-typo-in-comment
Fix a typo in comment
2021-08-05 14:10:21 -07:00
Kubernetes Prow Robot
5a92b78dd2
Merge pull request #103830 from MikeSpreitzer/new-event-clock
Introduce event clocks based on k8s.io/utils/clock
2021-08-05 14:10:09 -07:00
Kubernetes Prow Robot
8df554bafd
Merge pull request #103801 from gkarthiks/master
Remove purell package usage from kubeadm
2021-08-05 14:09:56 -07:00
Kubernetes Prow Robot
e396694fff
Merge pull request #103779 from SergeyKanzhelev/ContainerStatusApiDocs
ContainerStatus old comments fix
2021-08-05 14:09:44 -07:00
Kubernetes Prow Robot
32ac9dbb2c
Merge pull request #103700 from tkashem/storage-object-tracker
apiserver: add callback to get notified of object count
2021-08-05 14:09:31 -07:00
Kubernetes Prow Robot
20d5526575
Merge pull request #103593 from matthyx/container_probe
Flake #99979 increase delay for ready state propagation
2021-08-05 14:09:19 -07:00
Ian Gann
c8431f42d9 kubeadm: Reduce the backoff time of AddMember for etcd
This change optimizes the kubeadm/etcd `AddMember` client-side function
by stopping early in the backoff loop when a peer conflict is found
(indicating the member has already been added to the etcd cluster). In
this situation, the function will stop early and relay a call to
`ListMembers` to fetch the current list of members to return. With this
optimization, front-loading a `ListMembers` call is no longer necessary,
as this functionally returns the equivalent response.

This helps reduce the amount of time taken in situational cases where an
initial client request to add a member is accepted by the server, but
fails client-side.

This situation is possible situationally, such as if network latency
causes the request to timeout after it was sent and accepted by the
cluster. In this situation, the following loop would occur and fail with
an `ErrPeerURLExist` response, and would be stuck until the backoff
timeout was met (roughly ~2min30sec currently).

Testing Done:

* Manual testing with an etcd cluster. Initial "AddMember` call was
  successful, and the etcd manifest file was identical to prior version
  of these files. Subsequent calls to add the same member succeeded
  immediately (retaining idempotency), and the resulting manifest file
  remains identical to previous version as well. The difference, this
  time, is the call finished ~2min25sec faster in an identical test in
  the environment tested with.
2021-08-05 13:11:42 -07:00
Manu Gupta
dfde50b185 fix unsafe json construction for digestConfigObjects.
fix unsafe json creation by creating intermediate objects
while creating patch bytes.
2021-08-05 13:04:22 -07:00
Kubernetes Prow Robot
542829d30d
Merge pull request #102507 from ostrain/feature/ostrain/legacy-credential-provider-fg
Add feature gate to disable in-tree credential providers
2021-08-05 10:55:59 -07:00
Quan Tian
3cfe3d048f Improve dynamic cert file change detection
DynamicFileCAContent and DynamicCertKeyPairContent used periodical job
to check whether the file content has changed, leading to 1 minute of
delay in worst case. This patch improves it by leveraging fsnotify
watcher. The content change will be reflected immediately.
2021-08-06 01:45:24 +08:00
Sean Sullivan
f9a791ff26 Remove kubectl book 2021-08-05 10:44:15 -07:00
Owen Strain
a947c32783 Add feature gate to disable in-tree credential providers 2021-08-05 16:50:13 +00:00
ialidzhikov
d866272d65 Correct comment related to HugePageStorageMediumSize feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-05 19:10:09 +03:00
ialidzhikov
a04a98154e Remove the StartupProbe feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-05 18:48:40 +03:00
Kubernetes Prow Robot
dbebb8f2e8
Merge pull request #104146 from saschagrunert/dependencies-duplicate
Remove duplicate dependencies from 1.22 changelog
2021-08-05 08:18:57 -07:00
Kubernetes Prow Robot
01cd315f3e
Merge pull request #104106 from ehashman/ehashman-node-e2e-owners
Add ehashman to node e2e test approvers
2021-08-05 08:18:49 -07:00
Kubernetes Prow Robot
3b84cc9e6b
Merge pull request #104075 from kerthcet/cleanup/revert-dynamickubeconfig-metric
revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update
2021-08-05 08:18:40 -07:00
Kubernetes Prow Robot
9aee1ea7ce
Merge pull request #104074 from danwinship/np-dns-fixup
Remove stray DNS port references in NetPol tests
2021-08-05 08:18:32 -07:00
Kubernetes Prow Robot
ed5618e2d5
Merge pull request #104061 from aojea/waitForPodsReady
replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace
2021-08-05 08:18:24 -07:00
Kubernetes Prow Robot
94a55684a8
Merge pull request #104011 from manugupt1/master
fix: 81134: display conflicted taint without a json representation
2021-08-05 08:18:11 -07:00
Kubernetes Prow Robot
79c7584764
Merge pull request #103986 from GM1957/fix-scripts
fixing scripts from https://github.com/google/protobuf/releases to ht…
2021-08-05 08:17:59 -07:00
Kubernetes Prow Robot
d93fcf37db
Merge pull request #103903 from wzshiming/fix/framework-npe
Fix NPE in test/e2e/framework/providers/azure
2021-08-05 08:17:47 -07:00
Kubernetes Prow Robot
58cde6c442
Merge pull request #103874 from liggitt/move-conformance
Move conformance image
2021-08-05 08:17:34 -07:00
Kubernetes Prow Robot
01d2ee8e53
Merge pull request #100738 from cuisongliu/bug_register-gen_groupName
code-generator/register-gen: groupName can't override
2021-08-05 08:17:22 -07:00
Davanum Srinivas
af2129b77d
Allow override of CGO_ENABLED=0
When building inside a docker container, we fail to pass along enough
information for KUBE_CGO_OVERRIDES. The original PR was geared towards
building the binary from the command line

- dca376a03e
- e4ded2b3ec

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 10:45:14 -04:00
wojtekt
d9d41b70f6 Fix metrics reporting for the deprecated watch path 2021-08-05 16:39:32 +02:00
Mike Spreitzer
dcb298c955 Introduce event clocks based on k8s.io/utils/clock
So we can move off of the apimachinery clock package.

Switch queueset to new clocks.

Removed event clocks based on apimachinery clocks,
because this PR introduces ones based on k8s.io/utils/clock .

Removed interface that is implemented by only one interesting type.

Simplify RealEventClock::EventAfterTime.
2021-08-05 10:21:25 -04:00
Abu Kashem
2c60feffbe
apiserver: add callback to get notified of object count 2021-08-05 09:10:50 -04:00
Kubernetes Prow Robot
2b06890e12
Merge pull request #104113 from pacoxu/sysctls-featuregate-remove
remove GAed feature gates sysctls
2021-08-05 06:09:58 -07:00
Kubernetes Prow Robot
1d693cd832
Merge pull request #104109 from caesarxuchao/keepalive
add a keepalive time to the konnectivity server
2021-08-05 06:09:46 -07:00
Kubernetes Prow Robot
25fae1d686
Merge pull request #104100 from dims/skip-nvidia-gpu-test-in-node-e2e-ci-jobs-for-non-docker-runtimes
Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes
2021-08-05 06:09:34 -07:00
Kubernetes Prow Robot
18d9ea39af
Merge pull request #103832 from yuanchen8911/patch-4
Fix a typo in comment
2021-08-05 06:09:22 -07:00
Jian Zeng
c486b229d2 refactor(kubeadm): remove the flag --port from KCM manifest
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-08-05 19:51:02 +08:00
Davanum Srinivas
9351b57def
Skip node e2e test for recovering from ip leak with docker
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 07:11:07 -04:00
Markus Thömmes
ff0e1f4fe9 Add the pod field to all volumeToMount info level logs 2021-08-05 12:29:56 +02:00
Kubernetes Prow Robot
2d08fd4f56
Merge pull request #103864 from yuanchen8911/master
Fix inaccurate comments in scheduler_queue.go
2021-08-05 01:45:15 -07:00
Kubernetes Prow Robot
a77d151c6c
Merge pull request #103855 from ibabou/update_bin_win_154
Update Containerd version - GCE Windows (1.5.4)
2021-08-05 01:45:07 -07:00
Kubernetes Prow Robot
bda4ef278d
Merge pull request #103851 from mtaufen/sig-arch-comp-base
Update component-base owners to include SIG-Architecture
2021-08-05 01:44:59 -07:00
Kubernetes Prow Robot
d9de848739
Merge pull request #103847 from liggitt/generator-install-fix
Generator install fix
2021-08-05 01:44:51 -07:00
Kubernetes Prow Robot
4882921002
Merge pull request #103843 from Arkessler/patch-4
Update doc description for --audit-log-maxbackup
2021-08-05 01:44:43 -07:00
Kubernetes Prow Robot
e3b01a6d7f
Merge pull request #103820 from wojtek-t/pf_remove_counter
Couple code cleanups for APF code
2021-08-05 01:44:35 -07:00
Kubernetes Prow Robot
90ac41bd77
Merge pull request #103813 from SataQiu/update-kubeadm-ci-bucket
kubeadm: update references to legacy artifacts locations
2021-08-05 01:44:27 -07:00
Kubernetes Prow Robot
8dc81c565a
Merge pull request #103800 from aojea/time-budget
Time budget should not depend on the real clock
2021-08-05 01:44:18 -07:00
Kubernetes Prow Robot
9430d3d638
Merge pull request #103795 from pmmalinov01/master
setting the status to fix on the known issue
2021-08-05 01:44:10 -07:00
Kubernetes Prow Robot
644228091e
Merge pull request #103793 from yan-lgtm/deperate
Deprecate apiserver_longrunning_guage and apiserver_registered_watchers
2021-08-05 01:44:02 -07:00
Kubernetes Prow Robot
6fb005d4d4
Merge pull request #103792 from lixiaobing1/activeQ5
fix typo scheduling queue to active queue
2021-08-05 01:43:50 -07:00
Matthias Gubler
691b45e220
Clarify ready (#103782)
* Clarify ReadyReplicas docs

Clarifies and aligns the docs regarding ReadyReplicas in the
ReplicaSetStatus, DeploymentStatus, StatefulSetStatus and the
ReplicationControllerStatus.

* Clarify NumberReady docs

Clarifies and aligns the docs regarding NumberReady in the
DaemonSetStatus.

* Autogenerate docs

* Fix doc text with PR feedback

* Autogen docs

* Apply suggestions from code review

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>

* Autogen docs

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2021-08-05 01:43:37 -07:00
Kubernetes Prow Robot
f3e9fdc642
Merge pull request #103780 from shyamjvs/fix-exec-command
Ignore 'wait: no child processes' error when calling mount/umount
2021-08-05 01:43:25 -07:00
Kubernetes Prow Robot
6edce1cfca
Merge pull request #103778 from danwinship/feature-sctp
remove superfluous [Feature:SCTP] tag in some test names
2021-08-05 01:43:13 -07:00
Kubernetes Prow Robot
02aa3edfd5
Merge pull request #100285 from 249043822/it-hsts
add integration test for apiserver hsts
2021-08-05 01:43:00 -07:00