Commit Graph

101780 Commits

Author SHA1 Message Date
Saverio Proto
3a830aacb0 Trivial: fixed typo in logs requrested --> requested 2021-06-07 11:16:28 +02:00
Kubernetes Prow Robot
f1f58f20ab
Merge pull request #102620 from serathius/zap-sampling
Disable zap sampling and cleanup config
2021-06-07 01:56:39 -07:00
Kubernetes Prow Robot
ff6f9e009a
Merge pull request #102511 from tkashem/issue-102016
apf: fix data race in test
2021-06-07 00:52:51 -07:00
Kubernetes Prow Robot
84eb8c5d10
Merge pull request #102491 from liggitt/seccomp-warning
Avoid warning on seccomp field usage
2021-06-07 00:52:39 -07:00
pacoxu
64946cd50d fix flake integration rotation via informer
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-07 15:44:53 +08:00
Mengjiao Liu
7ced405de5 Create a new modele component-base/logs/json/register for optional json register 2021-06-07 15:07:13 +08:00
Kubernetes Prow Robot
dff5940ac3
Merge pull request #97534 from heqg/typo01
fix Spelling error for klog
2021-06-06 22:24:39 -07:00
Kubernetes Prow Robot
fca27ee5fb
Merge pull request #96374 from serathius/example
Create example component for integrating with component-base
2021-06-06 21:22:39 -07:00
Alay Patel
92b52a4fb5 populate last successful time to cronjob status 2021-06-06 16:14:16 -04:00
Kubernetes Prow Robot
9d27400fe2
Merge pull request #102040 from njuptlzf/fix_conversion
Fix auditing failed of request: encoding failed
2021-06-05 19:58:38 -07:00
Marc Khouzam
77bb053102 Use native zsh completion
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 22:09:03 -04:00
njuptlzf
7b0fbb7292 add audit log test cases for cross-group subresource 2021-06-06 09:52:05 +08:00
Marc Khouzam
46aa6045e4 Add tests for completion utility functions
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 21:33:44 -04:00
Marc Khouzam
1babceac65 Revert "Add Go tests for custom completions"
This reverts commit 0e18f0380042b652996d795559bfb818698abec3.
2021-06-05 21:33:44 -04:00
Marc Khouzam
9625872d1e Join common functions for completion
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 21:33:42 -04:00
Marc Khouzam
9d03185d3c Update staging/src/k8s.io/kubectl/pkg/cmd/config/config.go
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2021-06-05 21:32:41 -04:00
Marc Khouzam
c0b3a698fa Add Go tests for custom completions
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 21:32:41 -04:00
Marc Khouzam
879cdc5fa9 Move all completion bash code to Go code
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 21:32:38 -04:00
knight42
663b13e814 refactor: implement custom completions for some flags using Go
Only --context, --cluster, --user and --namespace are included.

