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

add chart values for nebula cluster #386

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

MegaByte875
Copy link
Contributor

@MegaByte875 MegaByte875 commented Nov 2, 2023

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

@MegaByte875
Copy link
Contributor Author

$ helm install nebula nebula-cluster/ --dry-run
NAME: nebula
LAST DEPLOYED: Fri Nov  3 10:17:32 2023
NAMESPACE: default
STATUS: pending-install
REVISION: 1
TEST SUITE: None
HOOKS:
MANIFEST:
---
# Source: nebula-cluster/templates/nebula-cluster.yaml
apiVersion: apps.nebula-graph.io/v1alpha1
kind: NebulaCluster
metadata:
  name: nebula-cluster
  namespace: default
  labels:
        
    app.kubernetes.io/version: "1.7.1"
    app.kubernetes.io/managed-by: Helm
    helm.sh/chart: nebula-cluster-1.7.1
spec:
  graphd:
    replicas: 2
    resources: 
      limits:
        cpu: "1"
        memory: 500Mi
      requests:
        cpu: 500m
        memory: 500Mi
    image: vesoft/nebula-graphd
    version: v3.6.0
    service:
      type: NodePort
      externalTrafficPolicy: Local
    logVolumeClaim:
      resources:
        requests:
          storage: 500Mi
  metad:
    replicas: 3
    resources: 
      limits:
        cpu: "1"
        memory: 1Gi
      requests:
        cpu: 500m
        memory: 500Mi
    image: vesoft/nebula-metad
    version: v3.6.0
    logVolumeClaim:
      resources:
        requests:
          storage: 500Mi
    dataVolumeClaim:
      resources:
        requests:
          storage: 2Gi
  storaged:
    replicas: 3
    resources: 
      limits:
        cpu: "1"
        memory: 1Gi
      requests:
        cpu: 500m
        memory: 500Mi
    image: vesoft/nebula-storaged
    version: v3.6.0
    enableAutoBalance: false
    enableForceUpdate: false
    logVolumeClaim:
      resources:
        requests:
          storage: 500Mi
    dataVolumeClaims:
    - resources:
        requests:
          storage: 10Gi
  exporter:
    replicas: 1
    resources: 
      limits:
        cpu: 200m
        memory: 256Mi
      requests:
        cpu: 100m
        memory: 128Mi
    image: vesoft/nebula-stats-exporter
    version: v3.3.0
    maxRequests: 20
  agent:
    image: vesoft/nebula-agent
    version: latest
    resources: 
      limits:
        cpu: 200m
        memory: 256Mi
      requests:
        cpu: 100m
        memory: 128Mi
  console:
    username: root
    password: nebula
    image: vesoft/nebula-console
    version: latest
  reference: 
    name: statefulsets.apps
    version: v1
  imagePullPolicy: Always
  schedulerName: default-scheduler
  topologySpreadConstraints: 
    - topologyKey: kubernetes.io/hostname
      whenUnsatisfiable: ScheduleAnyway
  enablePVReclaim: false
  enableBR: false

NOTES:
Nebula Cluster installed!

Copy link
Contributor

@veezhang veezhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@veezhang veezhang merged commit a2b1866 into vesoft-inc:master Nov 3, 2023
@MegaByte875 MegaByte875 deleted the chart_nebula_cluster branch November 3, 2023 02:27
@jinyingsunny
Copy link

jinyingsunny commented Jan 19, 2024

上面是示例可以支持:support configure multi storage data volume? 如果想要配置两个dataVolume,该怎么写?

@jinyingsunny
Copy link

这个pr说支持了securityContext,我该怎么用呢?

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

Successfully merging this pull request may close these issues.

3 participants