Commit Graph

105798 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ba2cd9ce97
Merge pull request #107051 from BinacsLee/binacs/cleanup-scheduler-internal-queue
scheduler: cleanup return value
2021-12-15 07:06:19 -08:00
BinacsLee
d484b1aa3d scheduler: cleanup return value 2021-12-15 21:51:42 +08:00
sunzhaochang
82c9d80295 Add Close() for profile 2021-12-15 21:17:00 +08:00
Kubernetes Prow Robot
f6243782d0
Merge pull request #106914 from Jefftree/patch-1
Remove bazel condition check in openapi_test
2021-12-15 04:42:18 -08:00
Marek Siarkowicz
32b81ea0a0 Remove JSON logging performance regression
* Remove syncing info stream on error log by removing writeWithFlushing
* Avoid splitting streams when JSON is enabled by passing nil to NewJSONLogger
2021-12-15 13:26:29 +01:00
Kubernetes Prow Robot
87a54cbd3f
Merge pull request #106313 from aojea/conformance
conformance tests should have at least 2 untainted nodes
2021-12-15 01:19:21 -08:00
Kubernetes Prow Robot
be5b9b4f8d
Merge pull request #107013 from pacoxu/kubeadm-v1beta2-depre
kubeadm: mark v1beta2 as deprecated
2021-12-14 19:48:18 -08:00
Paco Xu
703f2a7b86 kubeadm: mark v1beta2 as deprecated 2021-12-15 09:36:42 +08:00
Kubernetes Prow Robot
a88462e901
Merge pull request #106934 from spencer-p/spencer-master
Document when workqueue metrics are dropped
2021-12-14 16:18:18 -08:00
Kubernetes Prow Robot
8324868f89
Merge pull request #106950 from sunzhaochang/fix-unexpected-end-test
Fix unexpected end of TestDependentsRace
2021-12-14 15:16:49 -08:00
Alex Wang
f5795a8a59 add-denkensk-as-reviewer-in-sig-scheduling 2021-12-15 06:50:39 +08:00
Kubernetes Prow Robot
3832299fd2
Merge pull request #106542 from wojtek-t/cleanup_storage_list_interface
Unify code for List and GetToList for etcd and cacher
2021-12-14 13:34:52 -08:00
Ben Luddy
ff849fe8b6
Don't bypass ResponseWriter wrappers for apiserver healthz errors.
The effective layering of ResponseWriters is today, from outside to
inside, httplog(timeout(audit(metrics(original)))). From
6e3fd91e1a, calls to http.Error in the
apiserver's root healthz handler use an unwrapped ResponseWriter --
effectively timeout(audit(metrics(original))) -- to avoid logging
stack traces for those requests.

From 0d50c969c5, the same call to
http.Error receives a completely-unwrapped ResponseWriter. This has
the effect of bypassing not only the httplog wrapper, but also
timeout, audit, and metrics. The timeout wrapper defends against
the (disallowed) use of underyling ResponseWriter after the completion
of its request's ServeHTTP call. Since that defensive behavior is
being bypassed, it's possible for the root healthz handler to panic
when health probes time out.

Instead of continuing to use a wrapper-aware means of disabling stack
traces, this commit adds a new function to httplog that allows
customization of the stack trace logging predicate on a per-request
basis.
2021-12-14 16:23:36 -05:00
Kubernetes Prow Robot
c55cc5acdf
Merge pull request #106990 from aojea/networking_scale
cap nunmber of tries on e2e nodePort stop service test
2021-12-14 09:35:46 -08:00
Scott Nice
d9cbe5d314 Added unit test for flex volume probe and updated DynamicPluginProber Probe() interface description 2021-12-14 10:48:51 -05:00
Kubernetes Prow Robot
0d912ef4bd
Merge pull request #107022 from ingvagabund/changelog-mention-ks-deprecations-master
Changelog: mention kube-scheduler bits deprecation
2021-12-14 06:47:46 -08:00
Jan Safranek
516633d67f Remove AttachID matching from Detach
Detach() always gets CSI volume unique ID and never attachment ID. Related
code has been removed from Kubernetes in
129f15328b.
2021-12-14 15:37:17 +01:00
Jan Chaloupka
e5f0b64cec Changelog: mention kube-scheduler bits deprication 2021-12-14 14:46:06 +01:00
a2ush
393dec26f6 Change the name of the constant 2021-12-14 22:42:57 +09:00
Kubernetes Prow Robot
c83a94da72
Merge pull request #107003 from julianvmodesto/dry-run-values
Re-introduce removed kubectl --dry-run values.
2021-12-14 03:15:46 -08:00
Kubernetes Prow Robot
77243f3274
Merge pull request #106973 from neolit123/1.24-adapt-kubeadm-to-dockershim-removal
kubeadm: handle dockershim specific flags for 1.24
2021-12-14 02:09:46 -08:00
prateekpandey14
f9cf14f3f6 fix static check of importing the same package multiple times
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
2021-12-14 11:06:44 +05:30
Kubernetes Prow Robot
d38105be86
Merge pull request #106748 from MikeSpreitzer/more-metric-clarity
Clarify APF metric wrt all three stages of execution
2021-12-13 19:52:02 -08:00
Kubernetes Prow Robot
b727d7141b
Merge pull request #107004 from liggitt/flowcontrol-beta
Point flowcontrol users at v1beta2
2021-12-13 15:46:01 -08:00
Kubernetes Prow Robot
145d05da34
Merge pull request #106944 from cpanato/pubbot
staging/publishing: Set go1.16 version to go1.16.12 and go1.17 to go1.17.5
2021-12-13 14:02:25 -08:00
Hemant Kumar
55b5e6dc33 Add metric for reporting total end-to-end mount time
This metric includes time spent in waiting for devices to be attached,
any RPC calls and performing recursive chown etc.
2021-12-13 16:23:01 -05:00
Kubernetes Prow Robot
2ae44bd74a
Merge pull request #106601 from liggitt/gomodule-gengo-normalize
bump k8s.io/gengo
2021-12-13 12:46:27 -08:00
Jordan Liggitt
f3640a693a Point flowcontrol users at v1beta2 2021-12-13 15:43:32 -05:00
Julian V. Modesto
cc4998b2b1 Re-introduce removed kubectl --dry-run values.
For 1.23, we removed the kubectl `--dry-run` empty default value (`--dry-run`)
and boolean values (`--dry-run=true` and `--dry-run=false`). This change
required requiring users to specify `--dry-run=client` or `--dry-run=server`
due to a deprecation. This change was made in #105327.

