github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/generate/infra/fabrikate-jaeger/helm_repos/jaeger/charts/cassandra/values.yaml (about) 1 ## Cassandra image version 2 ## ref: https://hub.docker.com/r/library/cassandra/ 3 image: 4 repo: cassandra 5 tag: 3.11.6 6 pullPolicy: IfNotPresent 7 ## Specify ImagePullSecrets for Pods 8 ## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod 9 # pullSecrets: myregistrykey 10 11 ## Specify a service type 12 ## ref: http://kubernetes.io/docs/user-guide/services/ 13 service: 14 type: ClusterIP 15 annotations: "" 16 17 ## Use an alternate scheduler, e.g. "stork". 18 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ 19 ## 20 # schedulerName: 21 22 ## Persist data to a persistent volume 23 persistence: 24 enabled: true 25 ## cassandra data Persistent Volume Storage Class 26 ## If defined, storageClassName: <storageClass> 27 ## If set to "-", storageClassName: "", which disables dynamic provisioning 28 ## If undefined (the default) or set to null, no storageClassName spec is 29 ## set, choosing the default provisioner. (gp2 on AWS, standard on 30 ## GKE, AWS & OpenStack) 31 ## 32 # storageClass: "-" 33 accessMode: ReadWriteOnce 34 size: 10Gi 35 36 ## Configure resource requests and limits 37 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ 38 ## Minimum memory for development is 4GB and 2 CPU cores 39 ## Minimum memory for production is 8GB and 4 CPU cores 40 ## ref: http://docs.datastax.com/en/archived/cassandra/2.0/cassandra/architecture/architecturePlanningHardware_c.html 41 resources: {} 42 # requests: 43 # memory: 4Gi 44 # cpu: 2 45 # limits: 46 # memory: 4Gi 47 # cpu: 2 48 49 ## Change cassandra configuration parameters below: 50 ## ref: http://docs.datastax.com/en/cassandra/3.0/cassandra/configuration/configCassandra_yaml.html 51 ## Recommended max heap size is 1/2 of system memory 52 ## Recommended heap new size is 1/4 of max heap size 53 ## ref: http://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsTuneJVM.html 54 config: 55 cluster_domain: cluster.local 56 cluster_name: cassandra 57 cluster_size: 3 58 seed_size: 2 59 num_tokens: 256 60 # If you want Cassandra to use this datacenter and rack name, 61 # you need to set endpoint_snitch to GossipingPropertyFileSnitch. 62 # Otherwise, these values are ignored and datacenter1 and rack1 63 # are used. 64 dc_name: DC1 65 rack_name: RAC1 66 endpoint_snitch: SimpleSnitch 67 max_heap_size: 2048M 68 heap_new_size: 512M 69 start_rpc: false 70 ports: 71 cql: 9042 72 thrift: 9160 73 # If a JVM Agent is in place 74 # agent: 61621 75 76 ## Cassandra config files overrides 77 configOverrides: {} 78 79 ## Cassandra docker command overrides 80 commandOverrides: [] 81 82 ## Cassandra docker args overrides 83 argsOverrides: [] 84 85 ## Custom env variables. 86 ## ref: https://hub.docker.com/_/cassandra/ 87 env: {} 88 89 ## Liveness and Readiness probe values. 90 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ 91 livenessProbe: 92 initialDelaySeconds: 90 93 periodSeconds: 30 94 timeoutSeconds: 5 95 successThreshold: 1 96 failureThreshold: 3 97 readinessProbe: 98 initialDelaySeconds: 90 99 periodSeconds: 30 100 timeoutSeconds: 5 101 successThreshold: 1 102 failureThreshold: 3 103 address: "${POD_IP}" 104 105 ## Configure node selector. Edit code below for adding selector to pods 106 ## ref: https://kubernetes.io/docs/user-guide/node-selection/ 107 # selector: 108 # nodeSelector: 109 # cloud.google.com/gke-nodepool: pool-db 110 111 ## Additional pod annotations 112 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 113 podAnnotations: {} 114 115 ## Additional pod labels 116 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ 117 podLabels: {} 118 119 ## Additional pod-level settings 120 podSettings: 121 # Change this to give pods more time to properly leave the cluster when not using persistent storage. 122 terminationGracePeriodSeconds: 30 123 124 ## Pod distruption budget 125 podDisruptionBudget: {} 126 # maxUnavailable: 1 127 # minAvailable: 2 128 129 podManagementPolicy: OrderedReady 130 updateStrategy: 131 type: OnDelete 132 133 ## Pod Security Context 134 securityContext: 135 enabled: false 136 fsGroup: 999 137 runAsUser: 999 138 139 ## Affinity for pod assignment 140 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity 141 affinity: {} 142 143 ## Node tolerations for pod assignment 144 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 145 tolerations: [] 146 147 rbac: 148 # Specifies whether RBAC resources should be created 149 create: true 150 151 serviceAccount: 152 # Specifies whether a ServiceAccount should be created 153 create: true 154 # The name of the ServiceAccount to use. 155 # If not set and create is true, a name is generated using the fullname template 156 # name: 157 158 # Use host network for Cassandra pods 159 # You must pass seed list into config.seeds property if set to true 160 hostNetwork: false 161 162 ## Backup cronjob configuration 163 ## Ref: https://github.com/maorfr/cain 164 backup: 165 enabled: false 166 167 # Schedule to run jobs. Must be in cron time format 168 # Ref: https://crontab.guru/ 169 schedule: 170 - keyspace: keyspace1 171 cron: "0 7 * * *" 172 - keyspace: keyspace2 173 cron: "30 7 * * *" 174 175 annotations: 176 # Example for authorization to AWS S3 using kube2iam 177 # Can also be done using environment variables 178 iam.amazonaws.com/role: cain 179 180 image: 181 repository: maorfr/cain 182 tag: 0.6.0 183 184 # Additional arguments for cain 185 # Ref: https://github.com/maorfr/cain#usage 186 extraArgs: [] 187 188 # Add additional environment variables 189 env: 190 # Example environment variable required for AWS credentials chain 191 - name: AWS_REGION 192 value: us-east-1 193 194 resources: 195 requests: 196 memory: 1Gi 197 cpu: 1 198 limits: 199 memory: 1Gi 200 cpu: 1 201 202 # Name of the secret containing the credentials of the service account used by GOOGLE_APPLICATION_CREDENTIALS, as a credentials.json file 203 # google: 204 # serviceAccountSecret: 205 206 # Destination to store the backup artifacts 207 # Supported cloud storage services: AWS S3, Minio S3, Azure Blob Storage, Google Cloud Storage 208 # Additional support can added. Visit this repository for details 209 # Ref: https://github.com/maorfr/skbn 210 destination: s3://bucket/cassandra 211 212 ## Cassandra exported configuration 213 ## ref: https://github.com/criteo/cassandra_exporter 214 exporter: 215 enabled: false 216 serviceMonitor: 217 enabled: false 218 additionalLabels: {} 219 # prometheus: default 220 image: 221 repo: criteord/cassandra_exporter 222 tag: 2.0.2 223 port: 5556 224 jvmOpts: "" 225 resources: {} 226 # limits: 227 # cpu: 1 228 # memory: 1Gi 229 # requests: 230 # cpu: 1 231 # memory: 1Gi 232 233 extraVolumes: [] 234 extraVolumeMounts: [] 235 # extraVolumes and extraVolumeMounts allows you to mount other volumes 236 # Example Use Case: mount ssl certificates 237 # extraVolumes: 238 # - name: cas-certs 239 # secret: 240 # defaultMode: 420 241 # secretName: cas-certs 242 # extraVolumeMounts: 243 # - name: cas-certs 244 # mountPath: /certs 245 # readOnly: true 246 247 extraContainers: [] 248 ## Additional containers to be added 249 # extraContainers: 250 # - name: cassandra-sidecar 251 # image: cassandra-sidecar:latest 252 # volumeMounts: 253 # - name: some-mount 254 # mountPath: /some/path