apache / apache/doris-operator
[Bug] Cannot set persistent volume claim storage size for FE
- Dominant language
- Go
- Stars
- 138
- Forks
- 72
- Avg merge
- 5d 12h
- Merged PRs (30d)
- 3
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris-operator/issues?q=is%3Aissue) and found no similar issues.
### Version
24.1.0
### What's Wrong?
Currently cannot set the persistent volume claim storage size for FE as any value configured other than 100Gi get's set to 100Gi.
```yaml
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
apiVersion: disaggregated.cluster.doris.com/v1
kind: DorisDisaggregatedCluster
metadata:
name: test-disaggregated-cluster
spec:
metaService:
image: selectdb/doris.ms-ubuntu:3.0.2
configMaps:
- name: ms-configmap
fdb:
# address: ${fdb_endpoint}
configMapNamespaceName:
name: ${fdb-configmap}
namespace: ${fdb-namespace}
feSpec:
replicas: 2
image: selectdb/doris.fe-ubuntu:3.0.2
persistentVolume:
# logNotStore: true
persistentVolumeClaimSpec:
# storageClassName: ${storageclass_name}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
computeGroups:
- uniqueId: cg1
replicas: 3
image: selectdb/doris.be-ubuntu:3.0.2
persistentVolume:
# logNotStore: true
persistentVolumeClaimSpec:
# storageClassName: ${storageclass_name}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
- uniqueId: cg2
replicas: 3
image: selectdb/doris.be-ubuntu:3.0.2
persistentVolume:
# logNotStore: true
persistentVolumeClaimSpec:
# storageClassName: ${storageclass_name}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
```
10Gi gets interpreted as 100Gi.
```
feSpec:
replicas: 2
image: selectdb/doris.fe-ubuntu:3.0.2
persistentVolume:
# logNotStore: true
persistentVolumeClaimSpec:
# storageClassName: ${storageclass_name}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
```
### What You Expected?
Expect storage size to match configured value of persistent volume claim template.
### How to Reproduce?
_No response_
### Anything Else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.