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

Issue 421: Adding manifests for various cluster installation flavours #422

Merged
merged 2 commits into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions charts/pravega/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ The following table lists the configurable parameters of the Pravega chart and t
| `debugLogging` | Enable debug logging | `false` |
| `serviceAccount.name` | Service account to be used | `pravega-components` |
| `controller.replicas` | Number of controller replicas | `1` |
| `controller.resources.requests.cpu` | CPU requests for controller | `1000m` |
| `controller.resources.requests.cpu` | CPU requests for controller | `500m` |
| `controller.resources.requests.memory` | Memory requests for controller | `1Gi` |
| `controller.resources.limits.cpu` | CPU limits for controller | `2000m` |
| `controller.resources.limits.memory` | Memory limits for controller | `3Gi` |
| `controller.resources.limits.cpu` | CPU limits for controller | `1000m` |
| `controller.resources.limits.memory` | Memory limits for controller | `2Gi` |
| `controller.service.type` | Override the controller service type, if external access is enabled (LoadBalancer/NodePort) | |
| `controller.service.annotations` | Annotations to add to the controller service, if external access is enabled | `{}` |
| `controller.jvmOptions` | JVM Options for controller | `[]` |
| `controller.jvmOptions` | JVM Options for controller | `["-Xmx2g", "-XX:MaxDirectMemorySize=2g"]` |
| `segmentStore.replicas` | Number of segmentStore replicas | `1` |
| `segmentStore.secret` | Secret configuration for the segmentStore | `{}` |
| `segmentStore.env` | Name of configmap containing environment variables to be added to the segmentStore | |
| `segmentStore.resources.requests.cpu` | CPU requests for segmentStore | `1000m` |
| `segmentStore.resources.requests.memory` | Memory requests for segmentStore | `3Gi` |
| `segmentStore.resources.requests.memory` | Memory requests for segmentStore | `4Gi` |
| `segmentStore.resources.limits.cpu` | CPU limits for segmentStore | `2000m` |
| `segmentStore.resources.limits.memory` | Memory limits for segmentStore | `5Gi` |
| `segmentStore.resources.limits.memory` | Memory limits for segmentStore | `4Gi` |
| `segmentStore.service.type` | Override the segmentStore service type, if external access is enabled (LoadBalancer/NodePort) | |
| `segmentStore.service.annotations` | Annotations to add to the segmentStore service, if external access is enabled | `{}` |
| `segmentStore.jvmOptions` | JVM Options for segmentStore | `[]` |
Expand Down
54 changes: 43 additions & 11 deletions charts/pravega/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ controller:
replicas: 1
resources:
requests:
cpu: 1000m
cpu: 500m
memory: 1Gi
limits:
cpu: 2000m
memory: 3Gi
cpu: 1000m
memory: 2Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for controller
Expand All @@ -64,16 +64,16 @@ segmentStore:
resources:
requests:
cpu: 1000m
memory: 3Gi
memory: 4Gi
limits:
cpu: 2000m
memory: 5Gi
memory: 4Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for segmentStore
type:
annotations: {}
jvmOptions: []
jvmOptions: ["-Xmx2g", "-XX:MaxDirectMemorySize=2g"]

storage:

Expand All @@ -92,10 +92,10 @@ storage:
## ecs is used to configure a Dell EMC ECS system as the long term storage backend
## considered only if storage.longtermStorage.type = ecs
ecs: {}
# configUri: ""
# bucket: ""
# prefix: ""
# credentials: ""
# configUri: https://object.ecstestdrive.com?namespace=namespace%26identity=user%26secretKey=password
# bucket: "bucket"
# prefix: "prefix"
# credentials: ecs-credentials

## hdfs is used to configure an HDFS system as long term storage backend
## considered only if storage.longtermStorage.type = hdfs
Expand All @@ -109,4 +109,36 @@ storage:
className: standard

