Skip to content

Add some clarification to KubeSchedulerConfiguration#18151

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
rifelpet:kubescheduler-docs
Apr 3, 2026
Merged

Add some clarification to KubeSchedulerConfiguration#18151
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
rifelpet:kubescheduler-docs

Conversation

@rifelpet
Copy link
Copy Markdown
Member

@rifelpet rifelpet commented Apr 3, 2026

Closes #18139

@k8s-ci-robot k8s-ci-robot requested review from hakman and zetaab April 3, 2026 01:26
@k8s-ci-robot k8s-ci-robot added area/documentation size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 3, 2026
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 3, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 3, 2026
@hakman
Copy link
Copy Markdown
Member

hakman commented Apr 3, 2026

Text only PR...
/override pull-kops-e2e-k8s-aws-amazonvpc
/override pull-kops-e2e-k8s-aws-calico
/override pull-kops-e2e-k8s-gce-cilium
/override pull-kops-e2e-k8s-gce-ipalias

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-k8s-aws-amazonvpc, pull-kops-e2e-k8s-aws-calico, pull-kops-e2e-k8s-gce-cilium, pull-kops-e2e-k8s-gce-ipalias

Details

In response to this:

Text only PR...
/override pull-kops-e2e-k8s-aws-amazonvpc
/override pull-kops-e2e-k8s-aws-calico
/override pull-kops-e2e-k8s-gce-cilium
/override pull-kops-e2e-k8s-gce-ipalias

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot merged commit 9d65247 into kubernetes:master Apr 3, 2026
26 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.36 milestone Apr 3, 2026
Comment thread docs/addon_objects.md
Comment on lines +40 to +41
Fields set in `spec.kubeScheduler` (see [cluster_spec.md](cluster_spec.md#kubescheduler)) are merged on top of the KubeSchedulerConfiguration object.
This allows you to use KubeSchedulerConfiguration for advanced settings like scheduler profiles and plugins, while using `spec.kubeScheduler` for simpler fields.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect if cluster's spec.kubeScheduler and KubeSchedulerConfiguration passed via --add are merged, it is not related to the way how we porvide this configuration - via fileAssets, in which case we must define a complete resource spec as it will be used as-is

Comment thread docs/addon_objects.md
Comment on lines +17 to +23
When creating a new cluster, you can use the `--add` flag (requires the `ClusterAddons` feature flag):

```
export KOPS_FEATURE_FLAGS=ClusterAddons
kops create cluster --name=my.cluster.k8s.local --zones us-east-2a --add scheduler-config.yaml
kops update cluster --name=my.cluster.k8s.local --yes --admin
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can recall sir Justin said on kubecon that resources passed via --add won't persist with subsequent cluster updates...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/documentation cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve kube-scheduler Configuration Documentation

4 participants