This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
The following commit(s) were added to refs/heads/main by this push: new c2bf635 Set soft antiAffinity for ES and adjust doc (#161) c2bf635 is described below commit c2bf6359d29b84dc3ead0597d58ea67ab9c00aa7 Author: kezhenxu94 <kezhenx...@apache.org> AuthorDate: Fri Feb 16 18:09:17 2024 +0800 Set soft antiAffinity for ES and adjust doc (#161) --- .../platform/kubernetes/templates/feature-postgresql-monitor/psql.yaml | 2 +- deploy/platform/kubernetes/values.yaml | 1 + docs/readme.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/platform/kubernetes/templates/feature-postgresql-monitor/psql.yaml b/deploy/platform/kubernetes/templates/feature-postgresql-monitor/psql.yaml index 122b796..a666f5c 100644 --- a/deploy/platform/kubernetes/templates/feature-postgresql-monitor/psql.yaml +++ b/deploy/platform/kubernetes/templates/feature-postgresql-monitor/psql.yaml @@ -181,7 +181,7 @@ kind: CronJob metadata: name: psql-load-deployment # @feature: postgresql; set up job to trigger postgresql commands, you don't need this in production env. spec: - schedule: "*/1 * * * *" + schedule: "*/3 * * * *" successfulJobsHistoryLimit: 1 failedJobsHistoryLimit: 1 jobTemplate: diff --git a/deploy/platform/kubernetes/values.yaml b/deploy/platform/kubernetes/values.yaml index dac22a7..9193f4c 100644 --- a/deploy/platform/kubernetes/values.yaml +++ b/deploy/platform/kubernetes/values.yaml @@ -102,6 +102,7 @@ skywalking: image: ~ imageTag: ~ imagePullPolicy: "IfNotPresent" + antiAffinity: "soft" postgresql: enabled: false # Whether to start a demo postgresql deployment, don't use this for production. diff --git a/docs/readme.md b/docs/readme.md index f563542..a3205ed 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -31,7 +31,7 @@ sure you have `make` installed and Docker daemon running. ### Prerequisites -To deploy the full features of this showcase application, you may need up to 4 CPU cores and 4 GB memory, please +To deploy the full features of this showcase application, you may need up to 8 CPU cores and 32 GB memory, please increase the Docker daemon resources or Kubernetes cluster resources if you find containers / Pods failed to start up. Alternatively, you can also only deploy part of the features that interest you if you don't want to increase the resources, via the guide in [Customization](#customization).