Commit Graph

15075 Commits

Author SHA1 Message Date
jlsong01
d66b3edd65 allocate a unique scheme for each test to fix concurrent usage issue 2022-02-02 15:22:59 +08:00
sabbey37
c94b4bb2ac Update azure auth plugin deprecation to warning 2022-02-01 15:35:36 -05:00
Kubernetes Prow Robot
3b7e8da669 Merge pull request #100883 from xychu/add-lessthan-ut
Add tests for LessThanOrEqual
2022-01-31 18:07:52 -08:00
Kubernetes Prow Robot
2e68fd2857 Merge pull request #107841 from aojea/fix_race_socks5
deflake TestRoundTripSocks5AndNewConnection unit test
2022-01-29 02:48:01 -08:00
Kubernetes Prow Robot
807cee8ad2 Merge pull request #107575 from andyzhangx/azurefile-volumeid-uuid
fix Azurefile volumeid conflict issue in csi migration
2022-01-28 19:04:02 -08:00
Antonio Ojea
5a43a45232 deflake TestRoundTripSocks5AndNewConnection unit test
The test was asserting the error from the proxy server, to avoid false
positives it was using a channel to communicate that the test has been
 ended and the error was legit.

However, the channel was executed using a defer statement, and the connection
on the server could be closed accidentally by the connection request,
that was done later and used another defer statement to close it.
Since the connection defer was done later, it was executed before the
channel close.
2022-01-28 18:27:31 +01:00
andyzhangx
c2aba4901a add namespace in azurefile volumeid 2022-01-27 09:29:13 +00:00
Abu Kashem
8fb3333863 Revert "Merge pull request #107456 from tkashem/apf-ssa"
This reverts commit 6faa4f0010, reversing
changes made to 33a2c50bce.
2022-01-26 13:54:26 -05:00
Kubernetes Prow Robot
38e9a29620 Merge pull request #106932 from SergeyKanzhelev/removeDynamicKubeletConfig
Remove dynamic kubelet config
2022-01-25 19:20:25 -08:00
Kubernetes Prow Robot
00da9db69f Merge pull request #107400 from aramperes/cleanup/common-label-selector
Cleanup kubectl label selectors with 'cmdutil.AddLabelSelectorFlagVar'
2022-01-25 13:33:41 -08:00
Kubernetes Prow Robot
fcd96faa79 Merge pull request #107758 from aojea/flake_socks5
disable socks5 flake test
2022-01-25 12:09:54 -08:00
Kubernetes Prow Robot
42ab2f5d03 Merge pull request #107397 from ncapps/feature-label-selector
Improve kubectl apply label selector message
2022-01-25 12:09:41 -08:00
Antonio Ojea
b6a741b888 disable socks5 flake test 2022-01-25 17:39:34 +01:00
Kubernetes Prow Robot
e5ae3f8d67 Merge pull request #107693 from nckturner/nick-owners
Add myself to legacy-cloud-provider OWNERS
2022-01-25 01:46:30 -08:00
Kubernetes Prow Robot
df21ff86eb Merge pull request #104620 from vinayakankugoyal/cri
Update CRI-API Capabilities to include a field that allows us to set …
2022-01-24 17:34:49 -08:00
Nick Turner
18be20bdf3 Add myself to legacy-cloud-provider OWNERS 2022-01-24 15:33:54 -08:00
Kubernetes Prow Robot
f4046f9e6d Merge pull request #107507 from alexzielenski/client-preprocess-handler
Add configuration point to SharedInformer to transform objects before storing
2022-01-24 14:31:27 -08:00
Kubernetes Prow Robot
321b411784 Merge pull request #107088 from joejulian/dry-run-metadata
strip dry-run metadata unwanted fields
2022-01-24 14:31:15 -08:00
Kubernetes Prow Robot
c225bdd552 Merge pull request #106828 from MadhavJivrajani/watch-cache-interval-impl
cacher: Implement watchCacheInterval to reduce watchCache lock contention
2022-01-24 07:07:57 -08:00
Madhav Jivrajani
347607e971 cacher: watchCacheInterval to reduce lock contention
watchCacheInterval serves as an abstraction over a source
of watchCacheEvents. It maintains a window of events over
an underlying source and these events can be served using
the exposed Next() API. The main intent for doing things
this way is to introduce an upper bound of memory usage
for starting a watch and reduce the maximum possible time
interval for which the lock would be held while events are
copied over.

The source of events for the interval is typically either
the watchCache circular buffer, if events being retrieved
need to be for resource versions > 0 or the underlying
implementation of Store, if resource version = 0.

Furthermore, an interval can be either valid or invalid at
any given point of time. The notion of validity makes sense
only in cases where the window of events in the underlying
source can change over time - i.e. for watchCache circular
buffer. When the circular buffer is full and an event needs
to be popped off, watchCache::startIndex is incremented. In
this case, an interval tracking that popped event is valid
only if it has already been copied to its internal buffer.
However, for efficiency we perform that lazily and we mark
an interval as invalid iff we need to copy events from the
watchCache and we end up needing events that have already
been popped off. This translates to the following condition:
  watchCacheInterval::startIndex >= watchCache::startIndex.
