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

⬆️ Upgrade tools version #399

Merged
merged 5 commits into from
May 22, 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
5 changes: 3 additions & 2 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
exit 0
fi
echo "version updated: ${GITWERK_RESULT}"

git checkout master

echo "${GITWERK_RESULT}" > versions/VALD_VERSION

sed -i -e "s/^version: .*$/version: ${GITWERK_RESULT}/" charts/vald/Chart.yaml
Expand All @@ -47,8 +50,6 @@ jobs:
make helm/docs/vald
make helm/docs/vald-helm-operator

git checkout master

git config --global user.name "vdaas-ci"
git config --global user.email "ci@vdaas.org"

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ TENSORFLOW_C_VERSION := $(eval TENSORFLOW_C_VERSION := $(shell cat versions/TENS
OPERATOR_SDK_VERSION := $(eval OPERATOR_SDK_VERSION := $(shell cat versions/OPERATOR_SDK_VERSION))$(OPERATOR_SDK_VERSION)

DOCKFMT_VERSION ?= v0.3.3
KIND_VERSION ?= v0.7.0
HELM_VERSION ?= v3.2.0
HELM_DOCS_VERSION ?= 0.12.0
VALDCLI_VERSION ?= v0.0.35
KIND_VERSION ?= v0.8.1
HELM_VERSION ?= v3.2.1
HELM_DOCS_VERSION ?= 0.13.0
VALDCLI_VERSION ?= v0.0.37
TELEPRESENCE_VERSION ?= 0.105

SWAP_DEPLOYMENT_TYPE ?= deployment
Expand Down
4 changes: 4 additions & 0 deletions Makefile.d/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ helm/repo/add:
.PHONY: helm/docs/vald
helm/docs/vald: charts/vald/README.md

# force to rebuild
.PHONY: charts/vald/README.md
charts/vald/README.md: \
charts/vald/README.md.gotmpl \
charts/vald/values.yaml
Expand All @@ -68,6 +70,8 @@ charts/vald/README.md: \
.PHONY: helm/docs/vald-helm-operator
helm/docs/vald-helm-operator: charts/vald-helm-operator/README.md

# force to rebuild
.PHONY: charts/vald-helm-operator/README.md
charts/vald-helm-operator/README.md: \
charts/vald-helm-operator/README.md.gotmpl \
charts/vald-helm-operator/values.yaml
Expand Down
50 changes: 25 additions & 25 deletions charts/vald/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ defaults:
# defaults.time_zone -- Time zone
time_zone: UTC
logging:
# defaults.logging.logger -- logger name
# defaults.logging.logger -- logger name.
# currently logger must be `glg`.
logger: glg
# defaults.logging.level -- logging level
# defaults.logging.level -- logging level.
# logging level must be `debug`, `info`, `warn`, `error` or `fatal`.
level: debug
# defaults.logging.format -- logging format
# defaults.logging.format -- logging format.
# logging format must be `raw` or `json`
format: raw
image:
Expand Down Expand Up @@ -369,7 +369,7 @@ defaults:
# defaults.observability.enabled -- observability features enabled
enabled: false
collector:
# defaults.observability.collector.duration -- metrics collect duration
# defaults.observability.collector.duration -- metrics collect duration.
# if it is set as 5s, enabled metrics are collected every 5 seconds.
duration: 5s
metrics:
Expand All @@ -384,7 +384,7 @@ defaults:
trace:
# defaults.observability.trace.enabled -- trace enabled
enabled: false
# defaults.observability.trace.sampling_rate -- trace sampling rate
# defaults.observability.trace.sampling_rate -- trace sampling rate.
# must be between 0.0 to 1.0.
sampling_rate: 1.0
prometheus:
Expand Down Expand Up @@ -425,10 +425,10 @@ gateway:
externalTrafficPolicy: ""
# gateway.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# gateway.minReplicas -- minimum number of replicas
# gateway.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 3
# gateway.maxReplicas -- maximum number of replicas
# gateway.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 9
# gateway.maxUnavailable -- maximum number of unavailable replicas
Expand Down Expand Up @@ -620,10 +620,10 @@ agent:
externalTrafficPolicy: ""
# agent.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# agent.minReplicas -- minimum number of replicas
# agent.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 20
# agent.maxReplicas -- maximum number of replicas
# agent.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 300
# agent.maxUnavailable -- maximum number of unavailable replicas
Expand Down Expand Up @@ -735,7 +735,7 @@ agent:
observability:
jaeger:
service_name: vald-agent-ngt
# agent.resources -- compute resources
# agent.resources -- compute resources.
# recommended setting of memory requests = cluster memory * 0.4 / number of agent pods
resources:
requests:
Expand All @@ -758,12 +758,12 @@ agent:
dimension: 4096
# agent.ngt.bulk_insert_chunk_size -- bulk insert chunk size
bulk_insert_chunk_size: 10
# agent.ngt.distance_type -- distance type
# it should be `l1`, `l2`, `angle`, `hamming`, `cosine`, `normalizedangle` or `normalizedcosine`
# agent.ngt.distance_type -- distance type.
# it should be `l1`, `l2`, `angle`, `hamming`, `cosine`, `normalizedangle` or `normalizedcosine`.
# for further details: https://github.com/yahoojapan/NGT/wiki/Command-Quick-Reference
distance_type: l2
# agent.ngt.object_type -- object type
# it should be `float` or `uint8`
# agent.ngt.object_type -- object type.
# it should be `float` or `uint8`.
# for further details: https://github.com/yahoojapan/NGT/wiki/Command-Quick-Reference
object_type: float
# agent.ngt.creation_edge_size -- creation edge size
Expand All @@ -788,10 +788,10 @@ discoverer:
externalTrafficPolicy: ""
# discoverer.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# discoverer.minReplicas -- minimum number of replicas
# discoverer.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 1
# discoverer.maxReplicas -- maximum number of replicas
# discoverer.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 2
# discoverer.maxUnavailable -- maximum number of unavailable replicas
Expand Down Expand Up @@ -938,10 +938,10 @@ compressor:
externalTrafficPolicy: ""
# compressor.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# compressor.minReplicas -- minimum number of replicas
# compressor.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 3
# compressor.maxReplicas -- maximum number of replicas
# compressor.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 15
# compressor.maxUnavailable -- maximum number of unavailable replicas
Expand Down Expand Up @@ -1053,11 +1053,11 @@ compressor:
# compressor.backup.client -- grpc client for backup (overrides defaults.grpc.client)
client: {}
compress:
# compressor.compress.compress_algorithm -- compression algorithm
# compressor.compress.compress_algorithm -- compression algorithm.
# must be `gob`, `gzip`, `lz4` or `zstd`
compress_algorithm: zstd
# compressor.compress.compression_level -- compression level
# value range relies on which algorithm is used
# compressor.compress.compression_level -- compression level.
# value range relies on which algorithm is used.
# `gob`: level will be ignored.
# `gzip`: -1 (default compression), 0 (no compression), or 1 (best speed) to 9 (best compression).
# `lz4`: >= 0, higher is better compression.
Expand Down Expand Up @@ -1091,10 +1091,10 @@ backupManager:
externalTrafficPolicy: ""
# backupManager.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# backupManager.minReplicas -- minimum number of replicas
# backupManager.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 3
# backupManager.maxReplicas -- maximum number of replicas
# backupManager.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 15
# backupManager.maxUnavailable -- maximum number of unavailable replicas
Expand Down Expand Up @@ -1585,10 +1585,10 @@ meta:
externalTrafficPolicy: ""
# meta.progressDeadlineSeconds -- progress deadline seconds
progressDeadlineSeconds: 600
# meta.minReplicas -- minimum number of replicas
# meta.minReplicas -- minimum number of replicas.
# if HPA is disabled, the replicas will be set to this value
minReplicas: 2
# meta.maxReplicas -- maximum number of replicas
# meta.maxReplicas -- maximum number of replicas.
# if HPA is disabled, this value will be ignored.
maxReplicas: 10
# meta.maxUnavailable -- maximum number of unavailable replicas
Expand Down