Nilekh Chaudhari
78ffa882be
chore: updates api doc
...
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com >
2023-10-12 16:56:39 +00:00
Kevin Hannon
c94240e2e2
move kubelet constant for podreadytostart to staging
2023-10-12 11:18:11 -04:00
cpanato
1d30a01186
Update publishing-bot rules for active release branches that uses go1.20 to Go 1.20.10
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2023-10-12 16:12:54 +02:00
Hao Ruan
f53ff68edd
Generated files
2023-10-12 15:07:45 +08:00
Hao Ruan
531324cb1d
allow FSGroupPolicy and PodInfoOnMount to be mutable in CSIDriver.Spec
2023-10-12 15:01:37 +08:00
Kubernetes Prow Robot
a2cc9db02f
Merge pull request #119665 from vinaykul/getpodqos-optimization
...
Perf optimization: GetPodQOS() returns persisted value of PodStatus.QOSClass, if set.
2023-10-12 06:48:26 +02:00
Kubernetes Prow Robot
f9d987c7c8
Merge pull request #121106 from aojea/ipaddress_uid
...
Remove Ipaddress uid
2023-10-12 03:26:45 +02:00
Kubernetes Prow Robot
b47aa1c20e
Merge pull request #120808 from aroradaman/proxy-conntrack-udp-timeouts
...
Adding option to configure UDP timeouts for conntrack
2023-10-12 01:59:55 +02:00
Kubernetes Prow Robot
9cf1910b38
Merge pull request #121116 from alexanderConstantinescu/reintroduce-ready-predicate-foretp-local
...
KCCM: fix GCP ILB by reintroducing readiness predicate for eTP:Local
2023-10-12 00:51:19 +02:00
Alexander Zielenski
0149c1f8b3
test: few more correlatedobject test cases
2023-10-11 15:45:48 -07:00
Alexander Zielenski
ba9347230e
test: add correlatedobject test cases
2023-10-11 15:27:26 -07:00
Daman Arora
15ae6cc160
pkg/proxy: add flag to configure udp conntrack timeouts
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2023-10-12 03:08:21 +05:30
Alexander Zielenski
c08a9321ee
cleanup: add header and fix spelling
2023-10-11 14:31:23 -07:00
Alexander Zielenski
27cb869e55
refactor: move correlatedObject to its own file
...
no changes except package naming
2023-10-11 14:31:23 -07:00
Alexander Zielenski
b321e8bf0d
refactor: make CachedDeepEqual independent of validation
...
before it required running validation first, now it builds the tree as needed
2023-10-11 14:30:22 -07:00
Kubernetes Prow Robot
07029999f9
Merge pull request #120666 from b8kings0ga/feature/fix-comment-correction
...
AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default value comment fix
2023-10-11 22:51:49 +02:00
Siyuan Zhang
baac8bb573
k8s.io/apiserver/storage: add some ResourceVersion validation in GetList unit tests
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2023-10-11 10:46:30 -07:00
Siyuan Zhang
ebca5d438d
k8s.io/apiserver/storage/etcd: refactor getCurrentState.
...
Extract getCurrentState as a separate method that can be reused.
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2023-10-11 09:56:07 -07:00
Jefftree
555c1b8091
bump kube-openapi
2023-10-11 11:12:47 -04:00
cpanato
5eb7fea383
[go] Bump images, dependencies and versions to go 1.21.3
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2023-10-11 17:08:26 +02:00
Arda Güçlü
a504aed54d
Add shortname ambiguity warning in shortcut expander ( #117668 )
...
* Add warning handler callback function in shortcut expander
Currently, errors in client-go are propagated back to the callers via
function returns. However, there is no elegant way for just warning users.
For example, when user wants to get a resource with it's short name format
and if there are multiple resources belonging to this short name, we need to
warn user about this ambugity which one is picked and which ones are discarded.
Not only to overcome this particular case mentioned above, but also propose a
way for the possible warnings in the future, this commit adds a warningHandler
callback function in shortcutExpander.
* Add warningPrinter functionality in ConfigFlags
ConfigFlags has neither warning user in a standardized
format functionality nor passing warning callback functions to other upper level
libraries such as client-go.
This commit adds an ability that user can set warningPrinters
according to their IOStreams and this warningPrinters will be used
to raise possible warnings happening not only in cli-runtime but
also in client-go.
* Pass warning callback function in ConfigFlags to shortcutExpander
This commit passes warning callback function to print possible
warnings happened in shortcut expander to warn user in a
standardized format.
* Add integration test for CRDs having ambiguous short names
This commit adds integration test to assure that warning message
related to this ambiguity is printed when resources are being retrieved via their short name
representations in cases where multiple resources have same
short names.
This integration test also ensures that the logic behind which resource
will be selected hasn't been changed which may cause disperancies in
clusters.
* Remove defaultConfigFlag global variable
* Move default config flags initialization into function
* Skip warning for versions of same group/resource
* Run update-vendor
* Warn only once when there are multiple versions registered for ambiguous resource
* Apply gocritic review
* Add multi-resource multi-version ambiguity unit test
2023-10-11 17:04:11 +02:00
Kubernetes Prow Robot
eafebcc9e3
Merge pull request #121111 from dashpole/update_otel_deps
...
Update OpenTelemetry Dependencies
2023-10-11 05:55:02 +02:00
Kubernetes Prow Robot
88f962c95a
Merge pull request #120147 from msau42/mount-logs
...
Move mount warnings to info logs for normal expected paths
2023-10-11 04:42:40 +02:00
cyclinder
b42b3f740a
Pod Security admission allows net.ipv4.tcp_keepalive_time in v1.29+
2023-10-11 10:24:19 +08:00
Alexander Zielenski
438c0daab7
add rest of accessors to common.Schema
...
needed for declarative validation, CRD ratcheting
2023-10-10 14:26:55 -07:00
kiashok
5de835d5d8
Add runtime handler field to ImageSpec
...
Will be used by changes for image pull per runtime class in KEP 4216
Signed-off-by: kiashok <kiashok@microsoft.com >
2023-10-10 12:33:27 -07:00
David Ashpole
80269d5d34
fix missing http.target trace attribute
2023-10-10 19:16:18 +00:00
John Howard
dc334b953d
dependencies: update otel-go dependencies
2023-10-10 19:16:07 +00:00
Alexander Zielenski
e76aad1813
refactor: use common.Schema in CorrelatedObject
...
for reuseability with CEL structural schema impl
2023-10-10 10:48:44 -07:00
Alexander Zielenski
83a1dbf885
refactor: export correlated fields
2023-10-10 10:48:43 -07:00
Alexander Zielenski
e73f3c8cdb
refactor: add methods for Key and Index on CorrelatedObject
...
going to be used from CEL validator too
2023-10-10 10:48:21 -07:00
Madhav Jivrajani
fc7c951d5a
.: bump golang.org/x/net to v0.17.0
...
Bumping golang.org/x/net in light of CVE-2023-39325 and CVE-2023-44487.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2023-10-10 23:07:19 +05:30
Alexander Constantinescu
2032b74254
KCCM: fix GCP ILB by reintroducing readiness predicate for eTP:Local
2023-10-10 19:09:44 +02:00
Alexander Zielenski
471e3ab828
refactor: factor out object correlation
...
so it is reusable by CEL validators
2023-10-10 10:07:33 -07:00
Alexander Zielenski
30cf9ed567
refactor: directly implement ValueValidator
...
inlineValidator unnecessary, since we already have access to the `new` object
2023-10-10 10:00:31 -07:00
Alexander Zielenski
4fb5f1a611
refactor: remove unnecessary lambda (noop)
2023-10-10 09:48:28 -07:00
Kubernetes Prow Robot
a6b8954de1
Merge pull request #120868 from pohly/dra-helper-name-lookup
...
k8s.io/dynamic-resource-allocation: fix compatibility with Kubernetes 1.27
2023-10-10 17:59:50 +02:00
Kubernetes Prow Robot
755644a169
Merge pull request #121082 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.13.0, gomega v1.28.0
2023-10-10 15:50:41 +02:00
Kubernetes Prow Robot
38c6bd810f
Merge pull request #120871 from pohly/dra-unsuitable-nodes-selected-node
...
k8s.io/dynamic-resource-allocation: fix potential scheduling deadlock
2023-10-10 14:44:46 +02:00
Antonio Ojea
e9957d79aa
make update
...
Change-Id: I61be34cff942264acb2f45fe7e1c8538f807cb4e
2023-10-10 11:03:19 +00:00
Antonio Ojea
0eacff0baf
compatibility (adapt testdata)
...
Change-Id: I6ea0dfed5df7864ff7f1a1ca10daa9126901881c
2023-10-10 11:03:19 +00:00
Antonio Ojea
b7ee8e8422
drop UID from the IPAddress.Spec.ParentRef
...
This field is not needed, IPAddresses are unique and
the name is canonicalized to avoid duplicates.
Change-Id: Iccaaf5d55e2af61fea7af9abd39584a80ed4054e
2023-10-10 11:03:19 +00:00
j4ckstraw
47b1002bab
fallback to origin IsLikelyNotMountPoint to avoid regression
...
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
fix compile error
2023-10-10 13:03:48 +08:00
j4ckstraw
81ef146e2f
feat: support statx STATX_ATTR_MOUNT_ROOT attribute
...
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
fix: not use glibc
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
fix linter error
2023-10-10 13:03:48 +08:00
j4ckstraw
dbb6927ec2
Replace stat syscall with statx
...
statx with AT_STATX_DONT_SYNC will not stuck kubelet syncLoop.
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
fix remove useless comment
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
2023-10-10 13:03:47 +08:00
Kubernetes Prow Robot
46860a27cc
Merge pull request #119443 from SataQiu/fix-kubectl-20230719
...
kubectl: ensure '--duration' must be positive for 'kubectl create token' command
2023-10-09 21:44:12 +02:00
Kubernetes Prow Robot
2b5d2cf910
Merge pull request #120338 from pohly/dra-helper-unsuitablenodes-fix
...
dra helper: skip allocated claims during UnsuitableNodes calculation
2023-10-09 20:32:58 +02:00
Jiahui Feng
302d350e88
set maxLength to longest enum.
2023-10-09 11:00:45 -07:00
Patrick Ohly
79355caa56
dependencies: ginkgo v2.13.0, gomega v1.28.0
...
Besides simply staying up-to-date, ginkgo v2.13.0 adds a `PreviewSpecs` which
will be used for introspection of the E2E test suites.
2023-10-09 19:27:06 +02:00
Abu Kashem
52c58d970e
fix data race in apf unit test
2023-10-09 11:07:21 -04:00