Skip to content

Commit

Permalink
Merge pull request #913 from topolvm/change-making-critical-pod
Browse files Browse the repository at this point in the history
Change a way to mark pods as critical add-on
  • Loading branch information
satoru-takeuchi committed May 15, 2024
2 parents deffe3b + 6dd6236 commit 69fcfe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/topolvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ See [Getting Started](https://github.com/topolvm/topolvm/blob/topolvm-chart-v14.
| scheduler.options.listen.port | int | `9251` | Listen port. |
| scheduler.podDisruptionBudget.enabled | bool | `true` | Specify podDisruptionBudget enabled. |
| scheduler.podLabels | object | `{}` | Additional labels to be set on the scheduler pods. |
| scheduler.priorityClassName | string | `nil` | Specify priorityClassName on the Deployment or DaemonSet. |
| scheduler.priorityClassName | string | `"system-cluster-critical"` | Specify priorityClassName on the Deployment or DaemonSet. |
| scheduler.schedulerOptions | object | `{}` | Tune the Node scoring. ref: https://github.com/topolvm/topolvm/blob/master/deploy/README.md |
| scheduler.service.clusterIP | string | `nil` | Specify Service clusterIP. |
| scheduler.service.nodePort | int | `nil` | Specify nodePort. |
| scheduler.service.type | string | `"LoadBalancer"` | Specify Service type. |
| scheduler.terminationGracePeriodSeconds | int | `nil` | Specify terminationGracePeriodSeconds on the Deployment or DaemonSet. |
| scheduler.tolerations | list | `[{"key":"CriticalAddonsOnly","operator":"Exists"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane"}]` | Specify tolerations on the Deployment or DaemonSet. # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
| scheduler.tolerations | list | `[{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane"}]` | Specify tolerations on the Deployment or DaemonSet. # ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
| scheduler.type | string | `"daemonset"` | If you run with a managed control plane (such as GKE, AKS, etc), topolvm-scheduler should be deployed as Deployment and Service. topolvm-scheduler should otherwise be deployed as DaemonSet in unmanaged (i.e. bare metal) deployments. possible values: daemonset/deployment |
| scheduler.updateStrategy | object | `{}` | Specify updateStrategy on the Deployment or DaemonSet. |
| securityContext.runAsGroup | int | `10000` | Specify runAsGroup. |
Expand Down
4 changes: 1 addition & 3 deletions charts/topolvm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ scheduler:
# scheduler.tolerations -- Specify tolerations on the Deployment or DaemonSet.
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule

Expand All @@ -102,7 +100,7 @@ scheduler:
nodeSelector: {}

# scheduler.priorityClassName -- Specify priorityClassName on the Deployment or DaemonSet.
priorityClassName:
priorityClassName: system-cluster-critical

# scheduler.schedulerOptions -- Tune the Node scoring.
# ref: https://github.com/topolvm/topolvm/blob/master/deploy/README.md
Expand Down

0 comments on commit 69fcfe6

Please sign in to comment.