When this condition becomes false, the interval is no longer
valid and should not be used to retrieve and serve elements
from the underlying source.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-01-24 19:35:53 +05:30
Nabarun Pal
0d21caee1c staging/publishing: update branch rules to reflect new Go versions 1.17.6 and 1.16.13
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-01-22 12:46:17 -05:00
Kubernetes Prow Robot
05701a1309 Merge pull request #107688 from liggitt/prune-array
Fix regression pruning array fields with x-kubernetes-preserve-unknown-fields: true
2022-01-21 19:55:52 -08:00
Kubernetes Prow Robot
3e9eddb8fe Merge pull request #107682 from slaskawi/fix_kubectl_explain_description_printer
Fix printing control character in kubectl explain
2022-01-21 15:01:19 -08:00
Kubernetes Prow Robot
d10161b45b Merge pull request #105632 from xens/fix/kubectl-socks5-proxy2
Add SOCKS5 proxy support for kubectl exec
2022-01-21 15:01:06 -08:00
Jordan Liggitt
acb8d4ed20 Fix regression pruning array fields with x-kubernetes-preserve-unknown-fields: true 2022-01-21 14:06:49 -05:00
Kubernetes Prow Robot
e7e58de49f Merge pull request #107657 from astraw99/fix-label-msg
Fix label msg when overwrite flag is set
2022-01-21 04:51:59 -08:00
Romain Aviolat
0a98875e95 feat: add missing SOCKS5 features
Goal of this commit is to add some missing features when the
Kubernetes API is accessed through a SOCKS5 proxy. That's for
example the case when port-forwarding is used (`kubectl port-forward`)
or when exec'ing inside a container (`kubectl exec`), with this
commit it'll now be possible to use both.

Signed-off-by: Romain Aviolat <romain.aviolat@kudelskisecurity.com>
Signed-off-by: Romain Jufer <romain.jufer@kudelskisecurity.com>
2022-01-21 11:49:41 +01:00
Sebastian Laskawiec
e4dbaef3cc Fix printing control character in kubectl explain 2022-01-21 09:22:49 +01:00
Kubernetes Prow Robot
8d0d428ddd Merge pull request #105142 from pacoxu/cespare-2.1.2
upgrade github.com/cespare/xxhash/v2 to v2.1.2
2022-01-20 14:48:29 -08:00
Kubernetes Prow Robot
6faa4f0010 Merge pull request #107456 from tkashem/apf-ssa
apf: change controller to use SSA for patches
2022-01-20 13:44:29 -08:00
Kubernetes Prow Robot
33a2c50bce Merge pull request #106629 from tkashem/apf-dispatch-metrics
apf: add metric to track dispatch with no accommodation
2022-01-20 09:57:36 -08:00
Kubernetes Prow Robot
9c3a0e63a7 Merge pull request #107588 from discordianfish/fix-readme
Include applying subresource in Running section
2022-01-20 08:01:52 -08:00
Alexander Zielenski
754bf3b3d0 modify SharedIndexInformer to use newInformer constructor which supports transformers
avoids code duplication, allows transformer to be used with SharedIndexInformer
2022-01-20 06:25:28 -08:00
astraw99
83fe357f3e fix label msg 2022-01-20 12:13:38 +08:00
Kubernetes Prow Robot
184daed0db Merge pull request #107559 from liggitt/invalid-selectors
Handle invalid selectors properly
2022-01-19 14:49:31 -08:00
Sergey Kanzhelev
7e7bc6d53b remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
Abu Kashem
30c0485e0c apf: add metric to track dispatch with no accommodation 2022-01-19 15:35:25 -05:00
Abu Kashem
d9f4d6507b apf: change controller to use SSA for patches 2022-01-19 14:56:53 -05:00
-e
8a4e66049e upgrade prometheus/client_golang to v1.12.0(common to v0.32.1) 2022-01-19 22:30:33 +08:00
-e
cbe72f5d0b upgrade cespare/xxhash/v2 to v2.1.2 2022-01-19 22:17:27 +08:00
Kubernetes Prow Robot
fb26256803 Merge pull request #106845 from jdnurme/controller-metrics
Controller metrics
2022-01-18 21:06:05 -08:00
Vinayak Goyal
686eaa3ed9 Update CRI-API Capabilities to include a field that allows us to set ambient capabilities. 2022-01-18 15:16:10 -08:00
Kubernetes Prow Robot
ba1fc6f83c Merge pull request #107612 from palnabarun/releng/go-update
[go] update to Go 1.17.6
2022-01-18 12:02:34 -08:00
Kubernetes Prow Robot
40055e45a8 Merge pull request #107606 from xens/feat/propagate_req_context_into_proxyreq
feat: propagate req context into proxyReq
2022-01-18 12:02:22 -08:00
Kubernetes Prow Robot
ab4801c4f3 Merge pull request #107439 from brianpursley/kubectl-1157-2
Fix kubectl bug where bash completions don't work if --context flag is specified with a value that contains a colon
2022-01-18 12:02:10 -08:00
JD Nurme
6d2dd9952b updated name to address han's comments 2022-01-18 19:33:41 +00:00
Kubernetes Prow Robot
dc06c3faf3 Merge pull request #107316 from MikeSpreitzer/fix-apf-feature-alpha
Explain rollout of API Priority and Fairness in kube_features.go
2022-01-18 10:19:10 -08:00
Kubernetes Prow Robot
24b0c3ce13 Merge pull request #107603 from jayesh-srivastava/IANA-links
Updated Links to IANA for Service Name and Transport Protocol Port Number Registry
2022-01-18 07:11:21 -08:00
Ismayil Mirzali
75c0987de3 client-go: refactor: Fix styling issues (#107248)
* client-go: Remove unreachable return

Due to the way the switch statement is done,
the return at the end of the function will neverbe reached.

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

* client-go: Refactor for clarity

Fixed one instance where the error message should be lowercase.
Made the fields in the struct literal more explicit

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-01-18 02:03:08 -08:00
Nabarun Pal
77816bd9b1 [go] update to Go 1.17.6
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-01-18 14:35:24 +05:30