options:
# bookkeeper.ack.quorum.size: "3"
bookkeeper.ensemble.size: "3"
bookkeeper.write.quorum.size: "3"
bookkeeper.ack.quorum.size: "3"
bookkeeper.write.timeout.milliseconds: "60000"
bookkeeper.write.outstanding.bytes.max: "33554432"
pravegaservice.cache.size.max: "1073741824"
pravegaservice.cache.time.seconds.max: "600"
hdfs.block.size: "67108864"
writer.flush.threshold.bytes: "67108864"
writer.flush.size.bytes.max: "67108864"
pravegaservice.container.count: "8"
controller.container.count: "8"
controller.retention.bucket.count: "4"
controller.service.asyncTaskPool.size: "20"
controller.retention.thread.count: "4"
log.level: "INFO"
## The following parameters are only useful if you are going to deploy metrics in this cluster.
# metrics.dynamicCache.size: "100000"
# metrics.statistics.enable: "true"
# metrics.statsD.reporter.enable: "false"
# metrics.statsD.connect.host: "telegraph.default"
# metrics.statsD.connect.port: "8125"
# metrics.influxDB.reporter.enable: "true"
# metrics.output.frequency.seconds: "10"
# metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
# controller.metrics.dynamicCache.size: "100000"
# controller.metrics.statistics.enable: "true"
# controller.metrics.statsD.reporter.enable: "false"
# controller.metrics.statsD.connect.host: "telegraph.default"
# controller.metrics.statsD.connect.port: "8125"
# controller.metrics.influxDB.reporter.enable: "true"
# controller.metrics.output.frequency.seconds: "10"
# controller.metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
70 changes: 70 additions & 0 deletions charts/pravega/values/large.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
controller:
replicas: 2
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 2000m
memory: 4Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for controller
type:
annotations: {}
jvmOptions: []

segmentStore:
replicas: 6
secret: {}
# name:
# path:
env:
resources:
requests:
cpu: 2000m
memory: 16Gi
limits:
cpu: 4000m
memory: 16Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for segmentStore
type:
annotations: {}
jvmOptions: ["-Xmx4g", "-XX:MaxDirectMemorySize=12g"]

options:
bookkeeper.ensemble.size: "3"
bookkeeper.write.quorum.size: "3"
bookkeeper.ack.quorum.size: "3"
bookkeeper.write.timeout.milliseconds: "60000"
bookkeeper.write.outstanding.bytes.max: "33554432"
pravegaservice.cache.size.max: "11811160064"
pravegaservice.cache.time.seconds.max: "600"
hdfs.block.size: "67108864"
writer.flush.threshold.bytes: "67108864"
writer.flush.size.bytes.max: "67108864"
pravegaservice.container.count: "48"
controller.container.count: "48"
controller.retention.bucket.count: "10"
controller.service.asyncTaskPool.size: "20"
controller.retention.thread.count: "4"
log.level: "INFO"
## The following parameters are only useful if you are going to deploy metrics in this cluster.
# metrics.dynamicCache.size: "100000"
# metrics.statistics.enable: "true"
# metrics.statsD.reporter.enable: "false"
# metrics.statsD.connect.host: "telegraph.default"
# metrics.statsD.connect.port: "8125"
# metrics.influxDB.reporter.enable: "true"
# metrics.output.frequency.seconds: "10"
# metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
# controller.metrics.dynamicCache.size: "100000"
# controller.metrics.statistics.enable: "true"
# controller.metrics.statsD.reporter.enable: "false"
# controller.metrics.statsD.connect.host: "telegraph.default"
# controller.metrics.statsD.connect.port: "8125"
# controller.metrics.influxDB.reporter.enable: "true"
# controller.metrics.output.frequency.seconds: "10"
# controller.metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
70 changes: 70 additions & 0 deletions charts/pravega/values/medium.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
controller:
replicas: 2
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 1000m
memory: 2Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for controller
type:
annotations: {}
jvmOptions: []

segmentStore:
replicas: 2
secret: {}
# name:
# path:
env:
resources:
requests:
cpu: 2000m
memory: 8Gi
limits:
cpu: 4000m
memory: 8Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for segmentStore
type:
annotations: {}
jvmOptions: ["-Xmx4g", "-XX:MaxDirectMemorySize=4g"]

