Datanode storage.storageClassName seems to be ignored
morigs opened this issue · 1 comments
morigs commented
storageclass.storage.k8s.io "standard" not found
Cluster manifest
apiVersion: greptime.io/v1alpha1
kind: GreptimeDBCluster
metadata:
annotations:
meta.helm.sh/release-name: testdb
meta.helm.sh/release-namespace: greptime
creationTimestamp: "2023-03-06T17:51:30Z"
finalizers:
- greptimedbcluster.greptime.io/finalizer
generation: 2
labels:
app.kubernetes.io/managed-by: Helm
name: testdb
namespace: greptime
resourceVersion: "2154161"
uid: ff459b09-ab25-4feb-bcae-a9e8d2bbd69d
spec:
base:
main:
image: docker.io/greptime/greptimedb:0.1.0-alpha-20230220-weekly
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 250m
memory: 64Mi
datanode:
replicas: 3
storage:
storageClassName: hostpath
storageRetainPolicy: Retain
storageSize: 10Gi
frontend:
replicas: 1
service: {}
grpcServicePort: 4001
httpServicePort: 4000
initializer:
image: docker.io/greptime/greptimedb-initializer:0.1.0-alpha.9
meta:
etcdEndpoints:
- etcd.greptime.svc.cluster.local:2379
replicas: 1
mysqlServicePort: 4002
openTSDBServicePort: 4242
postgresServicePort: 4003
status:
clusterPhase: Starting
datanode:
readyReplicas: 0
replicas: 3
frontend:
readyReplicas: 0
replicas: 0
meta:
etcdEndpoints:
- etcd.greptime.svc.cluster.local:2379
readyReplicas: 1
replicas: 1
Created PVC
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: "2023-03-06T17:37:55Z"
finalizers:
- kubernetes.io/pvc-protection
labels:
app.greptime.io/component: testdb-datanode
name: datanode-testdb-datanode-0
namespace: greptime
resourceVersion: "2152548"
uid: 4ad6c51d-9f5e-4678-9a3f-56fc05233cfc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: standard
volumeMode: Filesystem
status:
phase: Pending