Commit 1bc403a
seperate servers for training and prediction
Add APIs for the instantiated plugins to the EPP Handle (kubernetes-sigs#1039)
* Added plugin instance APIs to plugins.Handle
Signed-off-by: Shmuel Kallner <[email protected]>
* An implementation of the new plugins.Handle APIs
Signed-off-by: Shmuel Kallner <[email protected]>
* Moved all configuration loading code to new package
Signed-off-by: Shmuel Kallner <[email protected]>
* Updates due to new and moved APIs
Signed-off-by: Shmuel Kallner <[email protected]>
* Cleanup of old configuration loading code
Signed-off-by: Shmuel Kallner <[email protected]>
---------
Signed-off-by: Shmuel Kallner <[email protected]>
chore(deps): bump the kubernetes group with 6 updates (kubernetes-sigs#1050)
Bumps the kubernetes group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.33.1` | `0.33.2` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.33.1` | `0.33.2` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.33.1` | `0.33.2` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.33.1` | `0.33.2` |
| [k8s.io/code-generator](https://github.com/kubernetes/code-generator) | `0.33.1` | `0.33.2` |
| [k8s.io/component-base](https://github.com/kubernetes/component-base) | `0.33.1` | `0.33.2` |
Updates `k8s.io/api` from 0.33.1 to 0.33.2
- [Commits](kubernetes/api@v0.33.1...v0.33.2)
Updates `k8s.io/apiextensions-apiserver` from 0.33.1 to 0.33.2
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.33.1...v0.33.2)
Updates `k8s.io/apimachinery` from 0.33.1 to 0.33.2
- [Commits](kubernetes/apimachinery@v0.33.1...v0.33.2)
Updates `k8s.io/client-go` from 0.33.1 to 0.33.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.33.1...v0.33.2)
Updates `k8s.io/code-generator` from 0.33.1 to 0.33.2
- [Commits](kubernetes/code-generator@v0.33.1...v0.33.2)
Updates `k8s.io/component-base` from 0.33.1 to 0.33.2
- [Commits](kubernetes/component-base@v0.33.1...v0.33.2)
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
- dependency-name: k8s.io/apiextensions-apiserver
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
- dependency-name: k8s.io/apimachinery
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
- dependency-name: k8s.io/client-go
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
- dependency-name: k8s.io/code-generator
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
- dependency-name: k8s.io/component-base
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kubernetes
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
remove datastore dependency from the scheduler (kubernetes-sigs#1049)
* remove datastore dependency from the scheduler
Signed-off-by: Nir Rozenbaum <[email protected]>
* added back comments on snapshotting pods from datastore before calling schedule
Signed-off-by: Nir Rozenbaum <[email protected]>
* removed fake datastore from conformance scheduler test
Signed-off-by: Nir Rozenbaum <[email protected]>
---------
Signed-off-by: Nir Rozenbaum <[email protected]>
Add subsetting logic for epp (kubernetes-sigs#981)
feat: Added a factory function for the DecisionTree filter (kubernetes-sigs#1053)
* Added a factory function for the DecisionTreeFilter
Signed-off-by: Shmuel Kallner <[email protected]>
* Added tests of the factory function of the DecisionTreeFilter
Signed-off-by: Shmuel Kallner <[email protected]>
* Registered the factory function of the DecisionTreeFilter
Signed-off-by: Shmuel Kallner <[email protected]>
* Refactored the configuration loading
Signed-off-by: Shmuel Kallner <[email protected]>
---------
Signed-off-by: Shmuel Kallner <[email protected]>
Adding pprof endpoints to metrics port (kubernetes-sigs#1069)
feat: Add a context.Context to the plugins.HAndle interface (kubernetes-sigs#1076)
* Added a context.Context to the plugins.Handle interface
Signed-off-by: Shmuel Kallner <[email protected]>
* Changes due to changes in internal APIs
Signed-off-by: Shmuel Kallner <[email protected]>
* Changes to tests due to changes in internal APIs
Signed-off-by: Shmuel Kallner <[email protected]>
---------
Signed-off-by: Shmuel Kallner <[email protected]>
convert subset filter from a plugin to logic in director (kubernetes-sigs#1088)
* convert subset filter from a plugin to logic in director
Signed-off-by: Nir Rozenbaum <[email protected]>
* replace interface{} with any
Signed-off-by: Nir Rozenbaum <[email protected]>
* make linter happy
Signed-off-by: Nir Rozenbaum <[email protected]>
* address code review comments
Signed-off-by: Nir Rozenbaum <[email protected]>
---------
Signed-off-by: Nir Rozenbaum <[email protected]>
chore(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 (kubernetes-sigs#1096)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.14.0 to 0.15.0.
- [Commits](golang/sync@v0.14.0...v0.15.0)
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Introduce plugins.TypedName to be used for Plugin base implementation (kubernetes-sigs#1086)
* introduce TypedName to reduce boilerplate, modify plugins
Signed-off-by: Etai Lev Ran <[email protected]>
* implement GetTypedName()
Signed-off-by: Etai Lev Ran <[email protected]>
* Remove Type() and Name() from Plugin interface
Signed-off-by: Etai Lev Ran <[email protected]>
* use TypedName as private field, not embedded
Signed-off-by: Etai Lev Ran <[email protected]>
---------
Signed-off-by: Etai Lev Ran <[email protected]>
move the conversion from pod metrics to scheduler pod representation one level up (kubernetes-sigs#1104)
* move the converstion from pod metrics to scheduler pod representation one level up
Signed-off-by: Nir Rozenbaum <[email protected]>
* minor change in helper func
Signed-off-by: Nir Rozenbaum <[email protected]>
---------
Signed-off-by: Nir Rozenbaum <[email protected]>
handle picking multiple destinations in scheduling layer (kubernetes-sigs#1059)
* implement multiple destination as the output of the scheduler
Signed-off-by: Nir Rozenbaum <[email protected]>
* updated max score picker unit tests to cover multiple pods
Signed-off-by: Nir Rozenbaum <[email protected]>
* imports
Signed-off-by: Nir Rozenbaum <[email protected]>
* unit-test fix
Signed-off-by: Nir Rozenbaum <[email protected]>
---------
Signed-off-by: Nir Rozenbaum <[email protected]>
refactor: 🔨 use the more explicit singular form (kubernetes-sigs#1129)1 parent 075d458 commit 1bc403a
File tree
39 files changed
+6787
-213
lines changed- cmd/epp/runner
- config/manifests
- conformance/testing-epp
- latencypredictor-v1
- __pycache__
- manifests
- pkg
- bbr/handlers
- epp
- config/loader
- handlers
- latencypredictorasync
- requestcontrol
- scheduling
- framework/plugins
- filter
- picker
- scorer
- types
- test
- integration
- bbr
- utils
39 files changed
+6787
-213
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
328 | 333 | | |
329 | 334 | | |
330 | 335 | | |
| |||
368 | 373 | | |
369 | 374 | | |
370 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
371 | 385 | | |
372 | | - | |
| 386 | + | |
373 | 387 | | |
374 | 388 | | |
375 | 389 | | |
376 | 390 | | |
377 | 391 | | |
378 | | - | |
379 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
380 | 395 | | |
381 | 396 | | |
382 | 397 | | |
383 | 398 | | |
384 | | - | |
385 | 399 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
397 | 405 | | |
398 | | - | |
399 | | - | |
400 | | - | |
| 406 | + | |
| 407 | + | |
401 | 408 | | |
| 409 | + | |
402 | 410 | | |
403 | 411 | | |
404 | 412 | | |
| |||
418 | 426 | | |
419 | 427 | | |
420 | 428 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
433 | 443 | | |
434 | 444 | | |
435 | 445 | | |
| |||
507 | 517 | | |
508 | 518 | | |
509 | 519 | | |
510 | | - | |
| 520 | + | |
511 | 521 | | |
512 | 522 | | |
513 | 523 | | |
514 | | - | |
| 524 | + | |
515 | 525 | | |
516 | 526 | | |
517 | 527 | | |
518 | 528 | | |
519 | 529 | | |
520 | 530 | | |
521 | 531 | | |
522 | | - | |
| 532 | + | |
523 | 533 | | |
524 | 534 | | |
525 | 535 | | |
| |||
529 | 539 | | |
530 | 540 | | |
531 | 541 | | |
532 | | - | |
| 542 | + | |
533 | 543 | | |
534 | 544 | | |
535 | 545 | | |
536 | | - | |
| 546 | + | |
537 | 547 | | |
538 | 548 | | |
539 | 549 | | |
540 | 550 | | |
541 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
542 | 577 | | |
543 | 578 | | |
544 | 579 | | |
| |||
652 | 687 | | |
653 | 688 | | |
654 | 689 | | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
0 commit comments