options:
bookkeeper.ensemble.size: "3"
bookkeeper.write.quorum.size: "3"
bookkeeper.ack.quorum.size: "3"
bookkeeper.write.timeout.milliseconds: "60000"
bookkeeper.write.outstanding.bytes.max: "33554432"
pravegaservice.cache.size.max: "3221225472"
pravegaservice.cache.time.seconds.max: "600"
hdfs.block.size: "67108864"
writer.flush.threshold.bytes: "67108864"
writer.flush.size.bytes.max: "67108864"
pravegaservice.container.count: "16"
controller.container.count: "16"
controller.retention.bucket.count: "10"
controller.service.asyncTaskPool.size: "20"
controller.retention.thread.count: "4"
log.level: "INFO"
## The following parameters are only useful if you are going to deploy metrics in this cluster.
# metrics.dynamicCache.size: "100000"
# metrics.statistics.enable: "true"
# metrics.statsD.reporter.enable: "false"
# metrics.statsD.connect.host: "telegraph.default"
# metrics.statsD.connect.port: "8125"
# metrics.influxDB.reporter.enable: "true"
# metrics.output.frequency.seconds: "10"
# metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
# controller.metrics.dynamicCache.size: "100000"
# controller.metrics.statistics.enable: "true"
# controller.metrics.statsD.reporter.enable: "false"
# controller.metrics.statsD.connect.host: "telegraph.default"
# controller.metrics.statsD.connect.port: "8125"
# controller.metrics.influxDB.reporter.enable: "true"
# controller.metrics.output.frequency.seconds: "10"
# controller.metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
26 changes: 26 additions & 0 deletions charts/pravega/values/minikube.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
controller:
replicas: 1
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 500m
memory: 1Gi
jvmOptions: []

segmentStore:
replicas: 1
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 500m
memory: 2Gi
jvmOptions: []

options:
bookkeeper.ack.quorum.size: "1"
bookkeeper.write.quorum.size: "1"
bookkeeper.ensemble.size: "1"
70 changes: 70 additions & 0 deletions charts/pravega/values/small.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
controller:
replicas: 1
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 1000m
memory: 2Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for controller
type:
annotations: {}
jvmOptions: []

segmentStore:
replicas: 1
secret: {}
# name:
# path:
env:
resources:
requests:
cpu: 1000m
memory: 4Gi
limits:
cpu: 2000m
memory: 4Gi
## service type and annotations are ignored if external access is disabled
service:
## used to override the service type for segmentStore
type:
annotations: {}
jvmOptions: ["-Xmx2g", "-XX:MaxDirectMemorySize=2g"]

options:
bookkeeper.ensemble.size: "3"
bookkeeper.write.quorum.size: "3"
bookkeeper.ack.quorum.size: "3"
bookkeeper.write.timeout.milliseconds: "60000"
bookkeeper.write.outstanding.bytes.max: "33554432"
pravegaservice.cache.size.max: "1073741824"
pravegaservice.cache.time.seconds.max: "600"
hdfs.block.size: "67108864"
writer.flush.threshold.bytes: "67108864"
writer.flush.size.bytes.max: "67108864"
pravegaservice.container.count: "8"
controller.container.count: "8"
controller.retention.bucket.count: "4"
controller.service.asyncTaskPool.size: "20"
controller.retention.thread.count: "4"
log.level: "INFO"
## The following parameters are only useful if you are going to deploy metrics in this cluster.
# metrics.dynamicCache.size: "100000"
# metrics.statistics.enable: "true"
# metrics.statsD.reporter.enable: "false"
# metrics.statsD.connect.host: "telegraph.default"
# metrics.statsD.connect.port: "8125"
# metrics.influxDB.reporter.enable: "true"
# metrics.output.frequency.seconds: "10"
# metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"
# controller.metrics.dynamicCache.size: "100000"
# controller.metrics.statistics.enable: "true"
# controller.metrics.statsD.reporter.enable: "false"
# controller.metrics.statsD.connect.host: "telegraph.default"
# controller.metrics.statsD.connect.port: "8125"
# controller.metrics.influxDB.reporter.enable: "true"
# controller.metrics.output.frequency.seconds: "10"
# controller.metrics.influxDB.connect.uri: "http://INFLUXDB-IP:8086"