Daniel Smith
1ffe3f467e
lavalamp is taking a long break
2023-05-11 16:43:38 +00:00
Kubernetes Prow Robot
a4f3ebf84b
Merge pull request #117932 from bart0sh/PR114-e2e-DRA-use-containerd-1.7
...
DRA: use containerd 1.7 in kind image
2023-05-11 08:59:13 -07:00
Kubernetes Prow Robot
64af2d93e5
Merge pull request #117295 from aojea/transport_cache_metrics
...
add new metric for the internal client-go cache size
2023-05-11 08:59:02 -07:00
Patrick Ohly
1ea17254bf
hack/tools: bump logcheck to v0.5.0
2023-05-11 16:54:26 +02:00
SataQiu
3fa55d469c
fix a bug where the AttachedVolume is not printed correctly in the log
2023-05-11 22:04:30 +08:00
Kubernetes Prow Robot
e1ad9bee5b
Merge pull request #117902 from TommyStarK/doc/e2e-dra
...
test/e2e/dra: update README
2023-05-11 04:15:18 -07:00
Maciej Szulik
8c82855467
When expecting pods count only active ones
2023-05-11 13:04:42 +02:00
Yuki Iwai
de882f5193
Job: Replace deprecated pointer utils with supported ones
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-05-11 19:29:14 +09:00
Ed Bartosh
8f11f5bb2b
DRA: use containerd 1.7 in kind image
...
As Containerd 1.6 doesn't support CDI we want to stay
closer to 1.7
Containerd 1.7 is going to be the first official
release with full CDI support.
2023-05-11 12:47:23 +03:00
Antonio Ojea
3f3e1d507d
add new metrics for the internal client-go transport generator
...
Add two new metrics to monitor the client-go logic that
generate http.Transports for the clients.
- rest_client_transport_cache_entries is a gauge metrics
with the number of existin entries in the internal cache
- rest_client_transport_create_calls_total is a counter
that increments each time a new transport is created, storing
the result of the operation needed to generate it: hit, miss
or uncacheable
Change-Id: I2d8bde25281153d8f8e8faa249385edde3c1cb39
2023-05-11 09:07:11 +00:00
Tobias Klauser
e7c679c362
cidrset, multicidrset: directly use getIndexForIP method
...
Instead of constructing a *net.IPnet whose .Mask field is never used,
call the getIndexForIP method of *CidrSet and *MultiCIDRSet directly.
2023-05-11 10:53:03 +02:00
Mengjiao Liu
fe728996ca
scheduler test: call frameworkruntime.WithLogger function for contextual logging
2023-05-11 15:46:08 +08:00
Mengjiao Liu
b456392567
Migrated pkg/scheduler/framework/runtime
to use contextual logging
2023-05-11 15:46:02 +08:00
Humble Chirammal
bfb4f8b707
etcd version monitor build go version update to 1.19.9
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-11 12:36:46 +05:30
Humble Chirammal
0ae902fca4
update golang version of etcd build to 1.19.9
...
As per https://github.com/etcd-io/etcd/blob/main/.go-version it is
1.19.9.
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-11 10:17:13 +05:30
Kubernetes Prow Robot
122a459dcb
Merge pull request #117616 from claudiubelu/fix-kubelet-util-windows-ut
...
unit tests: Fixes kubelet util unit tests for Windows
2023-05-10 19:51:09 -07:00
Kubernetes Prow Robot
006c0110aa
Merge pull request #117912 from bart0sh/PR113-fix-e2e-dra-kind-build-image.sh
...
DRA: fix image build on Mac
2023-05-10 16:23:13 -07:00
TommyStarK
3b634de6ff
test/e2e/dra: update README
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-05-10 23:29:10 +02:00
Kubernetes Prow Robot
afbedee925
Merge pull request #117796 from seans3/fallback-invalid-doc-fix
...
QueryParamVerifier falls back on invalid v3 document
2023-05-10 14:03:15 -07:00
Kubernetes Prow Robot
c2efaa7908
Merge pull request #116526 from pacoxu/cluster-autoscaler-upgrade
...
upgrade cluster-autoscaler v1.26.1 to fix ci warnings
2023-05-10 13:07:14 -07:00
Sean Sullivan
5fdeaa8e42
update for feedback
2023-05-10 19:13:54 +00:00
Kubernetes Prow Robot
4e12a5f60f
Merge pull request #117913 from daman1807/fix/curl-timeout
...
using --max-time instead of --connect-timeout for e2e/network/service tests.
2023-05-10 12:09:10 -07:00
Kubernetes Prow Robot
19aaf0c0e1
Merge pull request #117724 from dlipovetsky/kubeadm-remove-etcd-member-idempotent
...
kubeadm: Make etcd member removal idempotent
2023-05-10 12:08:59 -07:00
Sean Sullivan
6f23c77408
QueryParamVerifier falls back on invalid v3 document
2023-05-10 18:30:16 +00:00
Ed Bartosh
d5f4b9634c
DRA: fix image build on Mac
2023-05-10 21:14:36 +03:00
Kubernetes Prow Robot
5d524f3dc3
Merge pull request #117900 from skitt/ioutil-apimachinery-util
...
apimachinery/util: stop using deprecated io/ioutil
2023-05-10 10:59:10 -07:00
Kubernetes Prow Robot
8b33eaa0a7
Merge pull request #116207 from pohly/dra-scheduler-perf
...
scheduler_perf: dynamic resource allocation test cases
2023-05-10 10:58:59 -07:00
Daman Arora
569695b022
e2e/network: setting --max-time for curl
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-05-10 22:28:23 +05:30
Kubernetes Prow Robot
f319dab8d9
Merge pull request #117899 from thockin/codegen_purge_openapi_shell_indirection
...
Simpler openapi gen - subprojects do themselves
2023-05-10 09:35:07 -07:00
Kubernetes Prow Robot
7aea5a9b25
Merge pull request #117794 from utam0k/interpodaffinity-skip
...
Return Skip in InterPodAffinity#PreScore under specific conditions
2023-05-10 09:34:59 -07:00
Daniel Lipovetsky
5fd5768ef3
kubeadm: Make etcd member removal idempotent
...
If the etcd member is not found, then it has already been removed, and
kubeadm reset should immediately complete the 'remove-etcd-member'
phase. Previously, the phase would complete only once the
exponential-backoff retry expired, up to 3 minutes duration.
This commit also fixes a semantic error in etcd.GetMemberID. Previously,
the function returned 0 if no member was found, but 0 is not a valid
member ID.
2023-05-10 09:13:31 -07:00
Kubernetes Prow Robot
a55681ef86
Merge pull request #115950 from SataQiu/fix-kubelet-log-20230222
...
Fix a bug where the KubeletConfiguration is not printed correctly in the log
2023-05-10 08:30:59 -07:00
SataQiu
164113bc1c
fix a bug where the KubeletConfiguration is not printed correctly in the log
2023-05-10 22:29:37 +08:00
gxwilkerson33
a5575425b0
add no resources found message to rollout-status command ( #117884 )
...
* add no resources found message to rollout-status command
* return err if not nil before no resource message
2023-05-10 06:02:58 -07:00
utam0k
c0611b6bb3
Return Skip in InterPodAffinity#PreScore under specific conditions
...
This commit updates the InterPodAffinity PreScore to return a Skip status when the following conditions are met:
1. There are no nodes to score.
2. The incoming pod has no inter-pod affinities && the `IgnorePreferredTermsOfExistingPods` option is enabled.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-10 13:02:23 +00:00
Claudiu Belu
11f1d24165
unit tests: Fixes kubelet util unit tests for Windows
...
The unit tests are currently failing due to missing imports. This commit
addresses this issue.
Additionally, TestIsUnixDomainSocket expects an error to be raised by
IsUnixDomainSocket if the file does not exist, but on Windows we do not
raise such error.
This issue is addressed by Stat-ing the file, and checking
if the file exists or not. We're also handling the case in which the given
filePath is a named pipe, returning false immediately, instead of trying to
dial it as a Unix domain socket.
2023-05-10 11:25:49 +00:00
Kubernetes Prow Robot
626b2db1ca
Merge pull request #117335 from kkkkun/update-etcd-3.5.8
...
etcd: Update version to 3.5.8
2023-05-10 03:38:59 -07:00
guiyong.ou
3a394bbead
fix:translations zh_CN LC_MESSAGES k8s.po error
...
Signed-off-by: guiyong.ou <guiyong.ou@daocloud.io>
2023-05-10 18:13:28 +08:00
Arda Güçlü
4634073d0b
Use getter function for plugin subcommand resolution
...
Plugin subcommand resolution is relatively less used than the
builtin subcommands. That's why, instead always initializing a
hash map on memory, it would be better to use a getter function only
serves as needed.
In addition to that this function will be exported that external
libraries can use it.
2023-05-10 10:41:43 +03:00
Stephen Kitt
2c03afac4c
apimachinery/util: stop using deprecated io/ioutil
...
This replaces deprecated ioutil functions as follows:
* ioutil.NopCloser -> io.NopCloser
* ioutil.ReadAll -> io.ReadAll
* ioutil.ReadFile -> os.ReadFile
* ioutil.TempFile -> os.CreateTemp
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-10 09:29:34 +02:00
Kubernetes Prow Robot
af1bf43067
Merge pull request #117872 from danwinship/kep-3453-to-ga
...
MinimizeIPTablesRestore to GA
2023-05-10 00:19:11 -07:00
Kubernetes Prow Robot
65c13c5c21
Merge pull request #117836 from ruquanzhao/addPodUID
...
Passing podUID in AddReference and DeleteReference
2023-05-10 00:18:59 -07:00
Kubernetes Prow Robot
21afcd453a
Merge pull request #117696 from thockin/hostnet_hostport_default_pod_not_podspec
...
Do hostNet Pod-ports -> hostPorts in Pod defaults
2023-05-09 22:53:00 -07:00
Tim Hockin
6607834207
Use the same report files as before
2023-05-09 19:33:21 -07:00
RuquanZhao
9150e6b55a
s/of referencedFrom/from referenceFrom/
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-05-10 10:22:52 +08:00
Kubernetes Prow Robot
cd648c9c7d
Merge pull request #117114 from pohly/test-integration-race-detection-logs-registry
...
component-base: avoid data race in log format registry
2023-05-09 18:50:58 -07:00
Tim Hockin
4bbf611773
Retool validation for pod HostNetwork ports
...
This will ensure that HostPort == ContainerPort for pods and that
HostPort == 0 || HostPort == ContainerPort for embedded PodSpecs.
2023-05-09 18:10:44 -07:00
Tim Hockin
ec3379a717
Do hostNet Pod-ports -> hostPorts in Pod defaults
...
Rather than doing it in PodSpec defaulting, which triggers in
Deployments and DaemonSets, do it only when a Pod is actually in play.
2023-05-09 18:10:20 -07:00
Tim Hockin
ef796dca9b
Simpler openapi gen - subprojects do themselves
...
This involves moving the report files, but it allows me to delete the
indirect variable and indirect array code in update-codgen. As proud as
I was of figuring that out, I am also ashamed of myself for doing it.
This is my atonement.
2023-05-09 16:24:18 -07:00
Tim Hockin
93b2845bec
Codegen: subprojects openapi
...
Use the "subprojects" aspect of update-codegen to generat openapi for
the subprojects. Next we can simplify and remove the generic support.
apiextensions-apiserver seems like it was ALWAYS broken:
k8s.io/apiextensions/ doesn't exist, but k8s.io/apiextensions-apiserver
does.
Fixing that causes different openapi results, obviously.
2023-05-09 16:24:17 -07:00