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
Tim Hockin
4909dbd0d7
Deprecate generate*groups.sh -> kube_codegen.sh
2023-05-09 16:14:48 -07:00
Dan Winship
c3971002c9
MinimizeIPTablesRestore to GA
2023-05-09 18:19:00 -04:00
Kubernetes Prow Robot
4c45313c3f
Merge pull request #115704 from AkihiroSuda/cri-rprivate
...
cri-api: fix comment lines about PROPAGATION_PRIVATE
2023-05-09 13:31:54 -07:00
Kubernetes Prow Robot
44a93d0b9d
Merge pull request #117792 from dlipovetsky/kubeadm-etcd-client-refactor
...
kubeadm: Add etcd client unit tests
2023-05-09 11:02:20 -07:00
Kubernetes Prow Robot
7cdf67ebf8
Merge pull request #117262 from thockin/codegen_new_script_for_subprojects
...
Codegen: a new script for subprojects to use
2023-05-09 11:02:09 -07:00
Kubernetes Prow Robot
b277afdf46
Merge pull request #116506 from HirazawaUi/fix-events-field
...
generate ReportingInstance and ReportingController in Event
2023-05-09 11:01:57 -07:00
Kubernetes Prow Robot
c75ac4cb2e
Merge pull request #117885 from xmudrii/export-gomaxprocs
...
Export GOMAXPROCS environment variable
2023-05-09 09:36:08 -07:00
Kubernetes Prow Robot
a9b08f4cc2
Merge pull request #117642 from carlory/fix-001
...
remove ability to re-enable serving deprecated node.k8s.io/v1beta1 types
2023-05-09 09:35:56 -07:00
Kubernetes Prow Robot
d96993fc1c
Merge pull request #117688 from liggitt/dynamic-version
...
Allow override of prerelease/buildID portions of version at runtime
2023-05-09 07:35:58 -07:00
HirazawaUi
82e3fa0930
fix fd leaks and failed file removing for main pkg and cmd
2023-05-09 09:24:11 -05:00
HirazawaUi
5289a7b029
fix fd leaks and failed file removing for test directory
2023-05-09 09:22:31 -05:00
HirazawaUi
b94c6daa0b
fix fd leaks and failed file removing for pkg kubectl and pod-security-admission
2023-05-09 09:22:31 -05:00
HirazawaUi
982d2966cd
fix fd leaks and failed file removing for pkg controller-manager and apiserver
2023-05-09 09:22:31 -05:00
HirazawaUi
73aeed8766
fix fd leaks and failed file removing for pkg client-go
2023-05-09 09:22:30 -05:00
HirazawaUi
f49cc5eb11
add remove_file in client-go util directory
2023-05-09 09:22:30 -05:00
Marko Mudrinić
c8737346db
Export GOMAXPROCS environment variable
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-05-09 15:43:32 +02:00
Min Ni
e865b30abd
update serial number to a valid non-zero number in ca certificate ( #117791 )
...
* update serial number to a valid non-zero number in ca certificate
* fix the existing problem (0 SerialNumber in all certificate) as part of this PR in a separate commit
2023-05-09 06:34:08 -07:00
Kubernetes Prow Robot
9e9ec8f62c
Merge pull request #117539 from TommyStarK/fix-flaky/mount-utils-TestFormat
...
mount-utils: fix flaky test 'TestFormat'
2023-05-09 06:33:56 -07:00
Kubernetes Prow Robot
714221dbaa
Merge pull request #117879 from kkkkun/fix-make-etcd-image-failed
...
Fix make etcd image failed
2023-05-09 05:28:16 -07:00
RuquanZhao
308ab380d7
Add unit testcases of refMap.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-05-09 18:05:43 +08:00
Wojciech Tyczyński
23ac0fdaa5
APF: Dynamically compute retry-after based on history
2023-05-09 11:40:03 +02:00
Kubernetes Prow Robot
dee34b7076
Merge pull request #117858 from wojtek-t/debug_kubemark
...
Tweak annotating kubemark nodes on startup
2023-05-09 02:26:54 -07:00
Wojciech Tyczyński
99ebc8d9f8
Tweak annotating kubemark nodes on startup
2023-05-09 10:29:12 +02:00
kkkkun
aab02d52f4
Fix make etcd image failed
...
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-09 15:45:26 +08:00
Kubernetes Prow Robot
b248684334
Merge pull request #117741 from mowangdk/chore/clearify_testcases
...
Chore: clarify need update test cases
2023-05-09 00:18:52 -07:00
xuzhenglun
91570a3661
promote ServiceNodePortStaticSubrange to beta
2023-05-09 11:38:16 +08:00
Kubernetes Prow Robot
b32941f60d
Merge pull request #117861 from SataQiu/fix-20230508
...
kubeadm: fix a bug where file copy(backup) could not be executed correctly on Windows platform during upgrade
2023-05-08 20:06:52 -07:00
mowangdk
e79daae682
Chore: clearify need update test cases
2023-05-09 10:46:32 +08:00
Tim Hockin
fb4d0150b9
Convert apiextensions-apiserver to new codegen
2023-05-08 14:36:26 -07:00
Tim Hockin
29913a8973
Convert code-generator/examples to new codegen
2023-05-08 14:36:25 -07:00
Tim Hockin
643bf1b036
Convert kube-aggregator to new codegen
...
This caused some of the generated code to be sorted where it wasn't
before.
2023-05-08 14:36:24 -07:00