|
13 | 13 |
|
14 | 14 | <!-- overview -->
|
15 | 15 |
|
16 |
| -Kubernetes reserves all labels, annotations and taints in the `kubernetes.io` and `k8s.io` namespaces. |
| 16 | +Kubernetes reserves all labels and annotations in the `kubernetes.io` and `k8s.io` namespaces. |
17 | 17 |
|
18 | 18 | This document serves both as a reference to the values and as a coordination point for assigning values.
|
19 | 19 |
|
@@ -408,6 +408,170 @@ which is used by Kustomize and similar third-party tools.
|
408 | 408 | A KRM Function **should not** modify this annotation on input objects unless it is modifying the
|
409 | 409 | referenced files. A KRM Function **may** include this annotation on objects it generates.
|
410 | 410 |
|
| 411 | +### kube-scheduler-simulator.sigs.k8s.io/bind-result |
| 412 | + |
| 413 | +Type: Annotation |
| 414 | + |
| 415 | +Example: `kube-scheduler-simulator.sigs.k8s.io/bind-result: '{"DefaultBinder":"success"}'` |
| 416 | + |
| 417 | +Used on: Pod |
| 418 | + |
| 419 | +This annotation records the result of bind scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 420 | + |
| 421 | +### kube-scheduler-simulator.sigs.k8s.io/filter-result |
| 422 | + |
| 423 | +Type: Annotation |
| 424 | + |
| 425 | +Example: |
| 426 | + |
| 427 | +```yaml |
| 428 | +kube-scheduler-simulator.sigs.k8s.io/filter-result: >- |
| 429 | + {"node-282x7":{"AzureDiskLimits":"passed","EBSLimits":"passed","GCEPDLimits":"passed","InterPodAffinity":"passed","NodeAffinity":"passed","NodeName":"passed","NodePorts":"passed","NodeResourcesFit":"passed","NodeUnschedulable":"passed","NodeVolumeLimits":"passed","PodTopologySpread":"passed","TaintToleration":"passed","VolumeBinding":"passed","VolumeRestrictions":"passed","VolumeZone":"passed"},"node-gp9t4":{"AzureDiskLimits":"passed","EBSLimits":"passed","GCEPDLimits":"passed","InterPodAffinity":"passed","NodeAffinity":"passed","NodeName":"passed","NodePorts":"passed","NodeResourcesFit":"passed","NodeUnschedulable":"passed","NodeVolumeLimits":"passed","PodTopologySpread":"passed","TaintToleration":"passed","VolumeBinding":"passed","VolumeRestrictions":"passed","VolumeZone":"passed"}} |
| 430 | +``` |
| 431 | +
|
| 432 | +Used on: Pod |
| 433 | +
|
| 434 | +This annotation records the result of filter scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 435 | +
|
| 436 | +### kube-scheduler-simulator.sigs.k8s.io/finalscore-result |
| 437 | +
|
| 438 | +Type: Annotation |
| 439 | +
|
| 440 | +Example: |
| 441 | +
|
| 442 | +```yaml |
| 443 | +kube-scheduler-simulator.sigs.k8s.io/finalscore-result: >- |
| 444 | + {"node-282x7":{"ImageLocality":"0","InterPodAffinity":"0","NodeAffinity":"0","NodeNumber":"0","NodeResourcesBalancedAllocation":"76","NodeResourcesFit":"73","PodTopologySpread":"200","TaintToleration":"300","VolumeBinding":"0"},"node-gp9t4":{"ImageLocality":"0","InterPodAffinity":"0","NodeAffinity":"0","NodeNumber":"0","NodeResourcesBalancedAllocation":"76","NodeResourcesFit":"73","PodTopologySpread":"200","TaintToleration":"300","VolumeBinding":"0"}} |
| 445 | +``` |
| 446 | +
|
| 447 | +Used on: Pod |
| 448 | +
|
| 449 | +This annotation records the final scores that the scheduler calculates from the scores from score scheduler plugins, |
| 450 | +used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 451 | +
|
| 452 | +### kube-scheduler-simulator.sigs.k8s.io/permit-result |
| 453 | +
|
| 454 | +Type: Annotation |
| 455 | +
|
| 456 | +Example: `kube-scheduler-simulator.sigs.k8s.io/permit-result: '{"CustomPermitPlugin":"success"}'` |
| 457 | + |
| 458 | +Used on: Pod |
| 459 | + |
| 460 | +This annotation records the result of permit scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 461 | + |
| 462 | +### kube-scheduler-simulator.sigs.k8s.io/permit-result-timeout |
| 463 | + |
| 464 | +Type: Annotation |
| 465 | + |
| 466 | +Example: `kube-scheduler-simulator.sigs.k8s.io/permit-result-timeout: '{"CustomPermitPlugin":"10s"}'` |
| 467 | + |
| 468 | +Used on: Pod |
| 469 | + |
| 470 | +This annotation records the timeouts returned from permit scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 471 | + |
| 472 | +### kube-scheduler-simulator.sigs.k8s.io/postfilter-result |
| 473 | + |
| 474 | +Type: Annotation |
| 475 | + |
| 476 | +Example: `kube-scheduler-simulator.sigs.k8s.io/postfilter-result: '{"DefaultPreemption":"success"}'` |
| 477 | + |
| 478 | +Used on: Pod |
| 479 | + |
| 480 | +This annotation records the result of postfilter scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 481 | + |
| 482 | +### kube-scheduler-simulator.sigs.k8s.io/prebind-result |
| 483 | + |
| 484 | +Type: Annotation |
| 485 | + |
| 486 | +Example: `kube-scheduler-simulator.sigs.k8s.io/prebind-result: '{"VolumeBinding":"success"}'` |
| 487 | + |
| 488 | +Used on: Pod |
| 489 | + |
| 490 | +This annotation records the result of prebind scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 491 | + |
| 492 | +### kube-scheduler-simulator.sigs.k8s.io/prefilter-result |
| 493 | + |
| 494 | +Type: Annotation |
| 495 | + |
| 496 | +Example: `kube-scheduler-simulator.sigs.k8s.io/prebind-result: '{"NodeAffinity":"[\"node-\a"]"}'` |
| 497 | + |
| 498 | +Used on: Pod |
| 499 | + |
| 500 | +This annotation records the PreFilter result of prefilter scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 501 | + |
| 502 | +### kube-scheduler-simulator.sigs.k8s.io/prefilter-result-status |
| 503 | + |
| 504 | +Type: Annotation |
| 505 | + |
| 506 | +Example: |
| 507 | + |
| 508 | +```yaml |
| 509 | +kube-scheduler-simulator.sigs.k8s.io/prefilter-result-status: >- |
| 510 | + {"InterPodAffinity":"success","NodeAffinity":"success","NodePorts":"success","NodeResourcesFit":"success","PodTopologySpread":"success","VolumeBinding":"success","VolumeRestrictions":"success"} |
| 511 | +``` |
| 512 | + |
| 513 | +Used on: Pod |
| 514 | + |
| 515 | +This annotation records the result of prefilter scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 516 | + |
| 517 | +### kube-scheduler-simulator.sigs.k8s.io/prescore-result |
| 518 | + |
| 519 | +Type: Annotation |
| 520 | + |
| 521 | +Example: |
| 522 | + |
| 523 | +```yaml |
| 524 | + kube-scheduler-simulator.sigs.k8s.io/prescore-result: >- |
| 525 | + {"InterPodAffinity":"success","NodeAffinity":"success","NodeNumber":"success","PodTopologySpread":"success","TaintToleration":"success"} |
| 526 | +``` |
| 527 | + |
| 528 | +Used on: Pod |
| 529 | + |
| 530 | +This annotation records the result of prefilter scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 531 | + |
| 532 | +### kube-scheduler-simulator.sigs.k8s.io/reserve-result |
| 533 | + |
| 534 | +Type: Annotation |
| 535 | + |
| 536 | +Example: `kube-scheduler-simulator.sigs.k8s.io/reserve-result: '{"VolumeBinding":"success"}'` |
| 537 | + |
| 538 | +Used on: Pod |
| 539 | + |
| 540 | +This annotation records the result of reserve scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 541 | + |
| 542 | +### kube-scheduler-simulator.sigs.k8s.io/result-history |
| 543 | + |
| 544 | +Type: Annotation |
| 545 | + |
| 546 | +Example: `kube-scheduler-simulator.sigs.k8s.io/result-history: '[]'` |
| 547 | + |
| 548 | +Used on: Pod |
| 549 | + |
| 550 | +This annotation records all the past scheduling results from scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 551 | + |
| 552 | +### kube-scheduler-simulator.sigs.k8s.io/score-result |
| 553 | + |
| 554 | +Type: Annotation |
| 555 | + |
| 556 | +```yaml |
| 557 | + kube-scheduler-simulator.sigs.k8s.io/score-result: >- |
| 558 | + {"node-282x7":{"ImageLocality":"0","InterPodAffinity":"0","NodeAffinity":"0","NodeNumber":"0","NodeResourcesBalancedAllocation":"76","NodeResourcesFit":"73","PodTopologySpread":"0","TaintToleration":"0","VolumeBinding":"0"},"node-gp9t4":{"ImageLocality":"0","InterPodAffinity":"0","NodeAffinity":"0","NodeNumber":"0","NodeResourcesBalancedAllocation":"76","NodeResourcesFit":"73","PodTopologySpread":"0","TaintToleration":"0","VolumeBinding":"0"}} |
| 559 | +``` |
| 560 | + |
| 561 | +Used on: Pod |
| 562 | + |
| 563 | +This annotation records the result of score scheduler plugins, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 564 | + |
| 565 | +### kube-scheduler-simulator.sigs.k8s.io/selected-node |
| 566 | + |
| 567 | +Type: Annotation |
| 568 | + |
| 569 | +Example: `kube-scheduler-simulator.sigs.k8s.io/selected-node: node-282x7` |
| 570 | + |
| 571 | +Used on: Pod |
| 572 | + |
| 573 | +This annotation records the node that is selected by the scheduling cycle, used by https://sigs.k8s.io/kube-scheduler-simulator. |
| 574 | + |
411 | 575 | ### kubernetes.io/arch
|
412 | 576 |
|
413 | 577 | Type: Label
|
|
0 commit comments