Skip to content

Commit

Permalink
chore(ci): add more replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed May 22, 2024
1 parent 418090b commit 327c7d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/actions/setup-etcd-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ runs:
helm upgrade \
--install etcd oci://registry-1.docker.io/bitnamicharts/etcd \
--set replicaCount=${{ inputs.etcd-replica-count }} \
--set resources.requests.cpu=250m \
--set resources.requests.memory=128Mi \
--set auth.rbac.create=false \
--set auth.rbac.token.enabled=false \
--set persistence.size=1Gi \
--set persistence.size=2Gi \
--create-namespace \
-n ${{ inputs.namespace }}
12 changes: 7 additions & 5 deletions .github/actions/setup-greptimedb-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ name: Setup GreptimeDB cluster
description: Deploy GreptimeDB cluster on Kubernetes
inputs:
frontend-replica-count:
default: 1
default: 2
description: "Frontend replica count"
datanode-replica-count:
default: 2
description: "Datanode replica count"
metasrv-replica-count:
default: 1
default: 3
description: "Metasrv replica count"
etcd-replica-count:
default: 1
description: "Etcd replica count"
image-registry:
default: "docker.io"
description: "Image registry"
Expand Down Expand Up @@ -50,6 +47,11 @@ runs:
--set image.registry=${{ inputs.image-registry }} \
--set image.repository=${{ inputs.image-repository }} \
--set image.tag=${{ inputs.image-tag }} \
--set base.podTemplate.main.resources.requests.cpu=250m \
--set base.podTemplate.main.resources.requests.memory=256Mi \
--set frontend.replicas=${{ inputs.frontend-replica-count }} \
--set datanode.replicas=${{ inputs.datanode-replica-count }} \
--set meta.replicas=${{ inputs.metasrv-replica-count }} \
greptime/greptimedb-cluster \
--create-namespace \
-n my-greptimedb \
Expand Down

0 comments on commit 327c7d4

Please sign in to comment.