vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame^] | 1 | # Default values for cassandra. |
| 2 | # This is a YAML-formatted file. |
| 3 | # Declare variables to be passed into your templates. |
| 4 | global: # global defaults |
| 5 | nodePortPrefix: 302 |
| 6 | repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== |
| 7 | |
| 8 | |
| 9 | # application image |
| 10 | dockerhubRepository: registry.hub.docker.com |
| 11 | image: cassandra:2.1 |
| 12 | pullPolicy: Always |
| 13 | |
| 14 | # application configuration |
| 15 | config: |
| 16 | heap: |
| 17 | max: 512M |
| 18 | min: 100M |
| 19 | jvmOpts: -Dcassandra.consistent.rangemovement=false |
| 20 | clusterName: aai-cluster |
| 21 | dataCenter: Pod lab |
| 22 | rackName: Rack1 |
| 23 | autoBootstrap: true |
| 24 | ports: |
| 25 | cql: 9042 |
| 26 | thrift: 9160 |
| 27 | # If a JVM Agent is in place |
| 28 | # agent: 61621 |
| 29 | |
| 30 | # default number of instances |
| 31 | replicaCount: 3 |
| 32 | |
| 33 | nodeSelector: {} |
| 34 | |
| 35 | affinity: {} |
| 36 | |
| 37 | # probe configuration parameters |
| 38 | liveness: |
| 39 | initialDelaySeconds: 10 |
| 40 | periodSeconds: 10 |
| 41 | # necessary to disable liveness probe when setting breakpoints |
| 42 | # in debugger so K8s doesn't restart unresponsive container |
| 43 | enabled: true |
| 44 | |
| 45 | readiness: |
| 46 | initialDelaySeconds: 10 |
| 47 | periodSeconds: 10 |
| 48 | |
| 49 | service: |
| 50 | type: ClusterIP |
| 51 | name: aai-cassandra |
| 52 | internalPort: 7000 |
| 53 | internalPort2: 7001 |
| 54 | internalPort3: 7199 |
| 55 | internalPort4: 9042 |
| 56 | |
| 57 | podManagementPolicy: OrderedReady |
| 58 | updateStrategy: |
| 59 | type: OnDelete |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
| 63 | |
| 64 | persistence: |
| 65 | enabled: false |
| 66 | |
| 67 | ## A manually managed Persistent Volume and Claim |
| 68 | ## Requires persistence.enabled: true |
| 69 | ## If defined, PVC must be created manually before volume will be bound |
| 70 | # existingClaim: |
| 71 | volumeReclaimPolicy: Retain |
| 72 | |
| 73 | ## database data Persistent Volume Storage Class |
| 74 | ## If defined, storageClassName: <storageClass> |
| 75 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 76 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 77 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 78 | ## GKE, AWS & OpenStack) |
| 79 | ## |
| 80 | ## storageClass: "-" |
| 81 | accessMode: ReadWriteOnce |
| 82 | size: 2Gi |
| 83 | mountPath: /dockerdata-nfs |
| 84 | mountSubPath: aai/cassandra |
| 85 | storageType: local |
| 86 | storageClass: "" |
| 87 | |
| 88 | |
| 89 | resources: {} |
| 90 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 91 | # choice for the user. This also increases chances charts run on environments with little |
| 92 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 93 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 94 | # |
| 95 | # Example: |
| 96 | # Configure resource requests and limits |
| 97 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 98 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 99 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 100 | #resources: |
| 101 | # limits: |
| 102 | # cpu: 2 |
| 103 | # memory: 4Gi |
| 104 | # requests: |
| 105 | # cpu: 2 |
| 106 | # memory: 4Gi |