Commit Graph

105836 Commits

Author SHA1 Message Date
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
a2ush
d775483381 Fix comment out typo 2021-12-11 22:27:38 +09:00
Kubernetes Prow Robot
0cae5f5006
Merge pull request #106744 from BinacsLee/binacs/fix-race-condition-in-scheduler-eventhandler
scheduler: fix race condition during cache refresh
2021-12-11 00:31:59 -08:00
Kubernetes Prow Robot
030c3fbd58
Merge pull request #106936 from sbangari/windowsserviceflappingfix
Skip creating HNS loadbalancer with empty endpoints
2021-12-10 22:41:57 -08:00
Kubernetes Prow Robot
aed75bf2ed
Merge pull request #106880 from ii/promote-proxy-301-redirect
Promote Pod- & ServiceProxy Test to Conformance - +12 endpoint coverage
2021-12-10 21:31:57 -08:00
Kubernetes Prow Robot
0ae6ef69b8
Merge pull request #106827 from tkashem/apf-exempt-note
apf: ensure exempt request is noted with classification
2021-12-10 19:44:32 -08:00
William Zhang
584165cfcc cleanup(apiserver): delete the --max-resource-write-bytes & --json-patch-max-copy-bytes description.
Change-Id: I0fe27dce27db6a1e186bd44a968c6e931de88dd8
Signed-off-by: William Zhang <warmchang@outlook.com>
2021-12-11 10:49:30 +08:00
Kubernetes Prow Robot
8b9e1d78f6
Merge pull request #106964 from ncdc/portable-code-generation
Code generation outside GOPATH
2021-12-10 17:48:32 -08:00
Lubomir I. Ivanov
6c6c7e5f0c kubeadm: handle dockershim specific flags for 1.24
Currently when the dockershim socket is used, kubeadm only passes
the --network-plugin=cni to the kubelet and assumes the built-in
dockershim. This is valid for versions <1.24, but with dockershim
and related flags removed the kubelet will fail.

Use preflight.GetKubeletVersion() to find the version of the host
kubelet and if the version is <1.24 assume that it has built-in
dockershim. Newer versions should will be treated as "remote" even
if the socket is for dockershim, for example, provided by cri-dockerd.

Update related unit tests.
2021-12-11 02:16:06 +02:00
Kubernetes Prow Robot
c7ff5758db
Merge pull request #106922 from cheftako/anp-release
Bump konnectivity network proxy to v0.0.27.
2021-12-10 14:11:21 -08:00
Paul Barfuss
77be26c3b8 Replace hardcoded kubectl with kubectl.Name() 2021-12-10 15:58:52 -05:00
Andy Goldstein
60d2481b88
Bump k8s.io/gengo to v0.0.0-20211115164449-b448ea381d54
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2021-12-10 14:30:53 -05:00
Kubernetes Prow Robot
9629ac6d2f
Merge pull request #106906 from tsmetana/k8s-fix-azure-subpath
mount-utils: Detect potential stale file handle
2021-12-10 11:05:22 -08:00
Kubernetes Prow Robot
4ea2448be2
Merge pull request #106956 from cpanato/gco1175
[go1.17] Update to go1.17.5
2021-12-10 10:03:10 -08:00
Abu Kashem
8b2dd74c27
apf: ensure exempt request notes the classification 2021-12-10 11:54:10 -05:00
Kubernetes Prow Robot
b0eb3e1ec2
Merge pull request #106949 from cpanato/update-golang-xnet
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
2021-12-10 08:13:11 -08:00
Carlos Panato
4bda9697ee
[go1.17] Update to go1.17.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 16:58:29 +01:00