Reza Karimi
bb15f02039
issue#105861: making scheduler metrics stable
2021-11-03 15:34:50 +00:00
Kubernetes Prow Robot
16c86404dc
Merge pull request #105939 from NikhilSharmaWe/betterOutputFramework
...
Changed code to improve output for files under test/e2e/framework
2021-11-03 08:05:06 -07:00
Wojciech Tyczyński
b1d0fde370
P&F fix watch tracker bug
2021-11-03 15:02:51 +01:00
Kubernetes Prow Robot
5446b89857
Merge pull request #104470 from pacoxu/patch-4
...
Remove GAed feature gate CronJobControllerV2
2021-11-03 06:40:58 -07:00
Jan Safranek
f0bc04f169
Fix ephemeral test description
...
It looks like it tests two pods sharing the same volume, but the goal is
actually the opposite - two pods with the same inline volume definition
should get separate volumes.
2021-11-03 14:26:08 +01:00
Jordan Liggitt
2567165182
PodSecurity: trim path when building webhook binary
...
Change-Id: I76650e2fab2186671f0534109d04846134e7525d
2021-11-03 13:00:11 +00:00
Nikhil Sharma
2e1899244f
Changed code to improve output for files under test/e2e/framework
2021-11-03 17:29:05 +05:30
Patrick Ohly
25907036ea
kubelet: avoid deprecation remark for traditional logging flags
...
Just because the options can now also be set via a configuration file does not
mean that the command line flags should not be used anymore.
2021-11-03 12:02:48 +01:00
Patrick Ohly
4df70dfd41
component-base: initialize logging as soon as possible
...
In various places log messages where emitted as part of validation or even
before it (for example, cli.PrintFlags). Those log messages did not use the
final logging configuration, for example text output instead of JSON or not the
final verbosity. The last point became more obvious after moving the setup of
verbosity into logs.Options.Apply because PrintFlags never printed anything
anymore.
In order to force applications to deal with logging as soon as possible, the
Options.Validate and Options.Apply methods are now private. Applications should
use the new Options.ValidateAndApply directly after parsing.
2021-11-03 11:55:54 +01:00
Kubernetes Prow Robot
23df2b97f7
Merge pull request #105302 from ml-/fix-typos
...
fix multiple typos in go files
2021-11-03 03:20:58 -07:00
Patrick Ohly
3948cb8d1b
component-base: move v/vmodule/log-flush-frequency into LoggingConfiguration
...
These three options are the ones from logs.AddFlags which are not deprecated.
Therefore it makes sense to make them available also via the configuration file
support in the one command which currently supports that (kubelet).
Long-term, all commands should use LoggingConfiguration, either with a
configuration file (as in kubelet) or via flags (kube-scheduler,
kube-apiserver, kube-controller-manager).
Short-term, both approaches have to be supported. As the majority of the
commands only use logs.AddFlags, that function by default continues to register
the flags and only leaves that to Options.AddFlags when explicitly requested.
A drive-by bug fix is done for log flushing: the periodic flushing called
klog.Flush and therefore missed explicit flushing of the newer logr
backend. This bug was never present in any release Kubernetes and therefore the
fix is not submitted in a separate PR.
2021-11-03 07:41:46 +01:00
Kubernetes Prow Robot
9af2ece18a
Merge pull request #106089 from liggitt/podsecurity-beta
...
PodSecurity: promote config and feature gate to beta
2021-11-02 22:22:57 -07:00
Wei Huang
98b22db672
Add unit tests to cover scheduler's setup
2021-11-02 21:19:25 -07:00
Anago GCB
6de257e93f
Merge remote-tracking branch 'origin/master'
2021-11-03 04:09:28 +00:00
Kubernetes Prow Robot
aa0ea62489
Merge pull request #104903 from ikeeip/storageobjectinuseprotection_feature_ga_cleanup
...
Remove StorageObjectInUseProtection feature gate logic
2021-11-02 20:22:57 -07:00
Anago GCB
64a58a7893
CHANGELOG: Update directory for v1.23.0-alpha.4 release
2021-11-03 02:13:59 +00:00
Kubernetes Prow Robot
1dd781ddca
Merge pull request #106065 from pacoxu/etcd-3.5.1-image-build
...
update etcd makefile to using 3.5.1 for building
2021-11-02 19:01:17 -07:00
Kubernetes Prow Robot
53addf3ba3
Merge pull request #105858 from jyz0309/migrate-log
...
Migrated scheduler files binder.go binder_test.go to structured logging
2021-11-02 19:01:09 -07:00
Kubernetes Prow Robot
1f8084789e
Merge pull request #105508 from claudiubelu/tests/refactor-deployments
...
tests: Use E2E framework deployments
2021-11-02 19:00:57 -07:00
Kubernetes Prow Robot
70e7876bef
Merge pull request #106099 from BenTheElder/bazel-linger-no-more
...
cleanup lingering bazel related scripts/references
2021-11-02 18:00:27 -07:00
Kubernetes Prow Robot
e48cb8adb0
Merge pull request #106017 from tallclair/unit-test
...
[PodSecurity] Expand unit test coverage and fix error cases
2021-11-02 18:00:19 -07:00
Kubernetes Prow Robot
b489b03946
Merge pull request #105575 from endocrimes/dani/cleanup-launcher
...
Allow the e2e_node runner to receive a KubeletConfiguration rather than requiring flags
2021-11-02 18:00:10 -07:00
Kubernetes Prow Robot
c2c0f91385
Merge pull request #101004 from lojies/cleanupforkubectl
...
code cleanup for kubectl
2021-11-02 17:58:58 -07:00
Kubernetes Prow Robot
359b722c19
Merge pull request #102882 from fromanirh/device-manager-checkpoints
...
devicemanager: checkpoint: support pre-1.20 data
2021-11-02 16:56:57 -07:00
Kubernetes Prow Robot
41ab2ccfb0
Merge pull request #106100 from BenTheElder/cleanup-unused-test-bin
...
removed unused test/e2e_kubeadm/runner/local/run_local.go
2021-11-02 15:29:42 -07:00
Tim Allclair
81661d5a34
[PodSecurity] Add metrics test coverage
2021-11-02 14:56:43 -07:00
Tim Allclair
c3398729e0
[PodSecurity] Include error audit annotation on all non-forbidden errors
2021-11-02 14:56:43 -07:00
Tim Allclair
98c86b350c
[PodSecurity] Errors validating PodControllers are non blocking
2021-11-02 14:56:42 -07:00
Tim Allclair
e1c4e85b52
[PodSecurity] Add ValidatePod unit test
2021-11-02 14:56:40 -07:00
Kubernetes Prow Robot
47c63a39ed
Merge pull request #106097 from liggitt/feature/pod-security/unique-controller-pods-validation
...
Update pods validation based on uniqueness of controller
2021-11-02 14:28:13 -07:00
Wei Huang
e30f9648cc
sched: ensure feature gate is honored when instantiating scheduler ( #105915 )
...
* sched: ensure feature gate is honored when instantiating scheduler
* fixup: address comments
2021-11-02 14:28:06 -07:00
Kubernetes Prow Robot
5aacb15a19
Merge pull request #105913 from aholic/master
...
add condition pre-check for pod uid and pod resource version in bind api
2021-11-02 14:27:53 -07:00
Kubernetes Prow Robot
3fdeb490e0
Merge pull request #105510 from damemi/wire-contexts-bootstrap
...
Wire contexts to Bootstrap controllers
2021-11-02 14:27:42 -07:00
Jonathan Dobson
082cb15648
Move CSIVolumeFSGroupPolicy feature to GA
2021-11-02 15:22:33 -06:00
Stephen Heywood
38207e460c
Create e2e delete service collection test
...
The test validates the following endpoint
- deleteCoreV1CollectionNamespacedService
2021-11-03 10:17:23 +13:00
Konstantin Misyutin
808c8f42d5
Remove StorageObjectInUseProtection feature gate logic
...
This feature has graduated to GA in v1.11 and will always be
enabled. So no longe need to check if enabled.
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-11-03 00:13:50 +03:00
Kubernetes Prow Robot
12df580d23
Merge pull request #106095 from liggitt/wongearl-dev-1028
...
reuse previous evaluation
2021-11-02 13:25:42 -07:00
Benjamin Elder
71071d13ab
remove make rule for test-e2e-kubeadm
...
this target depended on a broken binary and is clearly unused
kubeadm e2e development should be done with: https://github.com/kubernetes/kubeadm/tree/main/kinder
2021-11-02 12:04:14 -07:00
Benjamin Elder
6d532084e5
removed unused test/e2e_kubeadm/runner/local/run_local.go
2021-11-02 11:53:25 -07:00
Benjamin Elder
a4476c8548
remove bazel from make clean, bazel is not in any supported branches
2021-11-02 11:41:32 -07:00
Benjamin Elder
69c3e1934c
don't search under ./bazel-*, bazel is not in use.
2021-11-02 11:40:59 -07:00
Benjamin Elder
aa4d83961a
remove hack/{update,verify}-bazel.sh
...
With Kubernetes 1.19.X no longer supported, there are no supported branches using bazel. Developers should not have errant bazel files, this will be left to reviewers to catch.
2021-11-02 11:38:42 -07:00
Kubernetes Prow Robot
ec8e6e8778
Merge pull request #106002 from kerthcet/feature/refactor-NodeResourcesFit-plugin
...
refactor scheudler's node resource plugins
2021-11-02 10:52:34 -07:00
Rob Scott
d4ebc6ff1e
Transitioning from multiple execs to reading logs
2021-11-02 10:44:47 -07:00
Jordan Liggitt
34463dc71a
PodSecurity: update pod prioritization to skip exempt pods, add unit tests
2021-11-02 13:37:09 -04:00
Akshit Grover
2a2758d14e
PodSecurity: prioritize unique pods over replicated pods when validating a namespace
2021-11-02 13:29:11 -04:00
Jiahui Feng
fbc8ac9c96
update expected ordering
...
in apply test.
2021-11-02 10:00:00 -07:00
wongearl
50e4f24ea8
reuse previous evaluation
2021-11-02 12:53:17 -04:00
kerthcet
e5dd375b14
refactor scheudler's node resource plugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-11-03 00:52:23 +08:00
Jordan Liggitt
1f8f996dc9
PodSecurity: register/test v1beta1 config
2021-11-02 12:46:55 -04:00