Sally O'Malley
c97f292057
kubelet tracing: update vendor
...
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2022-08-01 12:55:11 -04:00
Sally O'Malley
47e7d8034f
kubelet tracing
...
Signed-off-by: Sally O'Malley <somalley@redhat.com>
Co-authored-by: David Ashpole <dashpole@google.com>
2022-08-01 12:55:02 -04:00
Deep Debroy
0ac7cce38a
Node e2e test for pod conditions managed by Kubelet
...
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
2022-08-01 09:52:07 -07:00
Deep Debroy
dfdf8245bb
Introduce PodHasNetwork condition for pods
...
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
2022-08-01 09:51:43 -07:00
Kubernetes Prow Robot
d46742b387
Merge pull request #111411 from alculquicondor/deprecate-disable-taint-manager
...
Mark enable-taint-manager CLI flag as deprecated
2022-08-01 09:02:28 -07:00
Claudiu Belu
38092cb458
unittests: Fixes unit tests for Windows (part 2)
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- volume mounting is a bit different on Windows: Mount will create the
parent dirs and mklink at the volume path later (otherwise mklink will
raise an error).
- os.Chmod is not working as intended on Windows.
- path.Dir() will always return "." on Windows, and filepath.Dir()
should be used instead (which works correctly).
- on Windows, you can't typically run binaries without extensions. If
the file C:\\foo.bat exists, we can still run C:\\foo because Windows
will append one of the supported file extensions ($env:PATHEXT) to it
and run it.
- Windows file permissions do not work the same way as the Linux ones.
- /tmp directory being used, which might not exist on Windows. Instead,
the OS-specific Temp directory should be used.
Fixes a few other issues:
- rbd.go: Return error in a case in which an error is encountered. This
will prevent "rbd: failed to setup" and "rbd: successfully setup" log
messages to be logged at the same time.
2022-08-01 18:56:32 +03:00
Fabian Fulga
ff92963551
Add e2e tests for node log viewer
...
Adding e2e tests for the feature: add node log viewer
2022-08-01 17:58:51 +03:00
Kubernetes Prow Robot
bddb4ec08e
Merge pull request #111486 from peizhouyu/fix-apply-help-text
...
fix that beginning of help text is cut off for apply and replace --filename flag
2022-08-01 07:50:52 -07:00
Kubernetes Prow Robot
ef8e7c471e
Merge pull request #110291 from danwinship/kep-3178-iptables-cleanup-kubelet
...
Implement KEP-3178 "iptables cleanup" in kubelet
2022-08-01 07:50:40 -07:00
Kubernetes Prow Robot
37b100bea6
Merge pull request #109819 from saschagrunert/seccomp-annotation
...
Partly remove support for seccomp annotations
2022-08-01 07:50:28 -07:00
Kubernetes Prow Robot
ebad8c70c2
Merge pull request #111492 from muyangren2/addtest_validation_port
...
add test for ValidatePort
2022-08-01 03:50:29 -07:00
Sascha Grunert
584783ee9f
Partly remove support for seccomp annotations
...
We now partly drop the support for seccomp annotations which is planned
for v1.25 as part of the KEP:
https://github.com/kubernetes/enhancements/issues/135
Pod security policies are not touched by this change and therefore we
have to keep the annotation key constants.
This means we only allow the usage of the annotations for backwards
compatibility reasons while the synchronization of the field to
annotation is no longer supported. Using the annotations for static pods
is also not supported any more.
Making the annotations fully non-functional will be deferred to a
future release.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-01 09:19:29 +02:00
Kubernetes Prow Robot
d046a58de4
Merge pull request #111506 from sanwishe/event_validation
...
Correct event validation messages using the core/v1 field name `reportingComponent`
2022-07-31 22:00:28 -07:00
Kubernetes Prow Robot
bebea5f950
Merge pull request #111152 from sivchari/fix-refer-url
...
fix: refer to url of Node Allocatable
2022-07-31 20:32:39 -07:00
Kubernetes Prow Robot
dd54a044ea
Merge pull request #110940 from pacoxu/ga-disable-accelerator
...
Disable AcceleratorUsage Metrics: ga
2022-07-31 20:32:28 -07:00
Kubernetes Prow Robot
9af9947230
Merge pull request #111587 from ialidzhikov/k8s-utils@ee6ede2d64
...
Update `k8s.io/utils` to `ee6ede2d64ed`
2022-07-31 19:26:34 -07:00
Kubernetes Prow Robot
3dc51872f0
Merge pull request #111485 from humblec/glusterfs-deprecation
...
deprecate GlusterFS plugin from available in-tree drivers.
2022-07-31 19:26:27 -07:00
Kubernetes Prow Robot
92ffa633cf
Merge pull request #111342 from ndixita/cleanup-make-script-e2e
...
Adding value attribute to get the value of zone property as per the u…
2022-07-31 11:22:27 -07:00
ialidzhikov
6aa5efb1bd
Update k8s.io/utils
to ee6ede2d64ed
2022-07-31 16:33:14 +03:00
Cici Huang
dc15094316
Enable e2e test with feature prometed to beta.
2022-07-31 06:27:24 +00:00
Kubernetes Prow Robot
8594df1aff
Merge pull request #108541 from kerthcet/feature/set-PreferNominatedNode-defaultvalue
...
feat: set ProbeTerminationGracePeriod default to true
2022-07-30 11:06:27 -07:00
Brian Pursley
2efe97fa6c
Fix label output bug where dry run message was not printed
2022-07-30 09:27:42 -04:00
inosato
d2ec8685f5
Remove ioutil from kube-aggregator
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 21:40:13 +09:00
inosato
c5ce76e712
Remove ioutil from component-helpers
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 21:13:19 +09:00
Kubernetes Prow Robot
262d8b2a77
Merge pull request #111446 from alexzielenski/trivial-x-preserve-unknown-fields-correction
...
correct OpenAPI extension in error message
2022-07-30 05:06:27 -07:00
inosato
6e32805729
Remove ioutil from code-generator
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 21:03:36 +09:00
inosato
88dfa51b60
Remove ioutil from client-go
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 20:54:41 +09:00
Kubernetes Prow Robot
3902a53419
Merge pull request #111441 from denkensk/respect-topology
...
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Kubernetes Prow Robot
2ae27c89ba
Merge pull request #111206 from SataQiu/scheduler-20220718
...
scheduler: include supported ScoringStrategyType list in error message for NodeResourcesFit plugin
2022-07-30 01:40:29 -07:00
Kubernetes Prow Robot
2e64ae6d62
Merge pull request #110733 from psschwei/probe-grace-period-units
...
Add unit tests for grace period in killContainer func
2022-07-29 22:30:27 -07:00
Alex Wang
86a2a85e7d
code generated by script for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:24:55 +08:00
Alex Wang
f4bc904376
implementation for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:23:49 +08:00
Alex Wang
e6c2bf8516
api defination for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:21:16 +08:00
Paco Xu
e073b0fd65
Disable AcceleratorUsage Metrics: ga
2022-07-30 12:31:43 +08:00
Kubernetes Prow Robot
451c00cc70
Merge pull request #109263 from FeLvi-zzz/add-kubelet-nodeLabels-validation
...
validate nodeLabels in kubelet
2022-07-29 21:22:26 -07:00
Kubernetes Prow Robot
f6e163fe27
Merge pull request #111450 from HecarimV/fix-22072710
...
cleanup: omit redundant arguments in make call
2022-07-29 19:29:52 -07:00
Kubernetes Prow Robot
25cdaccf0d
Merge pull request #111439 from claudiubelu/fix-plugin-watcher
...
kubelet: Fixes plugin Watcher for Windows
2022-07-29 19:29:44 -07:00
Kubernetes Prow Robot
17d3eecc7c
Merge pull request #111431 from ialidzhikov/fix/seccomp-default-help-text
...
Update the feature state in the help text of the `--seccomp-default` flag
2022-07-29 19:29:36 -07:00
Kubernetes Prow Robot
d838a8647b
Merge pull request #111418 from muyangren2/winstats_assert
...
Fix test order pkg/kubelet/winstats/winstats_test.go
2022-07-29 19:29:29 -07:00
Kubernetes Prow Robot
cf2800b812
Merge pull request #111402 from verb/111030-ec-ga
...
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Kubernetes Prow Robot
ca34eb1383
Merge pull request #111020 from claudiubelu/adds-unittests-5
...
unittests: Adds Windows unittests
2022-07-29 19:29:11 -07:00
Kubernetes Prow Robot
8cecf183a6
Merge pull request #110851 from negz/more-like-mac-slow-s
...
Use checksums instead of fsyncs to avoid slow discovery caching on MacOS
2022-07-29 18:11:12 -07:00
Chih-Chieh Yang
ed74de833d
Add comment for the reason this test is needed
2022-07-30 00:13:48 +00:00
Tim Allclair
b289c23394
[e2epod] wait: Don't override non-timeout errors
2022-07-29 17:11:50 -07:00
Kubernetes Prow Robot
e6a60c3b4d
Merge pull request #110648 from yangjunmyfm192085/fixRuntimeCgroupsError
...
Fix s.RuntimeCgroups error condition
2022-07-29 16:53:11 -07:00
Kubernetes Prow Robot
5d446b205e
Merge pull request #106244 from cncal/fix-state-checkpoint-testcase
...
fix test for CheckpointStateRestore
2022-07-29 15:41:14 -07:00
Tim Allclair
55ec0f2d9d
[e2epod] wait: Don't retry on 50X errors
2022-07-29 14:56:33 -07:00
Kubernetes Prow Robot
c809129f2c
Merge pull request #103069 from jackfrancis/cmd-kubelet-kubeserver-new-main-kubelet
...
chore(kubelet): simpler createAndInitKubelet func
2022-07-29 14:29:12 -07:00
Nic Cope
c1aa7a0fe7
Copy etcd client debug level logic from upstream
...
Replicated from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/logger.go#L47
The logic of this function doesn't make a lot of sense to me, but
copying it will avoid any behaviour change.
Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:26:31 -07:00
Nic Cope
f54d260633
Give etcd client logger a name
...
Logic copied from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/client.go#L374
Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:24:17 -07:00