Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enablePVReclaim doesn't work #62

Closed
HarrisChu opened this issue Sep 10, 2021 · 1 comment
Closed

enablePVReclaim doesn't work #62

HarrisChu opened this issue Sep 10, 2021 · 1 comment
Assignees

Comments

@HarrisChu
Copy link
Contributor

  1. create a nebulacluster resource by using
apiVersion: apps.nebula-graph.io/v1alpha1
kind: NebulaCluster
metadata:
  name: {nebulacluster_name}
spec:
  graphd:
    config:
      heartbeat_interval_secs: "1"
    resources:
      requests:
        cpu: "500m"
        memory: "500Mi"
      limits:
        cpu: "1"
        memory: "2Gi"
    replicas: {graphd_num}
    image: vesoft/nebula-graphd
    version: v2-nightly
    service:
      type: NodePort
      externalTrafficPolicy: Local
    storageClaim:
      resources:
        requests:
          storage: 2Gi
      storageClassName: nfs-client
  metad:
    config:
      heartbeat_interval_secs: "1"
    resources:
      requests:
        cpu: "500m"
        memory: "500Mi"
      limits:
        cpu: "1"
        memory: "1Gi"
    replicas: {metad_num}
    image: vesoft/nebula-metad
    version: v2-nightly
    storageClaim:
      resources:
        requests:
          storage: 2Gi
      storageClassName: nfs-client
  storaged:
    config:
      heartbeat_interval_secs: "1"
    resources:
      requests:
        cpu: "500m"
        memory: "500Mi"
      limits:
        cpu: "1"
        memory: "1Gi"
    replicas: {storaged_num}
    image: vesoft/nebula-storaged
    version: v2-nightly
    storageClaim:
      resources:
        requests:
          storage: 1Gi
      storageClassName: nfs-client
  reference:
    name: statefulsets.apps
    version: v1
  schedulerName: default-scheduler
  imagePullPolicy: IfNotPresent
  enablePVReclaim: true
  1. delete the nebulacluster

expected result:
delete pvc

actual result:
doesn't delete.

@MegaByte875
Copy link
Contributor

The issure will fix in version v0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants