David Eads
734e9b7dd6
fix up CRD validation tests
2021-03-02 14:34:41 -05:00
David Eads
06eb2f5d41
switch apiserver integration tests to CRD v1
2021-03-02 14:34:41 -05:00
David Eads
c72b4b3f89
coerce apply tests to CRD v1. skip CRDs that are no longer valid
2021-03-02 14:34:41 -05:00
David Eads
dc159a373c
attempt to coerce test for non-structural schemas into something close to valid
2021-03-02 14:34:41 -05:00
David Eads
b261364025
try to tidy up crd v1beta1 usage
2021-03-02 14:34:41 -05:00
Kubernetes Prow Robot
445cb0609d
Merge pull request #99574 from pacoxu/feature/check-ipv6-site-warnings
...
kubeadm: a warning to user as ipv6 site-local is deprecated
2021-03-02 11:11:43 -08:00
Kubernetes Prow Robot
a89d783b27
Merge pull request #99553 from alaypatel07/fix-flaky-unit-test
...
cronjob: fix flaky unit test TestController2_updateCronJob
2021-03-02 11:11:31 -08:00
Kubernetes Prow Robot
94d5019369
Merge pull request #99341 from alaypatel07/metrics
...
cronjob_controller: add metrics for job creation skew duration
2021-03-02 11:11:19 -08:00
Rob Scott
e1542606c2
Updating EndpointSlice controller to wait for cache to be updated
...
This updates the EndpointSlice controller to make use of the
EndpointSlice tracker to identify when expected changes are not present
in the cache yet. If this is detected, the controller will wait to sync
until all expected updates have been received. This should help avoid
race conditions that would result in duplicate EndpointSlices or failed
attempts to update stale EndpointSlices. To simplify this logic, this
also moves the EndpointSlice tracker from relying on resource versions
to generations.
2021-03-02 09:43:46 -08:00
Jordan Liggitt
4515889574
Prefer v1 storage versions
2021-03-02 12:06:13 -05:00
Kubernetes Prow Robot
e4e9c31218
Merge pull request #98572 from justaugustus/go116
...
[go1.16] Update to go1.16
2021-03-02 08:57:19 -08:00
Nikhita Raghunath
4b9b926e5d
hack/verify-description.sh: correctly look for versioned API types
...
`find_files` had incorrect regexes which led to `genswaggertypedocs`
never being invoked. This commit updates the regex to correctly
look for versioned API types.go files.
Since `genswaggertypedocs` was never invoked, there are many API types
with missing descriptions. This commit lists these `types.go` files
in `hack/.descriptions_failures`.
The `verify-description.sh` script skips running `genswaggertypedocs`
on the files listed in `hack/.descriptions_failures`.
2021-03-02 21:50:40 +05:30
Alay Patel
08bc827e66
cronjob_controller: add metrics for job creation skew duration
2021-03-02 10:38:59 -05:00
Artyom Lukianov
95b2777204
memory manager: specify the container cpuset.memory during the creation
...
Set the container cpuset.memory during the creation and avoid an additional
call to the resources update of the container.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-02 17:01:46 +02:00
pacoxu
3c33ceab04
log a warning if ipv6 site-local addresses is using as it shouldn't be deprecated
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2021-03-02 21:51:28 +08:00
Patrick Ohly
98f75290ba
generic ephemeral volume: simpler metrics
...
A CounterVector with status as label may create unnecessary overhead
and using the success case with the empty label value wasn't
easy. It's better to have two seperate counters, one for total number
of calls and one for failed calls.
2021-03-02 12:01:37 +01:00
Patrick Ohly
ef6f65bead
k8s.io/component-base: support GetCounterMetricValue for Counter
...
GetCounterMetricValue has an unchecked conversion to metrics.Metric,
something that didn't work for a *Counter because it didn't implement
that interface.
2021-03-02 12:01:37 +01:00
Patrick Ohly
6cb28fd1b4
generic ephemeral volume: add metrics
...
As discussed during the production readiness review, a metric for the
PVC create operations is useful. The "ephemeral_volume" workqueue
metrics were already added in the initial implementation.
The new code follows the example set by the endpoints controller.
2021-03-02 12:01:37 +01:00
Claudiu Belu
4f8084e3e0
test images: Adds label to httpd-new image
...
Adds a label to the httpd-new image, so a new SHA gets generated, so it can be pushed to staging.
2021-03-02 11:36:00 +02:00
Kubernetes Prow Robot
f79795d718
Merge pull request #99521 from dekkagaijin/build
...
Prevent CGO and STATIC_OVERRIDES from trampling themselves if evaluated multiple times
2021-03-02 01:23:31 -08:00
Kubernetes Prow Robot
930bede46e
Merge pull request #99361 from Novex/btrfs-volume-resize
...
Add btrfs support to the automatic volume resizer
2021-03-02 01:23:19 -08:00
pacoxu
cd54bd94e9
deprecate cAdvisor json metrics collected by Kubelet
...
- remove unused code for cadvisor json metrics collected
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-02 15:36:21 +08:00
Kubernetes Prow Robot
3727aa47d9
Merge pull request #99084 from gxglls/imporve-kubelet-comment
...
kubelet: Imporve cmd comment for how kubelet works
2021-03-01 23:11:20 -08:00
Kubernetes Prow Robot
6d64dfea64
Merge pull request #98347 from chymy/changelog20-2021125
...
Cleanup dependencies in changelog
2021-03-01 22:09:22 -08:00
Stephen Augustus
d9435800b6
Fixup golang.org/x/term staticcheck warnings
...
Errors from staticcheck:
cmd/preferredimports/preferredimports.go:38:2:
package golang.org/x/crypto/ssh/terminal is deprecated:
this package moved to golang.org/x/term. (SA1019)
vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go:36:2:
package golang.org/x/crypto/ssh/terminal is deprecated:
this package moved to golang.org/x/term. (SA1019)
vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go:26:2:
package golang.org/x/crypto/ssh/terminal is deprecated:
this package moved to golang.org/x/term. (SA1019)
Please review the above warnings. You can test via:
hack/verify-staticcheck.sh <failing package>
If the above warnings do not make sense, you can exempt the line or
file. See:
https://staticcheck.io/docs/#ignoring-problems
generated:
- hack/update-internal-modules.sh
- hack/lint-dependencies.sh
- hack/update-vendor.sh
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 01:08:21 -05:00
Jordan Liggitt
ecef45df84
[go1.16] bump golang.org/x/... dependencies
...
hack/pin-dependency.sh golang.org/x/crypto latest
hack/pin-dependency.sh golang.org/x/net latest
hack/pin-dependency.sh golang.org/x/exp latest
hack/pin-dependency.sh golang.org/x/sys latest
hack/pin-dependency.sh golang.org/x/time latest
hack/pin-dependency.sh golang.org/x/tools latest
hack/lint-dependencies.sh
hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037
hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449
hack/lint-dependencies.sh
hack/update-internal-modules.sh
hack/update-vendor.sh
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:01 -05:00
Stephen Augustus
7216970cf2
generated: Run hack/lint-dependencies.sh and hack/update-vendor.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:01 -05:00
Stephen Augustus
3c2824e3db
[go1.16] go.mod: update to go1.16
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Stephen Augustus
ee500e0647
[go1.16] Use go-runner:v2.3.1-go1.16-buster.0 image
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Stephen Augustus
70641827c1
[go1.16] staging/publishing: Set default go version to go1.16
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Stephen Augustus
274133fe11
[go1.16] Update to go1.16
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Kubernetes Prow Robot
ef47564f46
Merge pull request #99247 from KofClubs/delete-redundancy-kubelet-options.go
...
Deleted a redundant line from #91275
2021-03-01 21:09:36 -08:00
Kubernetes Prow Robot
e4bf1eb98e
Merge pull request #97139 from filintod/master
...
Update networking ingress types for Ingress Backend Service Port name
2021-03-01 21:09:23 -08:00
Navid Shaikh
e61f790eac
test/e2e: Move tests into test/e2e/node package
...
- assign sig-node ownership
- Fix import aliases in test/e2e/node/examples.go
- Fix merge conflicts in test/e2e/BUILD
Signed-off-by: Navid Shaikh <shaikhnavid14@gmail.com>
2021-03-02 10:05:53 +05:30
Kubernetes Prow Robot
4eca18b6b0
Merge pull request #99447 from lala123912/log-sanitization
...
typo fixed for terminatation
2021-03-01 19:23:58 -08:00
Kubernetes Prow Robot
7d2dbc5655
Merge pull request #99346 from mauriciopoppe/fix/storage-cloning-e2e
...
Avoid creation of the same storageclass in e2e tests
2021-03-01 19:23:45 -08:00
Kubernetes Prow Robot
33035a3fdf
Merge pull request #99586 from zgfh/update-kubeadm-upgrade-description
...
update kubeadm upgrade description
2021-03-01 18:19:41 -08:00
Kubernetes Prow Robot
5bf1c184e1
Merge pull request #99507 from jiahuif/feature/leader-migration/options-and-defaults
...
Leader Migration (KEP-2477): options parsing
2021-03-01 18:19:33 -08:00
Kubernetes Prow Robot
2e055dac58
Merge pull request #99163 from ahg-g/ahg-pod-deletion
...
Implements pod deletion cost
2021-03-01 18:19:21 -08:00
Kubernetes Prow Robot
be2a2988a0
Merge pull request #99609 from claudiubelu/test-images/same-sha
...
test images: Generates new SHAs for mirrored images
2021-03-01 17:13:33 -08:00
Kubernetes Prow Robot
d85aed6e5b
Merge pull request #99491 from uzuku/2021-feb-fix-typo
...
Fix typo in comment for purgeInitContainers.
2021-03-01 17:13:21 -08:00
cici37
9b3d42f20a
Address comments.
2021-03-01 16:36:56 -08:00
Indeed
3b4c7bddb3
implement options parsing and defaults for leader migration.
2021-03-01 15:51:13 -08:00
Chok Yip Lau
5d3c4eaf56
Remove dependency of generators from create secret
2021-03-01 17:06:52 -05:00
Kubernetes Prow Robot
0ced9d2854
Merge pull request #99498 from gavinfish/sched-preempthandle
...
Scheduler: unroll PreemptHandle to Handle
2021-03-01 13:58:28 -08:00
Kubernetes Prow Robot
1b88c2ee47
Merge pull request #98912 from wzshiming/ut/speed-up-volume-scheduling
...
Speed up pkg/controller/volume/scheduling unit tests
2021-03-01 13:58:16 -08:00
cici37
716122ccec
Update NodeIPAM wrapper
2021-03-01 13:51:59 -08:00
Kubernetes Prow Robot
b032ebac8e
Merge pull request #99569 from pacoxu/default-container/kep-1
...
kubectl logs: don't check default container annotation if --all-containers is specified
2021-03-01 12:59:25 -08:00
Alay Patel
602435ccb9
cronjob: fix flaky unit test TestController2_updateCronJob
2021-03-01 15:45:32 -05:00
Derek Carr
0191e3e98c
Promote DownwardAPIHugePages to beta
2021-03-01 15:27:05 -05:00