guoguangwu
bdfb96c57d
chore: os.SEEK_END os.SEEK_SET and use b.Logf(...) instead of b.Log(fmt.Sprintf(...))
2023-06-06 15:23:19 +08:00
Paco Xu
7a80d7c839
add warning for duplicate containers[*].ports with the same port, protocol, hostPort, and hostIP
2023-06-06 14:52:48 +08:00
Kubernetes Prow Robot
16cbdef00a
Merge pull request #118330 from MadhavJivrajani/test-watch-from-zero
...
storage: Implement TestWatchFromZero for cacher
2023-06-05 23:41:00 -07:00
guoguangwu
923db7bd8e
chore: use strings.Contains instead
2023-06-06 14:29:20 +08:00
Dr. Stefan Schimanski
e9e4acb1dd
k8s.io/apiserver: remove skewed completion from EtcdOptions
2023-06-06 08:32:34 +03:00
Madhav Jivrajani
4d85a1f00c
storage: Implement TestWatchFromZero for cacher
...
There exists a storage test to test for rv=0 and production
of ADDED events. This commit adapts the test to be used for
the watch cache as well.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2023-06-06 10:53:04 +05:30
Kubernetes Prow Robot
587f0a2210
Merge pull request #118467 from yuanchen8911/naming
...
Rename scheduler queue variables for consistency
2023-06-05 22:20:59 -07:00
Chris Bandy
2e76ac31fd
Replace os.Setenv with testing.T.Setenv in tests
...
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-06-05 21:08:56 -05:00
Chris Bandy
ac5ce5cbce
Replace os.Setenv with testing.T.Setenv in tests
...
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-06-05 21:03:21 -05:00
Riaan Kleinhans
b274a9bf7c
remove csidriver endpoints from pending_eligible_endpoints.yaml
2023-06-06 11:22:41 +12:00
Stephen Heywood
5d4bf0b6f9
Promote CSIDriver e2e test to Conformance
2023-06-06 10:28:39 +12:00
Kubernetes Prow Robot
c07c739f04
Merge pull request #118282 from wojtek-t/retry_after_followup
...
Follow up from dynamic retryAfter
2023-06-05 15:03:06 -07:00
Eric Lin
3085b57869
Do not copy bytes for cached serializations
...
Since cachingObject has the encoded data cached and they are not
supposed to change. It's memory efficient to just copy the slice
references.
Signed-off-by: Eric Lin <exlin@google.com >
2023-06-05 18:03:48 +00:00
Humble Chirammal
c009667c6c
deprecate CephFS plugin from available in-tree drivers.
...
https://groups.google.com/a/kubernetes.io/g/dev/c/g8rwL-qnQhk
based on above, the consensus was to start the deprecation in v1.28.
This commit start the deprecation process of CephFS plugin from
in-tree drivers.
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-06-05 23:26:43 +05:30
Kubernetes Prow Robot
2901730626
Merge pull request #118451 from jingxu97/june/podonly
...
Add mininumKubelet tag into ReadWriteOncePod test
2023-06-05 10:51:27 -07:00
TommyStarK
1fcfd1d509
pkg/util/iptables: use buf.String() instead of string(buf.Bytes())
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-06-05 19:47:47 +02:00
Yuan Chen
9eaa50cc82
Rename scheduler queue variables for consistency
2023-06-05 09:02:06 -07:00
Kubernetes Prow Robot
bba9833c39
Merge pull request #118404 from pohly/verify-failures
...
better JUnit failure messages for golangci-lint and verify in general
2023-06-05 08:31:26 -07:00
guoguangwu
1d9eed9f95
chore: slice replace loop
2023-06-05 22:40:53 +08:00
Kubernetes Prow Robot
34abd36e88
Merge pull request #118443 from TommyStarK/kubectl-clean-code-bytes-buffer
...
kubectl: use bytes.Buffer.String
2023-06-05 07:31:38 -07:00
Kubernetes Prow Robot
43dd3cce73
Merge pull request #118413 from mimowo/fix-backoff-delay-computation
...
Adjust the algorithm for computing the pod finish time
2023-06-05 07:31:26 -07:00
jay vyas
6195f96e56
minor fix comments in netpol so its easy to understand the tests for newcomers, remove one misleading comment ( #118264 )
...
* Fix comments in the netpol tests for new contributors to understand them better
* typo
2023-06-05 05:31:25 -07:00
Kubernetes Prow Robot
72a3990728
Merge pull request #118442 from SataQiu/clean-scheduler-20230604
...
Scheduler: fix code style issues for pkg/scheduler
2023-06-05 04:13:25 -07:00
SataQiu
410b6023d6
scheduler: fix code style issues for pkg/scheduler
2023-06-05 17:29:49 +08:00
Michal Wozniak
71ab7dc791
Remarks
2023-06-05 10:48:32 +02:00
Michal Wozniak
70d3bb43e5
Adjust the algorithm for computing the pod finish time
...
Change-Id: Ic282a57169cab8dc498574f08b081914218a1039
2023-06-05 10:06:56 +02:00
jinxu
b994e639a6
Add mininumKubelet tag into ReadWriteOncePod test
...
ReadWriteOncePod feature needs min requirement of 1.27 kubelet, add the
tag to skip test if kubelet version is smaller than 1.27
Change-Id: I27959156db90f2477cead6dfc16f42dbc54663bc
2023-06-04 23:10:10 -07:00
Sascha Grunert
db9fcfeed2
Move cri/streaming to k8s.io/kubelet staging repository
...
Container runtimes like CRI-O and containerd reuse the code by copying
it from Kubernetes. To have a single source of truth for the streaming
server we now move the already isolated implementation to the
k8s.io/kubelet staging repository. This way runtimes can re-use the code
without copying the parts.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2023-06-05 08:08:18 +02:00
TommyStarK
da4a8d831b
kubectl: use bytes.Buffer.String
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-06-04 15:45:24 +02:00
cyclinder
8e4228a8c1
remove CSI-migration gate
2023-06-04 18:40:17 +08:00
Kubernetes Prow Robot
eca1f9d2d5
Merge pull request #118433 from testwill/ipvs
...
chore: should use buf.String() instead of string(buf.Bytes())
2023-06-04 02:54:41 -07:00
minherz
a5c4fbe979
chore(fix): test jsonpath condition parsing errors
...
Test parsing logic for invalid JSONPath condition formats,
excluding JSON path expression parsing.
Fix error in parsing logic
2023-06-03 21:40:16 -07:00
minherz
9d3e55ec43
Support JSONPath condition without value
...
Extend current JSONPath condition logic to return from wait on "any" value.
Change parsing JSONPath input to support the syntax without value.
Match any simple or complex (object or array) values.
2023-06-03 19:39:42 -07:00
Gunju Kim
f520f6fd06
Add Pod Termination e2e tests to test termination grace period seconds
2023-06-04 01:12:02 +08:00
HirazawaUi
b4dfae25de
fix terminationGracePeriod blocked by preStop
2023-06-04 01:04:13 +08:00
Kubernetes Prow Robot
bb87860868
Merge pull request #118356 from ritazh/ec-admission
...
Add ephemeralcontainer to imagepolicy securityaccount admission plugin
2023-06-03 05:30:41 -07:00
guoguangwu
fd92acba5a
chore: should use buf.String() instead of string(buf.Bytes())
2023-06-03 13:48:15 +08:00
guoguangwu
9378e580cf
chore: loop optimization
2023-06-03 13:39:50 +08:00
guoguangwu
c2049c7961
chore: loop optimization
2023-06-03 13:31:18 +08:00
Kubernetes Prow Robot
039ae1edf5
Merge pull request #118414 from thockin/remove_codegen_debug
...
Fix errant debugging code in codegen
2023-06-02 13:58:41 -07:00
Antoine Pelisse
20866b3f85
dryrun: Don't reuse current object for conversion
...
dry-run and non-dry-run are currently a little different since dry-run
was using the destination object to get the current status. That causes
a weird duplication bug with the HorizontalPodAutoscaler conversion
code. Addresses the bug by using an empty object for the current state
and keep the destination for its actual "out" purpose.
2023-06-02 13:40:48 -07:00
Dr. Stefan Schimanski
f351c6d1ec
k8s.io/apiserver: apply storage object count tracker implicitly
2023-06-02 20:24:06 +02:00
Tim Hockin
45c9e06616
Fix errant debugging code in codegen
2023-06-02 10:09:51 -07:00
Kubernetes Prow Robot
bd0ac4cba3
Merge pull request #118384 from Jefftree/gnostic-models-branch
...
Update gnostic library to point to gnostic-models
2023-06-02 10:06:53 -07:00
SataQiu
a51be9786b
remove enabled by default beta resources that have been removed
2023-06-03 00:06:50 +08:00
Patrick Ohly
f4d326a1fc
verify: produce JUnit file also for pull-kubernetes-verify-strict-lint
...
Because this doesn't get invoked through verify.sh, we have to call
logJu ourselves to get a JUnit file. errexit must not be set when
calling logJu, otherwise it does no post-processing.
2023-06-02 17:38:14 +02:00
Kensei Nakada
a4ea058cc7
feature(scheduler_perf): distinguish result in scheduler_scheduling_attempt_duration_seconds metric result
2023-06-02 14:45:55 +00:00
Jefftree
322968e9b3
Update unwanted dependencies per CI instructions
2023-06-02 14:34:26 +00:00
Jefftree
2111e79f56
Update gnostic references
2023-06-02 14:34:26 +00:00
Jefftree
1993a4cb37
vendor
2023-06-02 14:34:25 +00:00