Signed-off-by: knight42 <anonymousknight96@gmail.com>
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2021-06-05 21:30:09 -04:00
tiloso
c5d70e9db1 Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver} 2021-06-05 22:15:15 +02:00
Marek Siarkowicz
aa9321f534 Add example showing impact on log output 2021-06-05 22:06:05 +02:00
Kubernetes Prow Robot
f27340ce90
Merge pull request #102617 from serathius/json-benchmark
Cleanup json logging benchmarks
2021-06-05 11:46:50 -07:00
Kubernetes Prow Robot
aaceb26ea3
Merge pull request #99080 from vinayakankugoyal/dockerfile3
Use docker buildx for the build-image.
2021-06-05 11:46:38 -07:00
Wei Huang
8e85a2b0c2
sched: fix a bug that a preemptor pod exists as a phantom
- SafePodNominator to resolve racing issue when dealing with nominated pod
2021-06-05 11:07:29 -07:00
Kubernetes Prow Robot
1b71cc567f
Merge pull request #102625 from serathius/klog-integration
Add klog integration tests
2021-06-05 10:41:21 -07:00
Kubernetes Prow Robot
0685959592
Merge pull request #102610 from liggitt/audit-non-root
Fix audit unit test file location
2021-06-05 10:41:13 -07:00
Kubernetes Prow Robot
a52571144f
Merge pull request #102597 from mengjiao-liu/rename-masterConfig
test/integration: Rename masterConfig to controlPlaneConfig
2021-06-05 10:41:05 -07:00
Kubernetes Prow Robot
1f363d7961
Merge pull request #102513 from freehan/net-tier-fix
only delete forwardingrule and address when net tier annotation is specified
2021-06-05 10:40:57 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Kubernetes Prow Robot
29a8105cec
Merge pull request #101272 from Jiawei0227/deprecateflag
Remove CSIMigrationvSphereComplete flag
2021-06-05 10:40:38 -07:00
Patrick Ohly
c15fd76ee9 e2e storage: enable health-check controller in hostpath deployment
It was disabled together with the agent to avoid test failures in
gce-master-scale-correctness (https://github.com/kubernetes/kubernetes/issues/102452). That
solved the problem, but we still need to check whether the controller
alone works.
2021-06-05 18:16:19 +02:00
Kubernetes Prow Robot
e6a8bc9fbe
Merge pull request #90368 from serathius/remove-legacy-metrics
Remove legacy metrics client from podautoscaler
2021-06-05 08:44:38 -07:00
Marek Siarkowicz
88174fc3f2 Add klog integration tests 2021-06-05 16:48:46 +02:00
Marek Siarkowicz
2e167a1399 Disable zap sampling and cleanup config 2021-06-05 14:02:10 +02:00
Marek Siarkowicz
a9a2346e19 Cleanup json logging benchmarks
* Write logs to sink instead of stderr
* Remove json marshall tests
2021-06-05 13:16:38 +02:00
刁浩 10284789
d8e91ab727 Fix test order in /pkg/probe/http/http_test.go 2021-06-05 07:27:34 +00:00
Elana Hashman
cc2e9394be
kubelet: Fix test order in verifyContainerStatuses
Per https://pkg.go.dev/github.com/stretchr/testify/assert#Equal
expected goes before actual.
2021-06-04 16:04:10 -07:00
Jordan Liggitt
91e5d98b57 Fix audit unit test file location 2021-06-04 17:23:34 -04:00
Marek Siarkowicz
4ebc0c94a4 Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02:00
Kubernetes Prow Robot
8eff96dd12
Merge pull request #102608 from gnufied/remove-test-on-unknown-block-devices
Remove block device metrics unit test
2021-06-04 13:56:38 -07:00
Marek Siarkowicz
3175dbd855
Update owners for structured logging library 2021-06-04 22:21:25 +02:00
Hemant Kumar
f5739a15d1 The test was not very useful and required elevated access 2021-06-04 15:48:35 -04:00
Abu Kashem
e797a5a198
client-go: fix flake in test TestRequestWatchWithRetry 2021-06-04 15:12:48 -04:00
Kubernetes Prow Robot
7ed2ed1b45
Merge pull request #102412 from andrewsykim/kill-service-topology
Remove deprecated alpha Service topologyKeys field
2021-06-04 10:48:38 -07:00
Abu Kashem
892d4fabb8
Revert "Merge pull request #102581 from liggitt/revert-watch-retry"
This reverts commit 5a59a43957, reversing
changes made to 81b9789eaa.
2021-06-04 13:45:26 -04:00
Minhan Xia
fbf2d2df26 only delete forwardingrule and address when net tier annotation is specified 2021-06-04 10:04:42 -07:00
Kubernetes Prow Robot
3b71dac6ac
Merge pull request #102593 from CaoDonghui123/fix7
remove redundant code
2021-06-04 09:44:38 -07:00
Kubernetes Prow Robot
ed1a2b411d
Merge pull request #102463 from neolit123/1.22-add-usergroup-utils
kubeadm: add utilities to manage users and groups
2021-06-04 08:35:26 -07:00
Davanum Srinivas
d9f82f7eba
Drop viper stuff in test/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-04 09:38:22 -04:00
wangyysde
558bdd18aa Update cronjob integration test to batch/v1
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-06-04 21:04:21 +08:00