After reconsideration, this change is not worth the churn for users.
It's likely that many users rely on these values for automated and manual use
cases.

This change reverts #105327 and re-introduces the values `--dry-run`,
`--dry-run=true`, and `--dry-run=false`.
2021-12-13 15:04:49 -05:00
Kubernetes Prow Robot
e53f93c7bb
Merge pull request #105164 from ardaguclu/kubectl-diff-prune
Introduce new prune parameter into diff command
2021-12-13 11:31:58 -08:00
Manish Kumar
0a013e9a79 replace syscall with sys/unix pkg in pkg/util/ipvs 2021-12-14 00:09:02 +05:30
Kubernetes Prow Robot
7e6e307f11
Merge pull request #106843 from liggitt/drop-curl-bash
Drop unused auto-install invocation
2021-12-13 09:10:10 -08:00
Kubernetes Prow Robot
66ca4b0a70
Merge pull request #106568 from liggitt/json-fieldpath
include field paths in unknown/duplicate errors
2021-12-13 09:09:58 -08:00
Kubernetes Prow Robot
3b443c2b15
Merge pull request #106887 from liggitt/hpa-beta
Direct v2betaX users to migrate to HPA v2
2021-12-13 07:36:10 -08:00
Kubernetes Prow Robot
90110f71cb
Merge pull request #106256 from ardaguclu/use-serve-with-listener-stopped
Rename ServeWithListenerStopped to Serve in secure_serving
2021-12-13 07:35:58 -08:00
Jordan Liggitt
6e628f9970 bump k8s.io/gengo 2021-12-13 10:05:29 -05:00
Antonio Ojea
cd9b22aabc apiserver endpoint reconciler ip families
The apiserver may be configured to generate the Service
kubernetes.default and its endpoints addresses.

This service is single-stack, hence, the endpoints and the ClusterIP
must have the same IP family.
2021-12-13 15:43:41 +01:00
Jordan Liggitt
0b90b6ec5e Add field paths to expected unknown/duplicate errors 2021-12-13 09:38:13 -05:00
Jordan Liggitt
0c5ed62c79 bump sigs.k8s.io/json 2021-12-13 09:38:11 -05:00
Carlos Panato
62dab9f452
staging/publishing: Set go1.16 version to go1.16.12 and go1.17 to go1.17.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-13 12:31:39 +01:00
Kubernetes Prow Robot
770847e6b0
Merge pull request #106992 from hakman/ipv6_skip_load-balancer
Skip LB test for IPv6 clusters
2021-12-13 03:09:58 -08:00
Ciprian Hacman
574f788711 Skip LB test for IPv6 clusters 2021-12-13 11:43:06 +02:00
Antonio Ojea
a4bbf92577 cap nunmber of tries on e2e nodePort stop service test
The tests were asserting that after a NodePort Service was removed,
no new traffic was still reaching the endpoints.
However, the number of tries was so large that another test running
in parallel could create a working Service on that NodePort, making
the test fails.

Use only 10 tries to confirm that the Service stopped working.
2021-12-13 10:33:35 +01:00
Kubernetes Prow Robot
ba200841fd
Merge pull request #106366 from cyclinder/evictions_number_stable
adding evictions_total metric and marking evictions_number deprecated
2021-12-12 23:19:59 -08:00
cyclinder
b88b51c6e5 adding evictions_total metric and marking evictions_number deprecated
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-13 10:36:02 +08:00
Kubernetes Prow Robot
909bada3f4
Merge pull request #106628 from tkashem/apf-httplog-seats
apf: track initial and final seats in httplog and metrics
2021-12-12 18:19:58 -08:00
ialidzhikov
434257179f csi-translation-lib: Fix doc string of few funcs
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-12-12 21:11:31 +02:00
Abu Kashem
bb15bdf15c
apf: add a metric to count seat samples 2021-12-11 20:50:27 -05:00
Abu Kashem
be085b6345
apf: add initial and final seats to httplog 2021-12-11 20:50:27 -05:00
Claudiu Belu
e68b530733 tests: Lowers the number of pods returned by estimateMaximumPods
The Conformance test "should orphan pods created by rc if delete options say so"
is spawning 80% of the Cluster's Pod Availability (on a 2 node setup, with 30 Pods
capacity each, it spawns 48 pods).

Because of this, tests that are running in parallel with this test has a higher
chance to flake, causing them to timeout because they didn't get to spawn the
necessary Pods within the expected 1 minute time.

Lowering the percentage should reduce the ammount of flakes we see.
2021-12-11 08:54:02 -08:00