Code Monkey home page Code Monkey logo

helm-charts's Introduction

dokc-helm-chart

Custom K8ssandra operator for Data on Kuberenetes' how-to-dok project.

Contributing

Please refer to the contributing-guidelines

What is the custom k8ssandra-lightweight operator ?

This the kubernetes-operator which contains the following packages: 1. Apache Cassandra 2. Stargate 3. Prometheus 4. Grafana

This package a lightweight package

Installation and requirement

Installation

To install this package, you can add this to your helm repositories by

  • helm repo add dokc https://dokc.github.io/Helm-Charts/

Once added, update the repository by running

  • helm repo update

To check the repositories in your local setup, check if the dokc repo is added by running

  • helm repo list

It must show something like this

NAME                    URL
cassandra               https://helm.k8ssandra.io/stable
traefik                 https://helm.traefik.io/traefik
minio                   https://helm.min.io
prometheus-community    https://prometheus-community.github.io/helm-charts

Once the repository is listed, you can run your k8ssandra cluster, but this would require a YAML file which would like this Replace: < > with values

 cassandra:
  version: < Cassandra Version Number, preferred version = 4.0.1 >  
  cassandraLibDirVolume:
    storageClass: local-path
    size: 5Gi
  allowMultipleNodesPerWorker: true
  heap:
   size: 1G
   newGenSize: 1G
  resources:
    requests:
      cpu: 1000m
      memory: 2Gi
    limits:
      cpu: 1000m
      memory: 2Gi
  datacenters:
  - name: < Data Center Name >
    size: < Size >
    racks:
    - name: < Rack Name >
    
kube-prometheus-stack:
  grafana:
    adminUser: < Grafana Admin User >
    adminPassword: < Grafana Password >
    
    
stargate:
  enabled: < Boolean >
  replicas: 1
  heapMB: 256
  cpuReqMillicores: 200
  cpuLimMillicores: 1000
  

To run the cluster, execute the following command: helm install -f .yaml <Instance Name (or) Cluster Name> dokc/k8s-lightweight

** The process should roughly take 4 minutes , wait for the pods to start up **

To check the status of the pods run:

kubectl get pods

NAME                                                   READY   STATUS    RESTARTS   AGE
prometheus-test-dep-kube-prometheus-s-prometheus-0     2/2     Running   0          2m43s
test-dep-cass-operator-6c75d6d684-vh2ts                1/1     Running   0          2m45s
test-dep-datacenter1-default-sts-0                     2/2     Running   0          2m28s
test-dep-datacenter1-stargate-699f64f646-w85kw         1/1     Running   0          2m45s
test-dep-grafana-57fd996d9-c58tf                       2/2     Running   0          2m45s
test-dep-kube-prometheus-s-operator-767fc8984c-9rlmj   1/1     Running   0          2m45s

Disclaimer: "It may work within 4 minutes, but it is advisable to wait for 4 minutes"

Requirements:

  • CPU -> 4 Cores
  • Memory -> 8128M

helm-charts's People

Contributors

abhijithganesh avatar

Forkers

urvishajain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.