Richard Kovacs
be4b3c5abd
Use proper mktmp command in local-up-cluster.sh
2023-01-18 10:58:41 +01:00
Aditi Sharma
d83c37c311
Update CNI version to 1.2.0
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2023-01-18 13:24:40 +05:30
Kubernetes Prow Robot
46f3821bf4
Merge pull request #114586 from andrewsykim/apiserver-lease-rename
...
Rename apiserver identity lease labels to apiserver.kubernetes.io/identity
2023-01-17 21:36:34 -08:00
Kubernetes Prow Robot
106332252b
Merge pull request #115129 from liggitt/gotools-1.20
...
bump honnef.co/go/tools to support go1.20
2023-01-17 20:28:33 -08:00
Hao Ruan
2adb95c376
Add linter to check if api docs match field tag names
2023-01-18 10:49:12 +08:00
Sean Sullivan
84b226409a
Refactor validation files into openapi/validation
2023-01-17 18:02:41 -08:00
Alexander Zielenski
ecd267d097
fix bug with param controllers being removed if used by more than one policy
2023-01-17 16:26:18 -08:00
Kubernetes Prow Robot
84200d0470
Merge pull request #115135 from Jefftree/rename-enum-integration
...
Rename enum openapi test
2023-01-17 16:06:47 -08:00
Kubernetes Prow Robot
20c17da142
Merge pull request #114446 from lengrongfu/feat/clean_up
...
clean up master-service-namespace
2023-01-17 16:06:35 -08:00
Kubernetes Prow Robot
7e0923899f
Merge pull request #114527 from alexzielenski/apiserver/policy/lockfree-refactor
...
refactor policy admission Validator to be lock free
2023-01-17 12:48:33 -08:00
Kubernetes Prow Robot
5e9fc39d17
Merge pull request #114878 from Nordix/ipvs-allow-any-sheduler
...
Ipvs: remove the scheduler validation
2023-01-17 11:18:46 -08:00
Kubernetes Prow Robot
c913e6ce62
Merge pull request #114542 from pacoxu/EphemeralContainers
...
cleanup: EphemeralContainers feature gate related codes
2023-01-17 11:18:34 -08:00
Kubernetes Prow Robot
b01afdca66
Merge pull request #115116 from smarterclayton/hide_wait
...
wait: Make WaitFor and WaitForWithContext private
2023-01-17 10:10:45 -08:00
Kubernetes Prow Robot
f7b02260f6
Merge pull request #114922 from ibihim/kmsv2-interface-move
...
[KMSv2] apiserver/kmsv2: mv Service interface into kmsv2
2023-01-17 10:10:33 -08:00
Swati Sehgal
172c55d310
node: topologymgr: add metrics about admission requests and errors
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-01-17 17:50:29 +00:00
Jefftree
a26174155d
Rename enum integration test
2023-01-17 17:22:24 +00:00
Jordan Liggitt
7a41b950cc
Fix shadowing lint error
2023-01-17 12:09:24 -05:00
Patrick Ohly
8251a63269
k8s.io/component-base/logs: unit test for command line help output
...
Both pflag and standard FlagSet are covered.
2023-01-17 17:32:50 +01:00
Kubernetes Prow Robot
5550064bc2
Merge pull request #115063 from kannon92/tracking-remove-comments
...
tracking with finalizers is the default way for the job controller so comments are not needed that say we are tracking with finalizers
2023-01-17 07:56:44 -08:00
Kubernetes Prow Robot
727b5a4b47
Merge pull request #114231 from helio/fix-windows-cpu-maximum
...
win: fix cpu count to calculate cpu_maximum
2023-01-17 07:56:33 -08:00
Jordan Liggitt
121088cb2a
bump honnef.co/go/tools to support go1.20
2023-01-17 10:42:55 -05:00
Kubernetes Prow Robot
7f8be71148
Merge pull request #115127 from soltysh/fix_logs
...
Wait for logs pod to complete before counting lines
2023-01-17 05:44:33 -08:00
Clayton Coleman
1dfe2225ac
wait: Make WaitFor and WaitForContext private
...
These methods are unused within the Kubernetes codebase and will be
replaced with a more general method that unifies Wait, Poll*, and
ExponentialBackoff within this package. A zero duration interval
passed to any of the other methods will provide equivalent function.
2023-01-17 08:39:15 -05:00
Maciej Szulik
3d3da44e96
Wait for logs pod to complete before counting lines
2023-01-17 13:39:35 +01:00
Kubernetes Prow Robot
3154010eec
Merge pull request #115117 from pacoxu/cleanup-kubectl-e2e
...
cleanup(kubectl-e2e): remove invalid comments
2023-01-17 02:54:44 -08:00
Kubernetes Prow Robot
1b95370225
Merge pull request #114886 from a7i/kubectl-hpa-v2
...
kubectl: use autoscaling v2 for hpa
2023-01-17 02:54:33 -08:00
Jan Safranek
b9c2449569
Rework createSELinuxMountPreHook to switch()
2023-01-17 11:23:19 +01:00
Jan Safranek
d2bb866d3f
Remove useless Sprintf
2023-01-17 11:22:39 +01:00
Jan Safranek
de4ce7b58c
Remove defer
...
Replace it with ginkgo.DeferCleanup
2023-01-17 11:22:12 +01:00
Kubernetes Prow Robot
7649afeffc
Merge pull request #114721 from jjjungkim/fix-typo
...
fix typo
2023-01-17 01:44:33 -08:00
Patrick Ohly
a41424d4c8
k8s.io/component-base/logs: allow overriding os.Stdout and os.Stderr
...
This is useful for tests which need to discard or capture the output.
2023-01-17 10:25:57 +01:00
Patrick Ohly
9b86f457e9
k8s.io/component-base/logs: support changing verbosity of JSON output
...
The GlogSetter method is used by three components to change verbosity at
runtime through HTTP APIs. This used to work only for text output with klog
calls, but not for text output through the klog logger or for JSON output.
Now loggers can also provide a callback for changing their verbosity at
runtime. Implementing that implies that the Create factory method has to be
extended, which is an API break for the Go package, but not an API break for
the configuration file and command line flags, which is what matters for the
"api/v1" component API.
2023-01-17 10:25:54 +01:00
Patrick Ohly
8881b71822
k8s.io/component-base/logs/json: fix package name
...
Having the sub-package using the same name as the parent package makes no
sense. This seems to be a cut-and-paste error.
2023-01-17 10:20:59 +01:00
Krzysztof Ostrowski
b7701b00ea
apiserver/kmsv2: mv Service interface into kmsv2
...
Signed-off-by: Krzysztof Ostrowski <kostrows@redhat.com>
2023-01-17 10:05:16 +01:00
Sascha Grunert
e89547d308
Check for all errors in CRI connection validation
...
We only have one CRI API (v1) to validate during the initial connection
of the kubelet with the container runtime. Therefore we can now verify
all kind of GRPC related issues.
Fixes: https://github.com/kubernetes/kubernetes/issues/114956
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-01-17 09:24:31 +01:00
Kubernetes Prow Robot
f16e62ae0c
Merge pull request #114897 from kidddddddddddddddddddddd/volumebinding
...
feature(volumebinding): return Skip in PreFilter
2023-01-16 23:38:32 -08:00
Paco Xu
ae574993c2
cleanup(kubectl-e2e): remove invalid comments
2023-01-17 10:13:21 +08:00
Kubernetes Prow Robot
7b7b15b821
Merge pull request #115110 from HirazawaUi/delte-pkg-unused-functions
...
delete unused functions in pkg directory
2023-01-16 18:06:43 -08:00
Kubernetes Prow Robot
3d9b437df2
Merge pull request #115109 from HirazawaUi/delte-pkg-volume-unused-functions
...
delete unused functions in pkg/volume directory
2023-01-16 18:06:31 -08:00
Kubernetes Prow Robot
977465e310
Merge pull request #115103 from HirazawaUi/delte-pkg-util-unused-functions
...
delete unused functions in pkg/util directory
2023-01-16 16:58:10 -08:00
Clayton Coleman
34bfdc3635
wait: ExponentialBackoffWithContext should take context-aware fn
...
The condition methods will eventually all take a context. Since we
have been provided one, alter the accepted condition type and
change the four references in tree.
Collers of ExponentialBackoffWithContext should use a condition
aware function (ConditionWithContextFunc). If the context can be
ignored the helper ConditionFunc.WithContext can be used to convert
an existing function to the new type.
2023-01-16 14:57:57 -05:00
Kubernetes Prow Robot
7b01daba71
Merge pull request #115074 from yangjunmyfm192085/deleteklogv0-controller
...
use klog instead of klog.V(0)--controller manager part
2023-01-16 09:58:50 -08:00
Kubernetes Prow Robot
62d7937b2e
Merge pull request #115046 from pacoxu/default-container-e2e
...
add e2e test for kubectl default container annotation
2023-01-16 08:42:50 -08:00
HirazawaUi
3b18e80fb4
delete unused functions in pkg directory
2023-01-16 21:43:36 +08:00
Paco Xu
b45f0a8def
move kubectl log e2e to new file & add e2e test for kubectl default container annotation
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-01-16 21:29:43 +08:00
HirazawaUi
79b799a0f3
delete unused functions in pkg/volume directory
2023-01-16 21:19:11 +08:00
HirazawaUi
a8173eded3
delete unused functions in pkg/kubelet directory
2023-01-16 20:00:49 +08:00
Kubernetes Prow Robot
ed8cad1e80
Merge pull request #115056 from mimowo/podgc-do-not-add-condition-for-terminated-pods
...
PodGC should not add DisruptionTarget condition for pods which are in terminal phase
2023-01-16 03:04:50 -08:00
Tobias Giese
ea46c91868
kubeadm: promote member after the static pod manifest was written
...
Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
Co-authored-by: Christian Schlotter <christi.schlotter@gmail.com>
2023-01-16 11:11:58 +01:00
HirazawaUi
488b34eeb2
delete unused functions in pkg/util directory
2023-01-16 17:22:35 +08:00