Kubernetes Prow Robot
b4db96464b
Merge pull request #88002 from alculquicondor/rm_affinity_weight_2
...
Remove HardPodAffinitySymmetricWeight from v1alpha2 Component Config
2020-02-13 14:13:25 -08:00
Kubernetes Prow Robot
a53b25ae92
Merge pull request #87923 from ingvagabund/move-direct-prometheus-metrics-under-component-base-metrics
...
Collect some of scheduling metrics and scheduling throughput (vol. 2)
2020-02-13 14:13:11 -08:00
Aldo Culquicondor
99bda6fac0
Remove HardPodAffinityWeight from v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-13 11:59:56 -05:00
Jan Chaloupka
7b5534021c
Collect some of scheduling metrics and scheduling throughput
...
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.
Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds
Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-13 13:32:09 +01:00
Kubernetes Prow Robot
8ca96f3e07
Merge pull request #80724 from cceckman/provider-info-e2e
...
Provide OIDC discovery for service account token issuer
2020-02-13 01:38:35 -08:00
skilxn-go
f5b7e3cca3
Rename PostFilter
plugin to PreScore
2020-02-12 23:25:08 +08:00
Kubernetes Prow Robot
52fb02fdbe
Merge pull request #87718 from wojtek-t/kubelet_not_watching_immutable_secret_configmaps
...
WatchBasedManager stops watching immutable objects
2020-02-11 23:14:33 -08:00
Charles Eckman
5a176ac772
Provide OIDC discovery endpoints
...
- Add handlers for service account issuer metadata.
- Add option to manually override JWKS URI.
- Add unit and integration tests.
- Add a separate ServiceAccountIssuerDiscovery feature gate.
Additional notes:
- If not explicitly overridden, the JWKS URI will be based on
the API server's external address and port.
- The metadata server is configured with the validating key set rather
than the signing key set. This allows for key rotation because tokens
can still be validated by the keys exposed in the JWKs URL, even if the
signing key has been rotated (note this may still be a short window if
tokens have short lifetimes).
- The trust model of OIDC discovery requires that the relying party
fetch the issuer metadata via HTTPS; the trust of the issuer metadata
comes from the server presenting a TLS certificate with a trust chain
back to the from the relying party's root(s) of trust. For tests, we use
a local issuer (https://kubernetes.default.svc ) for the certificate
so that workloads within the cluster can authenticate it when fetching
OIDC metadata. An API server cannot validly claim https://kubernetes.io ,
but within the cluster, it is the authority for kubernetes.default.svc,
according to the in-cluster config.
Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-02-11 16:23:31 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Kubernetes Prow Robot
334d788f08
Merge pull request #87299 from mikedanese/ctx
...
context in client-go
2020-02-08 06:43:52 -08:00
Kubernetes Prow Robot
b61f89dd25
Merge pull request #85321 from MikeSpreitzer/apf-printers
...
Added server-side printers for API priority and fairness
2020-02-07 18:31:58 -08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Kubernetes Prow Robot
888bfd62c3
Merge pull request #87897 from kubernetes/revert-85861-scheduler-perf-collect-data-items-from-metrics
...
Revert "Collect some of scheduling metrics and scheduling throughput"
2020-02-07 05:58:06 -08:00
Kubernetes Prow Robot
9c1e124b15
Merge pull request #87823 from tallclair/test-tokens
...
Ensure testing credentials are labeled as such
2020-02-06 17:47:29 -08:00
Mike Danese
38ecb30c58
Revert "Collect some of scheduling metrics and scheduling throughput"
2020-02-06 10:18:00 -08:00
Kubernetes Prow Robot
6858c25ee4
Merge pull request #85861 from ingvagabund/scheduler-perf-collect-data-items-from-metrics
...
Collect some of scheduling metrics and scheduling throughput
2020-02-06 07:05:34 -08:00
Tim Allclair
9d3670f358
Ensure testing credentials are labeled as such
2020-02-04 10:36:05 -08:00
Kubernetes Prow Robot
d52ecd5f70
Merge pull request #86430 from wojtek-t/avoid_thundering_herd_on_etcd
...
Avoid thundering herd of relists on etcd
2020-02-03 23:09:25 -08:00
Jan Chaloupka
8a1c4a5a88
Collect some of scheduling metrics and scheduling throughput
...
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.
Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds
Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-02 18:02:49 +01:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
...
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
wojtekt
b11b7d354d
WatchBasedManager stops watching immutable objects
2020-01-31 20:53:21 +01:00
Jordan Liggitt
82107ff8ab
Restore statefulset conversion that populates apiVersion/kind in volume templates
2020-01-31 07:47:35 -05:00
wojtekt
5dcf08c199
Switch pager to return whether the result was paginated
2020-01-31 11:50:23 +01:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
YuikoTakada
03974c1ea4
Fix static check failures in test/integration/deployment
2020-01-28 06:08:37 +00:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
...
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
03cb6afc1a
Merge pull request #87442 from jennybuckley/smd-3
...
Update structured-merge-diff dependency to v3
2020-01-22 20:37:26 -08:00
Aldo Culquicondor
4a5ab84dcc
Move default binding to a plugin
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-22 14:13:33 -05:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
jennybuckley
b33fbc84d9
Update Structured Merge Diff to V3
2020-01-21 15:23:13 -08:00
Mike Spreitzer
ce12105edc
Added server-side printers for the API object types for API priority and fairness
2020-01-20 01:49:05 -05:00
Kubernetes Prow Robot
08dd4f5478
Merge pull request #87357 from yutedz/apisvr-flow-cntl
...
Add flowcontrol to apiVersionPriorities
2020-01-19 17:07:36 -08:00
Ted Yu
34f0767137
Add flowcontrol to apiVersionPriorities
2020-01-19 14:16:46 -08:00
Kubernetes Prow Robot
3538320d74
Merge pull request #87165 from alculquicondor/cleanup/mv_snapshot_2
...
Move Snapshot to internal/cache
2020-01-17 17:14:07 -08:00
Aldo Culquicondor
f53d7e55df
Move Snapshot from nodeinfo/snapshot to internal/cache
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 13:29:41 -05:00
Kubernetes Prow Robot
127a2edafd
Merge pull request #87298 from mikedanese/prectx
...
rename some declartions named context in tests
2020-01-17 10:14:57 -08:00
Wei Huang
c712230ac1
Implement default queue sort logic as a scheduler plugin
2020-01-16 19:10:43 -08:00
Mike Danese
d86fcd8c90
rename some declartions named context in tests
2020-01-16 15:09:28 -08:00
notpad
372d09cd15
Add integration test for NodeResourceLimits plugin
2020-01-15 08:12:58 +08:00
Kubernetes Prow Robot
2c800c5a70
Merge pull request #86985 from ahg-g/ahg-cleanup4
...
Remove test/integration dependency on predicates and algorithmprovider
2020-01-08 21:29:58 -08:00
Kubernetes Prow Robot
4d41f4809f
Merge pull request #86890 from damemi/move-selector-spread-to-plugin
...
Move selector spreading priority code to plugin
2020-01-08 21:29:45 -08:00
Abdullah Gharaibeh
c86f59610c
remove test/integration dependency on predicates and algorithmprovider
2020-01-08 19:51:22 -05:00
Kubernetes Prow Robot
8046feb2b3
Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
...
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00
Mike Dame
d227b7822f
Move selector spreading priority code to plugin
2020-01-08 13:37:37 -05:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
...
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
gavinfish
68532e0c0f
Remove redundant nil check
2020-01-08 15:28:46 +08:00
tanjunchen
8d313f333e
staticcheck:test/integration/master/
2020-01-07 21:56:37 +08:00
tanjunchen
264a1cf5f6
staticcheck:test/integration/auth/
2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
...
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Abdullah Gharaibeh
d31dcecd20
cleanup unused scheduler functions/files
2020-01-03 19:09:14 -05:00
SataQiu
17b0b77026
fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-03 17:23:35 +08:00
Kubernetes Prow Robot
b3c4c90a72
Merge pull request #86673 from ahg-g/ahg1-provider
...
Define algorithm providers in terms of plugins
2020-01-02 22:25:53 -08:00
Kubernetes Prow Robot
cc5144ff13
Merge pull request #86160 from notpad/feautre/scheduler_perf
...
Define workloads specs by YAML
2020-01-02 19:15:41 -08:00
Abdullah Gharaibeh
b535ed3b0c
Merge scheduler's ConfigProducerRegistry into LegacyRegistry
2020-01-02 16:40:33 -05:00
Aresforchina
bf47d14c27
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
36db62cd73
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
...
Output test description in TestPreemption
2019-12-30 23:15:39 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
...
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
Kenichi Omichi
00abe6d505
Output test description in TestPreemption
...
Now we are facing flake test of TestPreemption due to less available
node. TestPreemption consists of multiple test cases and the resource
is shared in them.
At this time, we cannot see what test cases run before the flake
happens. So it is better to know that to distinguish the cleanup of
pods is not completed or not.
2019-12-31 00:14:03 +00:00
Kenichi Omichi
43d9748d3a
Add error handling for Register() call
...
Register() can return an error as [1], so this adds the error handling.
[1]: f772c9017c/pkg/scheduler/framework/v1alpha1/registry.go (L56)
2019-12-30 23:35:26 +00:00
SataQiu
8c77b96b75
fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 13:35:13 +08:00
Kubernetes Prow Robot
4158e7c1de
Merge pull request #85123 from danielqsj/apierrs
...
Unify aliases for "k8s.io/apimachinery/pkg/api/errors"
2019-12-26 17:59:38 -08:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
Abdullah Gharaibeh
2b3df3587e
Deprecate scheduler predicate and priority factory registration
2019-12-25 20:33:08 -05:00
Abdullah Gharaibeh
fe7de96ebe
cleanup scheduler's in-tree plugins registry naming
2019-12-24 15:56:36 -05:00
SataQiu
21c916c3d2
move Taint and toleration predicate to its Score plugin
2019-12-24 19:22:12 +08:00
Abdullah Gharaibeh
119a9a94d1
InterPodAffinity Priority as Score plugin
2019-12-19 13:42:49 -05:00
notpad
6511b603c9
Define workloads specs by YAML
2019-12-19 09:08:11 +08:00
Abdullah Gharaibeh
b3abfdc9e4
registered nodeports and noderesources prefilters
2019-12-17 07:29:37 -05:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
...
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
...
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Jordan Liggitt
749eea7e0f
Prune server-side print exemption list
2019-12-13 12:23:39 -05:00
Jordan Liggitt
0387cc7cb3
Update generated files
2019-12-13 12:23:39 -05:00
Jordan Liggitt
f2f22b84cd
Delete ReplicationControllerDummy
2019-12-13 12:21:33 -05:00
Jordan Liggitt
18ba6f9482
Remove references to unserved types
2019-12-13 12:21:33 -05:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
Kubernetes Prow Robot
c34d140241
Merge pull request #86129 from damemi/remove-priority-code
...
Remove priority execution path from prioritizeNodes in generic_scheduler
2019-12-13 01:41:04 -08:00
Mike Dame
255ab6d2c3
Remove priority execution paths in favor of score plugins
...
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Abdullah Gharaibeh
2fdf1fa3c1
inter-pod affinity prefilter
2019-12-12 15:20:14 -05:00
Wei Huang
dc3d1bd238
Eliminate running paths of Predicates in scheduler
...
- eliminate running paths of Predicates in scheduler; use Filter Plugins instead.
- refactor all unit tests
- adjust the TestPreemptWithPermitPlugin integration test
2019-12-10 19:14:13 -08:00
Abdullah Gharaibeh
a051c591a1
Fix inter-pod affinity scheduler benchmarks
2019-12-10 10:00:28 -05:00
tanjunchen
06c5901769
fix staticcheck in test/integration/apiserver
2019-12-06 23:05:20 +08:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
...
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Kubernetes Prow Robot
a3718d7653
Merge pull request #85872 from ahg-g/ahg-affinity-pref
...
Perf benchmarks for preferred (anti)pod affinity
2019-12-05 09:02:33 -08:00
Abdullah Gharaibeh
da67bcbd35
added benchmarks for preferred (anti)pod affinity
2019-12-05 10:50:00 -05:00
Kubernetes Prow Robot
9acdf52877
Merge pull request #85744 from tanjunchen/fix-golint-problems
...
Fix golint issues in test/e2e/lifecycle/
2019-12-03 19:44:57 -08:00
Nan Yu
1fb0dd4ec5
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-03 14:26:35 -08:00
tanjunchen
d2d68026fc
Fix golint issues in test/e2e/lifecycle/
2019-12-03 17:14:38 +08:00
Kubernetes Prow Robot
19ee1ea9fa
Merge pull request #85810 from liggitt/disable-webhook-ratelimit
...
Ensure webhook backend requests are not artificially rate-limited
2019-12-02 15:03:09 -08:00
Abdullah Gharaibeh
e9c400aabc
update scheduler benchmarks to be more representative
2019-12-02 13:19:14 -05:00
Jordan Liggitt
d620493b74
Ensure webhook backend requests are not artificially rate-limited
2019-12-02 12:01:51 -05:00
Kubernetes Prow Robot
0efe584db6
Merge pull request #85513 from liu-cong/benchmark-fix
...
Fix benchmark artifact parsing.
2019-11-27 16:41:03 -08:00
Kubernetes Prow Robot
4a8205b6fd
Merge pull request #85620 from msau42/debug-integration
...
decrease test pv controller resync period to try to deflake api update conflicts
2019-11-26 19:43:40 -08:00
Michelle Au
a3a4320aff
Wait for PV to be available before creating PVCs in volume binding test
2019-11-26 17:13:13 -08:00
Michelle Au
5b1fb221b6
increase pv controller resync period to try to deflake api update conflicts
2019-11-26 15:28:20 -08:00
Cong Liu
016ab0b899
Fix benchmark artifact parsing.
...
* Added a extractor to extract raw logs from json format and then pipe
it into benchmark parser.
* Also added -alsologtostderr=false -logtostderr=false to reduce noisy logs.
2019-11-26 13:47:12 -05:00
Ted Yu
1cb3992d1b
Switch storage version to use v1.CSINode in 1.18
2019-11-25 19:14:09 -08:00
David Zhu
21f7060c8f
Plumb test state through to fake volume host creation for error handling
2019-11-18 14:45:01 -08:00
Kubernetes Prow Robot
e0529008d0
Merge pull request #85370 from mikedanese/expcache
...
fix terrible bug and inline GC for expiring cache
2019-11-16 00:29:40 -08:00
Mike Danese
d16dde36a3
inline GC in expiring cache
...
This allows us to drop the background goroutine with negligable
difference in performance.
2019-11-15 17:50:31 -08:00
David Zhu
1a47bf54e2
De-race some CSI unit tests that were initializing the plugin manager…ger (and plugins) twice. Set some const variables earlier to support node info manager initialization and wait for initialization to complete before finishing plugin setup.
2019-11-15 11:23:32 -08:00
Anish Ramasekar
796faba4ac
Allow multiple node cidr masks in cm
...
update tests
add comment
amend var name
update comment
add check for empty slice
fix tests
fix mask size in test
review feedback
add ipv4 and ipv6 flag for mask sizes
add to violation exception list
remove import alias
run update-openapi-spec
review feedback
run update-bazel
review feedback
review feedback
2019-11-14 20:04:31 -08:00
Kubernetes Prow Robot
19b4017b5d
Merge pull request #84424 from mikedanese/expcache
...
Add an expiring cache for the caching token authenticator
2019-11-14 17:50:06 -08:00
Mike Danese
3f194d5b41
migrate token cache to cache.Expiring
2019-11-14 13:50:15 -08:00
Kubernetes Prow Robot
567b13487f
Merge pull request #85162 from apelisse/strip-nullable
...
Strip nullable for Server-side apply
2019-11-14 11:19:48 -08:00
Kubernetes Prow Robot
fa1ca34550
Merge pull request #85236 from liu-cong/metrics-bucket
...
Update bucket for scheduler framework latency histograms.
2019-11-13 17:29:17 -08:00
Kubernetes Prow Robot
64f4be5b32
Merge pull request #84390 from robscott/endpointslice-beta
...
Promoting EndpointSlices to beta
2019-11-13 17:27:50 -08:00
Kubernetes Prow Robot
02af1dd62c
Merge pull request #85004 from deads2k/dynamic-agg-cert
...
dynamic reload cluster authentication info for aggregated API servers
2019-11-13 14:50:54 -08:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta
2019-11-13 14:20:19 -08:00
Cong Liu
8995c1e030
Update bucket for scheduler framework latency histograms.
2019-11-13 16:35:59 -05:00
Kubernetes Prow Robot
7d1580270a
Merge pull request #85151 from hypnoglow/scheduler-default-algo-source
...
scheduler: make algorithm source an option
2019-11-13 13:04:09 -08:00
Antoine Pelisse
5038f80b45
Strip nullable for Server-side apply
2019-11-13 10:43:51 -08:00
David Eads
3fbfe60ed2
make client authentication optional for test kube-apiserver
2019-11-13 10:25:28 -05:00
David Eads
3aede35b3b
dynamic reload cluster authentication info for aggregated API servers
2019-11-13 07:54:27 -05:00
Igor Zibarev
6350095d3c
scheduler: make algorithm source an option
...
Changes scheduler.New so that algorithm source is moved from the
parameter to an option. The default algorithm source is source with the
DefaultProvider.
2019-11-13 10:22:29 +03:00
David Eads
e44352f31a
create utilities inspecting server TLS certs
2019-11-12 12:34:19 -05:00
Rob Scott
0fa9981e01
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-12 09:03:53 -08:00
Kubernetes Prow Robot
681d22428b
Merge pull request #84768 from liggitt/delegated-authnz-v1
...
switch delegated authnz to v1 APIs
2019-11-12 04:48:35 -08:00
Kubernetes Prow Robot
01e014c7d6
Merge pull request #85012 from alculquicondor/feat/predicate_factory
...
Add MetadataProducerFactory for predicates
2019-11-11 14:46:36 -08:00
Jordan Liggitt
5ef4fe959a
Switch kubelet/aggregated API servers to use v1 tokenreviews
2019-11-11 17:19:10 -05:00
Aldo Culquicondor
6a98c93f3c
Add MetadataProducerFactory for predicates
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-11 11:27:44 -05:00
David Eads
2d4fa51a6d
close scheduler kube-apiserver
2019-11-11 08:04:22 -05:00
Kubernetes Prow Robot
6d0994fa66
Merge pull request #84796 from damemi/fix-graceful-shutdown
...
Fixed error check in graceful shutdown test
2019-11-11 00:05:40 -08:00
Kubernetes Prow Robot
36acfecd4b
Merge pull request #84973 from draveness/feature/inter-pod-affinity-score
...
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-09 02:43:40 -08:00
Wei Huang
b6b92b6075
Update test logic to simulate NodeReady/False and NodeReady/Unknown events correctly
...
- optimize code to use one loop to spin up goroutines
- add `defer cleanupTest()` to avoid goroutine leaks
- use only one heartbeat channel
2019-11-08 12:41:47 -08:00
Kubernetes Prow Robot
15f586a6c1
Merge pull request #84963 from liggitt/feature-json-codes
...
Fix json patch limit check
2019-11-08 10:12:51 -08:00
Kubernetes Prow Robot
ae15368355
Merge pull request #84351 from wojtek-t/promote_node_lease_to_GA
...
Promote node lease to GA
2019-11-08 09:00:15 -08:00
draveness
715068312a
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-08 15:37:33 +08:00
Jordan Liggitt
3d5f11bda3
Add testcases covering large valid patches
2019-11-07 22:58:46 -05:00
Kubernetes Prow Robot
9dfcc369b4
Merge pull request #84864 from deads2k/optional-verify-opts
...
allow a verifyoptionsfunc to indicate that no certpool is available
2019-11-07 17:39:14 -08:00
Kubernetes Prow Robot
62f66ea2f5
Merge pull request #84905 from draveness/feature/remove-deprecated-priority-register
...
feat(scheduler): remove deprecated pattern in scheduler priority
2019-11-07 13:28:34 -08:00
David Eads
cd675cca92
close the kube-apiserver for taint tests
2019-11-07 14:48:24 -05:00
Kubernetes Prow Robot
d22e04c181
Merge pull request #84337 from hex108/cancel_context
...
Cancel context when RunPermitPlugins finishes
2019-11-07 09:04:10 -08:00
Kubernetes Prow Robot
a5fe905be4
Merge pull request #82705 from deads2k/agg-authn-publish
...
use controller to publish cluster authentication info
2019-11-07 09:03:10 -08:00
draveness
3bb88356f4
feat(scheduler): remove deprecated pattern in scheduler priority
2019-11-07 22:43:07 +08:00
Kubernetes Prow Robot
eb42df3e9c
Merge pull request #81670 from liggitt/wardle-example
...
Change wardle.k8s.io to wardle.example.com
2019-11-07 01:54:42 -08:00
Jordan Liggitt
297570e06a
hack/update-vendor.sh
2019-11-06 17:42:34 -05:00
Jordan Liggitt
264c905a78
Fixup integration tests for TLS1.3
2019-11-06 17:39:05 -05:00
Kubernetes Prow Robot
b09b962d96
Merge pull request #84746 from Huang-Wei/move-sched-constrants
...
Move out const strings in pkg/scheduler/api/well_known_labels.go
2019-11-06 12:20:06 -08:00
David Eads
7ab462b639
add close server missing from serviceaccount test
2019-11-06 10:17:19 -05:00
David Eads
7351c86860
publish cluster authentication trust via controller
2019-11-06 10:17:19 -05:00
draveness
089e85e098
feat: convert selector spread priority to score plugin
2019-11-06 15:48:29 +08:00
Kubernetes Prow Robot
2aeacf025b
Merge pull request #84723 from hypnoglow/fix-golint-kubeapiserver
...
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:18:20 -08:00
Wei Huang
019d7497a5
bazel files
2019-11-05 20:57:21 -08:00
Wei Huang
dd74205bcf
Move out const strings in pkg/scheduler/api/well_known_labels.go
2019-11-05 20:56:21 -08:00
Kubernetes Prow Robot
75aca1fe03
Merge pull request #84795 from ahg-g/ahg-custom
...
Convert multiple node label predicates to be a single filter plugin
2019-11-05 11:45:11 -08:00
Igor Zibarev
03dfa1a641
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:25:32 +03:00
Kubernetes Prow Robot
b01ac96bd4
Merge pull request #84770 from mikedanese/uuid
...
remove github.com/pborman/uuid
2019-11-05 08:47:05 -08:00
Abdullah Gharaibeh
134baa50b9
Convert multiple node label predicates to be a single filter plugin.
2019-11-05 10:34:51 -05:00
Mike Dame
75f0712be2
Fix typo in error reporting in graceful shutdown test
2019-11-05 08:35:20 -05:00
Kubernetes Prow Robot
ee309ced7e
Merge pull request #84766 from Huang-Wei/tbe-flake
...
Fix a TaintBasedEviction integration test flake
2019-11-05 04:54:38 -08:00
wojtekt
ffad401b4e
Promote NodeLease feature to GA
2019-11-05 09:01:12 +01:00
Mike Danese
a4ca9e6c93
migrate callers to g/g/uuid
2019-11-04 23:15:29 -08:00
Wei Huang
8021fc5a37
Fix a TaintBasedEviction integration test flake
2019-11-04 19:46:50 -08:00
Kubernetes Prow Robot
1d1385af91
Merge pull request #83474 from msau42/topology-ga
...
CSI Topology ga
2019-11-04 15:28:27 -08:00
Jordan Liggitt
f0e33fee21
Change wardle API group to wardle.example.com
2019-11-04 12:57:16 -05:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
...
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Wei Huang
703a669db3
autogen files
...
- make generated_files
- update-bazel.sh & update-vendor.sh)
2019-11-01 14:38:09 -07:00
Wei Huang
c649666b4a
manual API changes and code refactoring
...
- add Policy API to pkg/scheduler/apis/config and staging/src/k8s.io/kube-scheduler/config/v1
- dual-register Policy as apiGroup "v1" and "kubescheduler.config.k8s.io
- move/merge pkg/scheduler/api to pkg/scheduler/apis/config/...
- alias schedulerapi to pkg/scheduler/apis/config
- alias legacyapi to pkg/scheduler/api
- eliminate latest.Codec; use scheme.Codecs instead
- unit tests to verify Policy YAML with version "v1" or "kubescheduler.config.k8s.io/v1" can be loaded properly
- update api/api-rules/violation_exceptions.list
2019-11-01 14:24:36 -07:00
Kubernetes Prow Robot
c7bb076ade
Merge pull request #84303 from jackkleeman/dynamic-sni-cert
...
Dynamic SNI certificates
2019-10-31 01:25:51 -07:00
Abdullah Gharaibeh
c6baa263a3
Update priorities to use SharedLister instead of using the snapshot directly
2019-10-29 16:22:00 -04:00
Jun Gong
81b705960f
Cancel context to make sure all plugins are cancelled when each schedule finishes
2019-10-29 22:37:59 +08:00
Kubernetes Prow Robot
a2eb319b31
Merge pull request #84450 from gongguan/fix_scheduler_predicate_test
...
Uncomment interpod affinity integration tests
2019-10-29 01:34:58 -07:00
yue9944882
6db3edff10
[generated] ./hack/update-all.sh
...
generated
generated
generated
rule
generated
generated
2019-10-29 12:59:17 +08:00
yue9944882
7c28a4b70e
non-generated api models misc
...
rule list
rule
rule 2
2019-10-29 12:26:12 +08:00
Michelle Au
fb6dfeb718
Convert attach-detach controller to use v1.CSINode
2019-10-28 13:41:13 -07:00
Michelle Au
2d467ed9d8
Update tests to use v1.CSINode
2019-10-28 13:41:13 -07:00
Michelle Au
603a2aa8a9
Add CSINode to storage/v1
2019-10-28 13:41:13 -07:00
louisgong
7d996aa97f
fix TestInterPodAffinity case
2019-10-28 21:30:32 +08:00
Marek Siarkowicz
09329b5bbc
Remove prometheus references in test/integration
...
This PR does minimal changes to interface to allow removing all
references to prometheus from `test` directory. In future I would expect
wrapping prometheus samples to provide better abstraction. Changes:
Move generic_metrics.go to testutil/metrics.go
Remove etcd.go as it was not called
Move prometheus label consts to testutil.
2019-10-28 11:40:32 +01:00
Jack Kleeman
d9adf535f3
Dynamic SNI certificates
...
Reload SNI certificate cert and key file from disk every minute and notify
the dynamic certificate controller when they change, allowing serving
tls config to be updated.
2019-10-25 16:38:51 +01:00
Kubernetes Prow Robot
09f453ff83
Merge pull request #83987 from wenjiaswe/etcd_client_3_4_2
...
Update etcd client to v3.4.3 in k8s v1.17
2019-10-25 08:29:39 -07:00
Kubernetes Prow Robot
04632e84e1
Merge pull request #84200 from jackkleeman/dynamic-serving-cert
...
Dynamic serving certificates
2019-10-24 16:56:19 -07:00
Wenjia Zhang
660b17d0ae
Pin dependencies and update vendors
2019-10-24 14:09:24 -07:00
Wenjia Zhang
9ead9373f3
Resolve uncompatibility from update: etcd CAFile -> TrustedCAFIle
2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a
Replace github.com/coreos/etcd by go.etcd.io/etcd
2019-10-24 14:09:24 -07:00
Jack Kleeman
4e99b5d26a
Add integration test for serving cert rotation
2019-10-24 09:15:44 +01:00
Kubernetes Prow Robot
0f1a8054f9
Merge pull request #83579 from deads2k/dynamic-cert-file-ca-bundle
...
Dynamic cert file ca bundle
2019-10-23 12:49:27 -07:00
David Eads
6beb96261e
wire up a means to dynamically reload ca bundles for kube-apiserver
2019-10-23 11:01:56 -04:00
draveness
35d772e354
feat: graduate ScheduleDaemonSetPods to GA
2019-10-23 21:34:47 +08:00
Kubernetes Prow Robot
3ff376923d
Merge pull request #83971 from yutedz/err-start-master
...
Log the error before calling closeFn
2019-10-21 22:31:21 -07:00
Ted Yu
79dfd42718
Log the error even if closeFn crashes
2019-10-21 16:41:54 -07:00
louisgong
70ca08ec89
filter plugin for cloud provider storage predicate
2019-10-21 23:56:23 +08:00
zouyee
04340eaa34
rename FilterPlugin NodeResources
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-20 12:51:16 +08:00
Kubernetes Prow Robot
e1685b5b59
Merge pull request #84074 from zouyee/proirity
...
LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
2019-10-19 17:21:37 -07:00
Kubernetes Prow Robot
7e53c9d808
Merge pull request #83756 from hex108/permit
...
Refactor scheduler's framework permit API
2019-10-19 06:47:37 -07:00
zouyee
408c9da2a6
LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-19 20:49:05 +08:00
draveness
00a12c787c
feat: implement node unschedulable as a filter plugin
2019-10-19 17:29:25 +08:00
Jun Gong
38b7668bb3
Refactor scheduler's framework permit API
2019-10-19 16:22:39 +08:00
draveness
1163a1d51e
feat: update taint nodes by condition to GA
2019-10-19 09:17:41 +08:00
Kubernetes Prow Robot
27c679baca
Merge pull request #83982 from lichuqiang/frame_mig1
...
[migration phase 1] MatchInterPodAffinity as filter plugin
2019-10-18 09:23:58 -07:00
Kubernetes Prow Robot
422256110e
Merge pull request #84073 from draveness/feature/cleanup-framework-plugins
...
feat: several cleanups in the scheduling package
2019-10-18 04:43:57 -07:00
lichuqiang
671f7690fe
[migration phase 1] MatchInterPodAffinity as filter plugin
2019-10-18 16:26:34 +08:00
Kubernetes Prow Robot
d1a79f136b
Merge pull request #84054 from ahg-g/ahg-gp
...
GeneralPredicate as framework plugin config
2019-10-17 21:19:58 -07:00
draveness
39af760930
feat: several cleanups in the scheduling package
...
+ Remove unused variable in tests.
+ Use more common statement for interface conformance check.
+ Fix several comments in the framework plugins.
2019-10-18 11:14:05 +08:00
Kubernetes Prow Robot
91050062f9
Merge pull request #83894 from notpad/feature/migration_nodevolumelimit
...
[migration phase 1] CSIMaxVolumeLimitChecker as filter plugin
2019-10-17 19:50:41 -07:00
Kubernetes Prow Robot
ae474606f1
Merge pull request #83831 from yuxiaobo96/k8s-check2
...
Remove direct references to prometheus from transformation_testcase.go
2019-10-17 19:49:58 -07:00
Kubernetes Prow Robot
1f8b3bfd98
Merge pull request #83811 from immutableT/single-kms-mock
...
Use single kms-plugin mock in unit and integration tests.
2019-10-17 18:17:57 -07:00
immutablet
4d24b41410
Use single kms-plugin mock in unit and integration tests.
2019-10-17 13:46:03 -07:00
Kubernetes Prow Robot
fef819254a
Merge pull request #83998 from draveness/feature/node-affinity-score-plugin
...
feat(scheduler): implement node affinity as score plugin
2019-10-17 08:24:38 -07:00
Abdullah Gharaibeh
517116921b
GeneralPredicate as plugin config
2019-10-17 11:13:57 -04:00
notpad
f06925b0ee
[migration phase 1] CSIMaxVolumeLimitChecker as filter plugin
2019-10-17 22:04:02 +08:00
Kubernetes Prow Robot
534051acec
Merge pull request #84036 from Huang-Wei/tbe-int-test-issue
...
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions
2019-10-17 05:12:50 -07:00
draveness
3d74da4d53
feat(scheduler): implement node affinity as score plugin
2019-10-17 17:02:10 +08:00
Kubernetes Prow Robot
bdc3f96838
Merge pull request #83989 from wojtek-t/remove_coordination_v1beta1
...
Swtich nodelifecyclecontroller to coordination/v1
2019-10-17 01:47:29 -07:00
Wei Huang
fbcc3c183a
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions
2019-10-17 01:25:12 -07:00
draveness
47a6c5b693
feat(scheduler): use context in the scheduler package
...
+ Use context instead of stopCh
+ Add context to the scheduling framework interface
2019-10-17 09:03:55 +08:00
Kubernetes Prow Robot
cb19b56831
Merge pull request #83419 from deads2k/insecure-backend-proxy
...
Insecure backend proxy
2019-10-16 13:58:38 -07:00
Kubernetes Prow Robot
0e2383df15
Merge pull request #83893 from draveness/feature/node-prefer-avoid-pods
...
feat(scheduler): implement NodePreferAvoidPods as score plugin
2019-10-16 11:37:30 -07:00
David Eads
867ee1d5ff
add insecurebackendproxy
2019-10-16 11:43:17 -04:00
wojtekt
cf9203501e
Swtich nodelifecyclecontroller to coordination/v1
2019-10-16 10:59:02 +02:00
draveness
e5a23f8dda
fix: scheduler perf test with pod informer
2019-10-15 13:54:45 +08:00
draveness
2d7044a556
feat(scheduler): implement NodePreferAvoidPods as score plugin
2019-10-14 21:21:24 +08:00
notpad
4ff7251026
[migration phase 1] VolumeZoneChecker as filter plugin
2019-10-14 07:45:40 +08:00
Kubernetes Prow Robot
dd5cb6426d
Merge pull request #83849 from draveness/feature/node-locality-as-score-plugin
...
feat: implement imagelocality as a score plugin
2019-10-13 06:36:35 -07:00
yuxiaobo
3346d3d18f
Remove direct references to prometheus from transformation_testcase.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-13 20:36:39 +08:00
draveness
6f6618fc5d
feat: implement imagelocality as a score plugin
2019-10-13 19:58:21 +08:00
Ahmad Diaa
4448a1cea9
move factory package to scheduler
2019-10-12 23:03:07 +02:00
notpad
9e426a6be1
[migration phase 1] NoDiskConflict as filter plugin
2019-10-12 08:00:44 +08:00
Kubernetes Prow Robot
77b86c4adf
Merge pull request #83764 from cofyc/fix83635
...
[migration phase 1] Implement CheckVolumeBinding as a filter plugin
2019-10-11 09:29:52 -07:00
Kubernetes Prow Robot
c980000176
Merge pull request #83663 from draveness/feature/add-shared-informers-factory
...
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 09:29:40 -07:00
Yecheng Fu
e8795562f9
[migration phase 1] Implement CheckVolumeBinding as a filter plugin
2019-10-11 20:35:11 +08:00
Kubernetes Prow Robot
c1a735c642
Merge pull request #83601 from ahg-g/ahg-migration-priority
...
Implemented taints and tolerations priority function as a Score plugin
2019-10-11 00:05:50 -07:00
draveness
ee4dec65b5
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 10:23:21 +08:00
Kubernetes Prow Robot
a5e6ac0a95
Merge pull request #83694 from ahg-g/ahg-adv-config
...
[migration phase 1] Make scheduler cache, volume binder and listers available when registering default plugins
2019-10-10 19:00:21 -07:00
Kubernetes Prow Robot
242d806672
Merge pull request #83587 from timothysc/testing-OWNERS
...
Audit of test/* OWNERS files
2019-10-10 19:00:00 -07:00
Abdullah Gharaibeh
7429b0fe86
Implemented taints and tolerations priority function as a Score plugin
2019-10-10 17:49:40 -04:00
Timothy St. Clair
97055841b1
Audit of test/* OWNERS files
2019-10-10 15:52:51 -05:00
Abdullah Gharaibeh
456df97745
made scheduler cache and volume binder available when instantiating factories for default plugins
2019-10-10 16:21:29 -04:00
Solly Ross
40aea0c70d
Validation: len is measured in bytes
...
The `TooLong` validation message mentioned characters, but the `len`
function actually measures bytes, no characters. This switches it over
to use bytes.
Characters are mostly an illusory concept anyway -- a vain attempt to
shield our minds against the lovecraftian nightmares that comes from
attemping to truly comprehend that eldritch treatise known as the
Unicode standard. Which is to say: measuring things in characters is
hard and mostly ambiguous, and probably not what we meant to do.
2019-10-10 09:48:49 -07:00
Kubernetes Prow Robot
1f81255070
Merge pull request #83460 from ahg-g/ahg-first-predicate
...
[migration phase 1] Implement PodToleratesNodeTaint as a filter plugin
2019-10-05 14:07:11 -07:00
Abdullah Gharaibeh
66386fdf49
Added the first predicate as a filter plugin: PodToleratesNodeTaints.
2019-10-05 08:43:17 -04:00
Kubernetes Prow Robot
a8e8e54f7a
Merge pull request #81816 from jennybuckley/apply-cap-managers
...
[server-side apply] Cap the number of managedFields entries for updates at 10
2019-10-05 03:15:11 -07:00
Kubernetes Prow Robot
285dd49444
Merge pull request #81885 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-kubelet-test-integration
...
Fix `test/integration/kubelet` staticcheck failures
2019-10-05 00:59:13 -07:00
Abdullah Gharaibeh
043166f54b
Modified the name of the Extensions method in the scheduler's framework.
2019-10-04 15:53:06 -04:00
mattjmcnaughton
bd6d411010
Fix test/integration/kubelet
staticcheck failures
...
`test/integration/kubelet` was failing staticcheck because it was
calling `t.Fatal` from the non-main Go routine. Address this by sending
errors causing t.Fatal back to a channel. The main thread can then
iterate through this channel, and call t.Fatal if there are any errors
in the channel.
2019-10-04 11:37:59 -04:00
draveness
c73ff9749b
feat(scheduler): rename PluginContext to CycleState
2019-10-04 17:30:36 +08:00
jennybuckley
61b19c7298
Cap the number of managedFields entries for updates at 10
2019-10-03 16:24:58 -07:00
jennybuckley
d72260b9da
Refactor fieldmanager to be more modular
2019-10-03 16:24:58 -07:00
Kubernetes Prow Robot
0a17315e18
Merge pull request #83418 from ahg-g/ahg-first-priority
...
Refactor scheduler.New so that all framework-related parameters are options
2019-10-03 10:00:11 -07:00
Abdullah Gharaibeh
30e7016ccf
Refactor scheduler.New so that all framework-related parameters are passed as options
2019-10-03 11:39:59 -04:00
Kubernetes Prow Robot
5fbda60c14
Merge pull request #82077 from deads2k/poststart
...
add ability to pre-configure poststarthooks for apiservers
2019-10-03 08:16:10 -07:00
Kubernetes Prow Robot
4afcba42be
Merge pull request #83261 from liggitt/yaml-limits
...
limit yaml/json decode size
2019-10-02 20:28:08 -07:00
Jordan Liggitt
8ef4566cef
Limit YAML/JSON decode size
2019-10-02 21:52:19 -04:00
draveness
9769d49bb5
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 11:24:25 +08:00
Kubernetes Prow Robot
dc0013a506
Merge pull request #83365 from notpad/feature/83244
...
A consistent interface for plugin extended functionality
2019-10-01 13:01:11 -07:00
Wei Huang
a01259ef6f
bazel and codegen files
2019-10-01 09:51:40 -07:00
Wei Huang
cbdb4e3fdb
refactor scheduler extender related API
...
- move extender related API from pkg/scheduler/api to pkg/scheduler/apis/extender/v1
- alias extenderv1 to pkg/scheduler/apis/extender/v1
- use NodeScore and NodeScoreList in non-extender logic
2019-10-01 09:51:24 -07:00
notpad
fc55e74741
A consistent interface for plugin extended functionality
2019-10-01 23:59:48 +08:00
David Eads
f14f4c933e
add ability to pre-configure poststarthooks for apiservers
2019-10-01 09:08:18 -04:00
Jordan Liggitt
c7932e18b5
Deflake TestWatchBasedManager
2019-09-27 12:23:35 -04:00