Commit Graph

97446 Commits

Author SHA1 Message Date
Riaan Kleinhans
c721d8cf65 Create ReplicaSetScale test 2021-02-12 09:58:59 +13:00
Kubernetes Prow Robot
34f138ff83
Merge pull request #97823 from Jiawei0227/translation-lib
Preparation for Topology migration to GA for CSI migration
2021-02-02 08:48:28 -08:00
Kubernetes Prow Robot
1119a505ac
Merge pull request #98669 from liggitt/denyexec
Remove deprecated DenyEscalatingExec / DenyExecOnPrivileged admission
2021-02-02 06:52:28 -08:00
Kubernetes Prow Robot
645c40fcf6
Merge pull request #98638 from neolit123/1.21-optimize-unit-tests-certs
kubeadm: introduce static defaults for unit tests
2021-02-02 03:20:29 -08:00
Kubernetes Prow Robot
b36afa5509
Merge pull request #97753 from MikeSpreitzer/test-saw
Add unit test for sample-and-watermark histograms
2021-02-02 00:14:28 -08:00
Kubernetes Prow Robot
673a844834
Merge pull request #98338 from gavinfish/sched-remove-pro
Cleanup: remove prometheus dependencies for scheduler
2021-02-01 23:22:40 -08:00
Kubernetes Prow Robot
8096513aca
Merge pull request #92866 from cofyc/fix91281
scheduler: Extend ExtenderFilterResult to include UnschedulableAndUnresolvable nodes
2021-02-01 23:22:27 -08:00
Kubernetes Prow Robot
04d7740f05
Merge pull request #98682 from neolit123/1.21-optimize-pkiutil-tests
kubeadm: optimize tests in pki_helpers_tests.go
2021-02-01 21:48:39 -08:00
Kubernetes Prow Robot
ee2b7a5049
Merge pull request #98049 from pacoxu/enhancements/redir-links
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Kubernetes Prow Robot
4e72a35b35
Merge pull request #98588 from gavinfish/sched-fw-ut
Scheduler: organize framework unit tests in subtests
2021-02-01 20:40:36 -08:00
Kubernetes Prow Robot
2613b9776f
Merge pull request #98455 from hellogdc/myfeature
issues-98409 fix the address of restful-serve-static.go in the commen…
2021-02-01 20:40:28 -08:00
Kubernetes Prow Robot
ba85bfee39
Merge pull request #98129 from chendave/expose_status
Expose node status so that external preemption plugins can use it
2021-02-01 19:24:40 -08:00
Ricardo Katz
b7c82bb83c
Add EndPort to Network Policy - Alpha (#97058)
* Fix merge conflict in kube_features

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Correct some nits

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy
2021-02-01 19:24:28 -08:00
Lubomir I. Ivanov
f27555b890 kubeadm: optimize tests in pki_helpers_tests.go
Reduce the number of calls to algorithm.GenerateKey()
but try not to reduce coverage.
2021-02-02 04:25:06 +02:00
Kubernetes Prow Robot
7e6ef0efb6
Merge pull request #98616 from smarterclayton/recognizer_buffer
serializer: Recognizer interface should take a buffer
2021-02-01 17:50:35 -08:00
Kubernetes Prow Robot
f27318c0da
Merge pull request #98445 from damemi/taint-toleration-internal-helpers
Move Taint/Toleration helpers to component-helpers repo
2021-02-01 17:50:27 -08:00
Kubernetes Prow Robot
e161051c83
Merge pull request #98668 from liggitt/gotestsum
Install gotestsum if needed for junit results
2021-02-01 14:52:36 -08:00
Kubernetes Prow Robot
f81220975e
Merge pull request #98257 from lingsamuel/etcd-lease-max-count
lease manager limit max objects attached to a lease
2021-02-01 14:52:27 -08:00
Jordan Liggitt
3579f88e4d Remove deprecated DenyEscalatingExec / DenyExecOnPrivileged admission 2021-02-01 16:55:22 -05:00
Kubernetes Prow Robot
f81aa3f772
Merge pull request #98672 from hasheddan/experimental-buildx
Set DOCKER_CLI_EXPERIMENTAL=enabled for images using buildx
2021-02-01 13:42:17 -08:00
Kubernetes Prow Robot
7561fb876c
Merge pull request #98670 from liggitt/dryrunflake
retry dry-run update on conflict
2021-02-01 13:42:09 -08:00
Kubernetes Prow Robot
6aef7ca013
Merge pull request #98553 from mtaufen/said-ga
Graduate ServiceAccountIssuerDiscovery to GA
2021-02-01 13:42:01 -08:00
Kubernetes Prow Robot
6e50e64cb3
Merge pull request #98664 from liggitt/kubeadm-key-fixtures
Use private key fixtures for kubeadm unit tests
2021-02-01 12:50:06 -08:00
Kubernetes Prow Robot
f084d11ba3
Merge pull request #98655 from fedepaol/checkhosttoserviceerrors
Network tests: check for errors when dialing from node to services
2021-02-01 12:49:58 -08:00
Kubernetes Prow Robot
ba8344435f
Merge pull request #98625 from gavinfish/sched-dup-log
Scheduler: remove duplicated error log in framework
2021-02-01 12:49:49 -08:00
Michael Taufen
6aa80d9172 Graduate ServiceAccountIssuerDiscovery to GA
Waiting on KEP updates first:
https://github.com/kubernetes/enhancements/pull/2363
2021-02-01 11:44:23 -08:00
hasheddan
20679f31d1
Build conformance image with DOCKER_CLI_EXPERIMENTAL enabled
In order to use buildx with docker versions prior to v20.10 experimental
features must be enabled. Setting at build time ensures that they are
in case they have not already been at the environment scope.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-01 13:17:28 -06:00
hasheddan
1723719761
Build release images with DOCKER_CLI_EXPERIMENTAL enabled
In order to use buildx with docker versions prior to v20.10 experimental
features must be enabled. Setting at build time ensures that they are
in case they have not already been at the environment scope.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-01 13:14:58 -06:00
Jordan Liggitt
a1e57a4c6d retry dry-run update on conflict 2021-02-01 13:49:51 -05:00
Kubernetes Prow Robot
f384925847
Merge pull request #98650 from robscott/robscott-owners
Adding myself as an approver for EndpointSlice controller
2021-02-01 10:28:00 -08:00
Kubernetes Prow Robot
fd515b22cf
Merge pull request #98503 from chymy/kctl-i18nt-0128
add i18n.T in waitExample
2021-02-01 10:27:49 -08:00
Lubomir I. Ivanov
6578e0f6c5 kubeadm: introduce static defaults for unit tests
Add DefaultedStaticInitConfiguration() which can be
used instead of DefaultedInitConfiguration() during unit tests.

The later can be slow since it performs dynamic defaulting.
2021-02-01 19:43:57 +02:00
Jordan Liggitt
031e1c562c Install gotestsum if needed for junit results 2021-02-01 12:16:07 -05:00
Kubernetes Prow Robot
fc39904bed
Merge pull request #98566 from chymy/scheduler-structured-logs-0128
migrate pkg/scheduler/internal/cache/debugger/comparer.go to structured logs
2021-02-01 08:43:49 -08:00
Federico Paolinelli
ab9e5a59fa Network tests: check for errors when dialing from node to services
The current implementation does not check for errors, so any failure in
DialFromNode won't float.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-02-01 17:12:34 +01:00
Mike Dame
578ff3ec34 Move Taint/Toleration helpers to component-helpers repo
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
Jordan Liggitt
8761972f68 Use private key fixtures for kubeadm unit tests 2021-02-01 10:06:10 -05:00
Kubernetes Prow Robot
46d4f07eee
Merge pull request #98528 from championshuttler/updateContactLink
Update support resources in github issue template
2021-02-01 06:59:48 -08:00
Kubernetes Prow Robot
101cdbf932
Merge pull request #97295 from tiloso/staticcheck-test-integration
Fix staticcheck in test/integration/{examples,framework}
2021-02-01 04:49:48 -08:00
pacoxu
a10bdfed09 fix all keps links 404 for kep folder migration
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
Ling Samuel
c8db72c38c
api-server add --lease-max-object-count
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-02-01 18:20:59 +08:00
Rob Scott
4c9c9bb5a0 Adding myself as an approver for EndpointSlice controller
This also adds me as a reviewer for the Endpoints controller.
2021-01-31 22:34:39 -08:00
chymy
ed6475ae48 migrate pkg/scheduler/internal/cache/debugger/comparer.go to structured logs
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-01 11:20:05 +08:00
Dave Chen
fe5a266a03 Include UnschedulableAndUnresolvable nodes into the status map
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-02-01 10:49:43 +08:00
Kubernetes Prow Robot
081f68d685
Merge pull request #97999 from llhuii/hack-version-script-fix-err-to-stdout
hack/lib/version.sh: fix error log to stderr
2021-01-31 08:39:48 -08:00
drfish
b9ab8768b6 Remove duplicated error log in framework 2021-01-31 17:17:03 +08:00
drfish
0c3d8b9720 Organize framework unit tests in subtests 2021-01-31 13:34:52 +08:00
Clayton Coleman
9f288610eb
serializer: Recognizer interface should take a buffer
The original intent of the Recognizer interface was to take a stream
and peek into the contents. Over time all of the callers migrated
to instead performing their own peek and then passing the buffer
as a bytes.NewBuffer to the interface as a stream, which was then
implemented as a read on the other side. This resulted in an
excess buffer allocation in general decoder usage.

Update the interface to take a []bytes slice and change all callers
to stop creating buffered readers, then update the JSON serializer
to check the buffer directly for "json-ness".
2021-01-31 00:27:42 -05:00
llhuii
36aa8a24ce hack/lib/version.sh: fix error log to stderr
Since this invalid Semantic Version messages redirecting to stdout
will be captured by line 790 at hack/lib/golang.sh:
`goldflags="${GOLDFLAGS=-s -w -buildid=} $(kube::version::ldflags)"`

This happens when only no valid tag exists in repo
2021-01-31 00:40:53 +08:00
Kubernetes Prow Robot
c241a237f9
Merge pull request #98587 from mtaufen/said-test
Move ServiceAccountIssuerDiscovery test into main e2e suite
2021-01-30 04:03:48 -08:00