Skip to content

Commit

Permalink
Merge pull request #2088 from zimnx/deprecate-cpuset
Browse files Browse the repository at this point in the history
Deprecate cpuset field in v1.ScyllaCluster
  • Loading branch information
scylla-operator-bot[bot] committed Aug 21, 2024
2 parents eb6c012 + 0ab6cc1 commit 6b54d8d
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ spec:
type: object
type: array
cpuset:
description: cpuset determines if the cluster will use cpu-pinning for max performance.
description: 'cpuset determines if the cluster will use cpu-pinning. Deprecated: `cpuset` is deprecated and may be ignored in the future.'
type: boolean
datacenter:
description: datacenter holds a specification of a datacenter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object
- backups specifies backup tasks in Scylla Manager. When Scylla Manager is not installed, these will be ignored.
* - cpuset
- boolean
- cpuset determines if the cluster will use cpu-pinning for max performance.
- cpuset determines if the cluster will use cpu-pinning. Deprecated: `cpuset` is deprecated and may be ignored in the future.
* - :ref:`datacenter<api-scylla.scylladb.com-scyllaclusters-v1-.spec.datacenter>`
- object
- datacenter holds a specification of a datacenter.
Expand Down
1 change: 0 additions & 1 deletion examples/eks/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ metadata:
spec:
agentVersion: 3.3.0
version: 5.4.3
cpuset: true
sysctls:
- "fs.aio-max-nr=2097152"
datacenter:
Expand Down
1 change: 0 additions & 1 deletion examples/gke/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ metadata:
spec:
agentVersion: 3.3.0
version: 5.4.3
cpuset: true
automaticOrphanedNodeCleanup: true
sysctls:
- "fs.aio-max-nr=2097152"
Expand Down
2 changes: 1 addition & 1 deletion helm/scylla-manager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
"type": "array"
},
"cpuset": {
"description": "cpuset determines if the cluster will use cpu-pinning for max performance.",
"description": "cpuset determines if the cluster will use cpu-pinning. Deprecated: `cpuset` is deprecated and may be ignored in the future.",
"type": "boolean"
},
"datacenter": {
Expand Down
2 changes: 1 addition & 1 deletion helm/scylla/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"type": "array"
},
"cpuset": {
"description": "cpuset determines if the cluster will use cpu-pinning for max performance.",
"description": "cpuset determines if the cluster will use cpu-pinning. Deprecated: `cpuset` is deprecated and may be ignored in the future.",
"type": "boolean"
},
"datacenter": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/scylla/v1/scylla.scylladb.com_scyllaclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
type: object
type: array
cpuset:
description: cpuset determines if the cluster will use cpu-pinning for max performance.
description: 'cpuset determines if the cluster will use cpu-pinning. Deprecated: `cpuset` is deprecated and may be ignored in the future.'
type: boolean
datacenter:
description: datacenter holds a specification of a datacenter.
Expand Down
3 changes: 2 additions & 1 deletion pkg/api/scylla/v1/types_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ type ScyllaClusterSpec struct {
// +optional
DeveloperMode bool `json:"developerMode,omitempty"`

// cpuset determines if the cluster will use cpu-pinning for max performance.
// cpuset determines if the cluster will use cpu-pinning.
// Deprecated: `cpuset` is deprecated and may be ignored in the future.
// +optional
CpuSet bool `json:"cpuset,omitempty"`

Expand Down

0 comments on commit 6b54d8d

Please sign in to comment.