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

Add E2E Chaos tests running on GitHub Actions #899

Merged
merged 11 commits into from
Feb 9, 2021
178 changes: 178 additions & 0 deletions .github/helm/values/values-chaos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
#
# Copyright (C) 2019-2021 vdaas.org vald team <vald@vdaas.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

defaults:
grpc:
client:
dial_option:
enable_backoff: true
server_config:
healths:
liveness:
livenessProbe:
timeoutSeconds: 10
failureThreshold: 5
readiness:
readinessProbe:
timeoutSeconds: 10
failureThreshold: 5

gateway:
vald:
enabled: false
lb:
enabled: true
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi
gateway_config:
index_replica: 2
backup:
enabled: true
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi
meta:
enabled: true
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi

agent:
minReplicas: 5
maxReplicas: 10
podManagementPolicy: Parallel
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi
ngt:
auto_index_duration_limit: 3m
auto_index_check_duration: 1m
auto_index_length: 1000
dimension: 784

discoverer:
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi

manager:
compressor:
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 50Mi
compress:
compress_algorithm: gob

backup:
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 30Mi
image:
repository: vdaas/vald-manager-backup-cassandra
initContainers:
- type: wait-for-cassandra
name: wait-for-scylla
image: cassandra:latest
cassandra:
hosts:
- vald-scylla-cluster-dc0-rack0-0.scylla.svc.cluster.local
sleepDuration: 2
env: []
mysql:
enabled: false
cassandra:
enabled: true
config:
hosts:
- vald-scylla-cluster-dc0-rack0-0.scylla.svc.cluster.local
consistency: one

index:
replicas: 2
resources:
requests:
cpu: 100m
memory: 30Mi

meta:
minReplicas: 2
hpa:
enabled: false
resources:
requests:
cpu: 100m
memory: 30Mi
image:
repository: vdaas/vald-meta-cassandra
initContainers:
- type: wait-for-cassandra
name: wait-for-scylla
image: cassandra:latest
cassandra:
hosts:
- vald-scylla-cluster-dc0-rack0-0.scylla.svc.cluster.local
sleepDuration: 2
env: []
redis:
enabled: false
cassandra:
enabled: true
config:
hosts:
- vald-scylla-cluster-dc0-rack0-0.scylla.svc.cluster.local
consistency: one

initializer:
cassandra:
enabled: true
name: scylla-init
env:
- name: CASSANDRA_HOST
value: vald-scylla-cluster-dc0-rack0-0.scylla.svc.cluster.local
configmap:
enabled: true
name: scylla-initdb
user: ""
secret:
enabled: false
Loading