|
|
@@ -146,7 +146,7 @@ cephClusterSpec:
|
|
|
# serve the dashboard under a subpath (useful when you are accessing the dashboard via a reverse proxy)
|
|
|
urlPrefix: /ceph-dashboard
|
|
|
# serve the dashboard at the given port.
|
|
|
- port: 8443
|
|
|
+ port: 8080
|
|
|
# Serve the dashboard using SSL (if using ingress to expose the dashboard and `ssl: true` you need to set
|
|
|
# the corresponding "backend protocol" annotation(s) for your ingress controller of choice)
|
|
|
ssl: false
|
|
|
@@ -231,72 +231,72 @@ cephClusterSpec:
|
|
|
# To control where various services will be scheduled by kubernetes, use the placement configuration sections below.
|
|
|
# The example under 'all' would have all services scheduled on kubernetes nodes labeled with 'role=storage-node' and
|
|
|
# tolerate taints with a key of 'storage-node'.
|
|
|
- placement:
|
|
|
- all:
|
|
|
- nodeAffinity:
|
|
|
- requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
- nodeSelectorTerms:
|
|
|
- - matchExpressions:
|
|
|
- - key: role
|
|
|
- operator: In
|
|
|
- values:
|
|
|
- - storage-node
|
|
|
- podAffinity:
|
|
|
- podAntiAffinity:
|
|
|
- topologySpreadConstraints:
|
|
|
- tolerations:
|
|
|
- - key: storage-node
|
|
|
- operator: Exists
|
|
|
+ placement:
|
|
|
+ all:
|
|
|
+ nodeAffinity:
|
|
|
+ requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
+ nodeSelectorTerms:
|
|
|
+ - matchExpressions:
|
|
|
+ - key: all
|
|
|
+ operator: In
|
|
|
+ values:
|
|
|
+ - all
|
|
|
+ podAffinity:
|
|
|
+ podAntiAffinity:
|
|
|
+ topologySpreadConstraints:
|
|
|
+ tolerations:
|
|
|
+ - key: all
|
|
|
+ operator: Exists
|
|
|
# # The above placement information can also be specified for mon, osd, and mgr components
|
|
|
- mon:
|
|
|
- nodeAffinity:
|
|
|
- requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
- nodeSelectorTerms:
|
|
|
- - matchExpressions:
|
|
|
- - key: ceph-node-type
|
|
|
- operator: In
|
|
|
- values:
|
|
|
- - mon
|
|
|
- podAffinity:
|
|
|
- podAntiAffinity:
|
|
|
- topologySpreadConstraints:
|
|
|
- tolerations:
|
|
|
- - key: mon
|
|
|
- operator: Exists
|
|
|
+ mon:
|
|
|
+ nodeAffinity:
|
|
|
+ requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
+ nodeSelectorTerms:
|
|
|
+ - matchExpressions:
|
|
|
+ - key: mon
|
|
|
+ operator: In
|
|
|
+ values:
|
|
|
+ - mon
|
|
|
+ podAffinity:
|
|
|
+ podAntiAffinity:
|
|
|
+ topologySpreadConstraints:
|
|
|
+ tolerations:
|
|
|
+ - key: mon
|
|
|
+ operator: Exists
|
|
|
# # Monitor deployments may contain an anti-affinity rule for avoiding monitor
|
|
|
# # collocation on the same node. This is a required rule when host network is used
|
|
|
# # or when AllowMultiplePerNode is false. Otherwise this anti-affinity rule is a
|
|
|
# # preferred rule with weight: 50.
|
|
|
- osd:
|
|
|
- nodeAffinity:
|
|
|
- requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
- nodeSelectorTerms:
|
|
|
- - matchExpressions:
|
|
|
- - key: ceph-node-type
|
|
|
- operator: In
|
|
|
- values:
|
|
|
- - osd
|
|
|
- podAffinity:
|
|
|
- podAntiAffinity:
|
|
|
- topologySpreadConstraints:
|
|
|
- tolerations:
|
|
|
- - key: osd
|
|
|
- operator: Exists
|
|
|
- mgr:
|
|
|
- nodeAffinity:
|
|
|
- requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
- nodeSelectorTerms:
|
|
|
- - matchExpressions:
|
|
|
- - key: ceph-node-type
|
|
|
- operator: In
|
|
|
- values:
|
|
|
- - mon
|
|
|
- podAffinity:
|
|
|
- podAntiAffinity:
|
|
|
- topologySpreadConstraints:
|
|
|
- tolerations:
|
|
|
- - key: mon
|
|
|
- operator: Exists
|
|
|
+ osd:
|
|
|
+ nodeAffinity:
|
|
|
+ requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
+ nodeSelectorTerms:
|
|
|
+ - matchExpressions:
|
|
|
+ - key: osd
|
|
|
+ operator: In
|
|
|
+ values:
|
|
|
+ - osd
|
|
|
+ podAffinity:
|
|
|
+ podAntiAffinity:
|
|
|
+ topologySpreadConstraints:
|
|
|
+ tolerations:
|
|
|
+ - key: osd
|
|
|
+ operator: Exists
|
|
|
+ mgr:
|
|
|
+ nodeAffinity:
|
|
|
+ requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
+ nodeSelectorTerms:
|
|
|
+ - matchExpressions:
|
|
|
+ - key: mgr
|
|
|
+ operator: In
|
|
|
+ values:
|
|
|
+ - mgr
|
|
|
+ podAffinity:
|
|
|
+ podAntiAffinity:
|
|
|
+ topologySpreadConstraints:
|
|
|
+ tolerations:
|
|
|
+ - key: mgr
|
|
|
+ operator: Exists
|
|
|
# cleanup:
|
|
|
|
|
|
# annotations:
|