Commit Graph

100580 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0cc2bf2931
Merge pull request #101302 from wangyx1992/capatial-log-kubelet
cleanup: fix errors in wrapped format and log capitalization in kubelet
2021-05-03 16:14:31 -07:00
Kubernetes Prow Robot
a238eb2fe8
Merge pull request #99748 from rphillips/fixes/check_log_path_for_restart_count
kubelet: fix log files being overwritten on container state loss
2021-05-03 16:14:19 -07:00
Michael Taufen
b33cd86a27 Update tests to use agnhost 2.32
Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.

Original fix: https://github.com/kubernetes/kubernetes/pull/101589

Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
2021-05-03 14:23:46 -07:00
Kubernetes Prow Robot
55635497d3
Merge pull request #101687 from siddhartha97/add-feature
Ensures Authentication types have descriptions
2021-05-03 13:00:09 -07:00
Kubernetes Prow Robot
576f0eb0b4
Merge pull request #101420 from sttts/sttts-aggregator-available-controller-logging-upstream
aggregator: add availability state transition logging
2021-05-03 11:22:08 -07:00
Vince Prignano
93a5330aff Update generated fixture data with creation/deletion timestamps
Signed-off-by: Vince Prignano <vincepri@vmware.com>
2021-05-03 08:22:35 -07:00
Vince Prignano
96f7d91cc7 Timestamp fuzzer in metav1 should not use negative values
While debugging a similar issue in Cluster API, found that the Creation
and Deletion timestamp were mostly `nil`. After a bit of digging it
seems that using the Fuzz on an int64 can cause the Rfc3339Copy() to
error out (silently, the error is actually dropped) and return a nil
value. When using int64 large negative numbers can be generated
randomly, which result in an invalid date.

Signed-off-by: Vince Prignano <vincepri@vmware.com>
2021-05-03 08:22:35 -07:00
Antonio Ojea
2dc4dba562 conformance test for Services should validate behavior
Current test for service with endpoints only validate the API objects,
however, doesn't validate that the implementation of Services works.

