Files
my-rook-config/deploy/examples
subhamkrai 6f5cc9b01d osd: limit storageClassDeviceSets to 63 chars
there are some cases where storageClassDeviceSets length
are more 63 chars and osd provisioned failed due to this.
with error
```
 failed to run osd provisioning job for PVC "ocs-deviceset-*-local-volume-storageclass-0-data-*": Job.batch "rook-ceph-osd-prepare-*" is invalid: [spec.template.spec.volumes[10].name: Invalid value: "ocs-deviceset-*-local-volume-storageclass-0-data-*": must be no more than 63 characters, spec.template.spec.containers[0].volumeMounts[9].name: Not found: "ocs-deviceset-*-local-volume-storageclass-0-data-*",
```

Using x-validator to limit the maxLength to the deviceClassSet.Name to
40 chars and adding code check that overall pvc name should be less than
63 chars.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-05-03 10:52:18 +05:30
..
2024-02-07 17:36:59 -07:00
2021-11-30 09:12:53 +01:00
2024-03-11 21:01:53 +05:30
2021-11-30 09:12:53 +01:00
2024-02-07 17:36:59 -07:00
2021-11-30 09:12:53 +01:00
2024-03-08 13:43:25 +05:30
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00

For documentation on running Rook in your Kubernetes cluster see the Kubernetes Quickstart Guide