This mean that a cluster without any component implementing Services,
can pass Conformance.
2021-05-03 17:19:54 +02:00
Kubernetes Prow Robot
271476446b
Merge pull request #101643 from carlory/fix-1035
Fix auth can-i provides potentially misleading output with impersonate
2021-05-03 07:50:03 -07:00
Madhav Jivrajani
b21a692612 Add validation for names like '-'
- Added unit tests for new implementation
- Updated godoc

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-05-03 20:17:11 +05:30
Joel Smith
1e0ca5bdc7 Fix log spam for du failure on pod etc-hosts metrics 2021-05-03 08:29:56 -06:00
Yusuke Tsutsumi
a41a3ed4ae
client-go: NewSelfSignedCACert makes Go 1.15+ compatible cert (#100324)
* NewSelfSignedCACert makes Go 1.15+ compatible cert

As of Go 1.15, X.509 certificates without a SAN no longer
fall back to the CommonName of the certificate.

https://golang.org/doc/go1.15#commonname

Updating NewSelfSignedCACert to produce certificates that
work with this change.

* add missing license
2021-05-03 06:48:02 -07:00
Jordan Liggitt
529197ca8f Update testdata generation command 2021-05-03 08:53:30 -04:00
Jiahao Huang
0980b33b0e use '_' in nodelabel plugin for unused parameters 2021-05-03 18:06:02 +08:00
Jian Zeng
97b5d2a300
test: update test cases of TestComponentSecureServingAndAuth 2021-05-03 00:35:16 +08:00
Jian Zeng
c4c2574778
refactor(e2e): grab metrics from controller-manager via nginx
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:12:06 +08:00
Jian Zeng
e481d99965
refactor: disable insecure serving in controller-manager
Now the following flags have no effect and would be removed in v1.24:
* `--port`
* `--address`

The insecure port flags `--port` may only be set to 0 now.

Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:01:49 +08:00
Srinidhi Kaushik
be63462f93
Handle invalid "losetup" options
The non "util-linux" versions of "losetup" don't seem to have
options like "-j" ("--associated") which lists the loop devices
associated with the file, or "--show" which  displays the name
of the assigned loop device for a file.

For instance, when "-j" is used, "GetLoopDevice()" fails with:

    $ losetup -j /path/to/file
    losetup: unrecognized option: j
    BusyBox v1.32.1 () multi-call binary.

Add a fallback option to lookup the device from "sysfs" in cases
where "losetup" fails for an invalid option. This can be done by
reading the backing file from "/sys/block/loop*/loop/backing_file"
for each of the devices listed there.

Signed-off-by: Srinidhi Kaushik <shrinidhi.kaushik@gmail.com>
2021-05-02 20:02:51 +05:30
Kubernetes Prow Robot
dfc91819b7
Merge pull request #101067 from Elbehery/fix-nfs-storage-ipv6_add_square_brackets
Fix mounting NFS resources in IPv6 bare-metal environment #101066
2021-05-01 20:58:00 -07:00
Kubernetes Prow Robot
2d13e0be08
Merge pull request #101693 from wangyysde/update-PodDisruptionBudget-testing-manifests-v1
update PodDisruptionBudget's Version to v1 in  e2e testing manifests
2021-05-01 14:30:11 -07:00
Kubernetes Prow Robot
c1de7a1ab3
Merge pull request #101320 from amanchourasiya/bugfix/101309
Removing comment to improve generated docs.
2021-05-01 14:29:59 -07:00
Kubernetes Prow Robot
9a60677591
Merge pull request #101466 from ingvagabund/GetNonzeroRequestForResource-drop-check-for-scalar-resource
Drop IsScalarResourceName check in GetNonzeroRequestForResource
2021-05-01 12:52:00 -07:00
Kubernetes Prow Robot
ae2546907f
Merge pull request #101654 from mm4tt/reviewers
Add marseel@ to sig-scalability-reviewers
2021-05-01 11:05:59 -07:00
Kubernetes Prow Robot
8daa2e8a4e
Merge pull request #101689 from aojea/revert_e2e_probe
Revert "Deflake startupProbe e2e test"
2021-05-01 10:04:00 -07:00
wangyysde
fc1a83c96f update PodDisruptionBudget's Version from v1beta1 to v1 in e2e testing manifests files
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-01 22:15:51 +08:00
Kubernetes Prow Robot
c5b900b69c
Merge pull request #97399 from davidxia/comment-typo
Fix typo in comment
2021-05-01 04:57:59 -07:00
Weidong Feng
63f9b392b5 Check IP of Ingress blank before append 2021-05-01 18:54:35 +08:00
Kubernetes Prow Robot
0c112347ca
Merge pull request #98955 from jsoref/changelog-1-20
Formatting and grammar fixes in 1.20 changelog
2021-05-01 01:33:59 -07:00
Antonio Ojea
3511357c0a Revert "Deflake startupProbe e2e test"
This reverts commit bcd582030f.
2021-05-01 10:29:03 +02:00
Kubernetes Prow Robot
1c064a55c9
Merge pull request #101670 from logicalhan/patch-1
Add myself as a dep reviewer
2021-04-30 23:45:59 -07:00
carlory
5d9a0c3c00 As users are a valid resources type for the can-i command, the warning shouldn't appear 2021-05-01 13:13:21 +08:00
Kubernetes Prow Robot
b18aea1499
Merge pull request #101592 from M00nF1sh/target-chunk
Register/Deregister Targets in chunks for AWS TargetGroup
2021-04-30 20:15:58 -07:00
Siddhartha Chowdhuri
4425fd6bfe Added changes 2021-04-30 18:29:28 -07:00
Kubernetes Prow Robot
96e4e95397
Merge pull request #95396 from stlaz/x509_cn_error_metrics
webhooks,aggregation: add metrics to count certs missing SAN
2021-04-30 18:03:58 -07:00
Kubernetes Prow Robot
032a6fd494
Merge pull request #100233 from umangachapagain/imagepolicy-desc
add missing description to api/imagepolicy/v1alpha1/types.go
2021-04-30 15:24:00 -07:00
Cédric de Saint Martin
9fe7891fcd Container type: document that SecurityContext applies to Container instead of Pod.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2021-04-30 21:38:06 +02:00
Ricardo Pchevuzinske Katz
11316a6d84 Change ingress api doc to reflect the correct path validation
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-04-30 16:24:03 -03:00
Kubernetes Prow Robot
ef9d6f8c93
Merge pull request #101579 from carlory/remove-fg-RootCAConfigMap
remove RootCAConfigMap feature gate
2021-04-30 12:06:33 -07:00
Kubernetes Prow Robot
8365e2384c
Merge pull request #101187 from GreenApple10/feature/import_cleanup
remove duplicate packet import
2021-04-30 12:06:25 -07:00
Kubernetes Prow Robot
25a9b583a9
Merge pull request #99760 from navist2020/fix_descriptons
Add descriptions to api/authorization/*/types.go
2021-04-30 12:06:12 -07:00
Kubernetes Prow Robot
c3b7d3056a
Merge pull request #98740 from andrewmelis/arm/fix-container-security-context-docs
Arm/fix container security context docs
2021-04-30 12:05:59 -07:00
Vinayak Goyal
b87762966d Remove remnants of basic auth from cluster bootstrap. 2021-04-30 11:23:14 -07:00
Kubernetes Prow Robot
f235adc4d2
Merge pull request #101621 from jeremyje/fixfb
GCE Windows: mkdir -p fluent-bit pos-files directory.
2021-04-30 10:24:39 -07:00
Kubernetes Prow Robot
ba5b2ea82b
Merge pull request #101595 from bobbypage/gpu
test: Update nvidia-driver-installer used in gce-device-plugin-gpu job
2021-04-30 10:24:29 -07:00
Kubernetes Prow Robot
72b24d128b
Merge pull request #101590 from smarterclayton/quantity
quantity: Allow a new quantity to be created directly from inf.Dec
2021-04-30 10:24:14 -07:00
Kubernetes Prow Robot
eec38190a0
Merge pull request #101477 from x13n/metrics-server
Bump metrics server to use 0.4.4 image.
2021-04-30 10:24:01 -07:00
Aman Chourasiya
a0e15c89ca Removing comment to improve generated docs. 2021-04-30 16:04:36 +00:00
Han Kang
0f6cea3b51 Add myself as a dep reviewer
Change-Id: I80406ca92d30c1f8d5a95f21794205d01a2f6eab
2021-04-30 07:59:19 -07:00
Mengxue Zhang
2d2ee6bc3a change default feature gate value of IndexedJob 2021-04-30 14:36:15 +00:00
Kubernetes Prow Robot
f039f94a6f
Merge pull request #101589 from mtaufen/fix-agnhost-ca
agnhost: Try both in-cluster and external discovery
2021-04-30 07:28:10 -07:00