From 8efffdf6847b97bdb373fc8f5c9a56a98a6ad232 Mon Sep 17 00:00:00 2001 From: kpango Date: Thu, 2 Jul 2020 14:06:16 +0900 Subject: [PATCH] [patch] divide gateway for future architecture Signed-off-by: kpango --- k8s/agent/configmap.yaml | 5 +++-- k8s/agent/pdb.yaml | 4 ++-- k8s/agent/priorityclass.yaml | 4 ++-- k8s/agent/statefulset.yaml | 6 +++--- k8s/agent/svc.yaml | 4 ++-- k8s/discoverer/clusterrole.yaml | 4 ++-- k8s/discoverer/clusterrolebinding.yaml | 4 ++-- k8s/discoverer/configmap.yaml | 4 ++-- k8s/discoverer/deployment.yaml | 6 +++--- k8s/discoverer/pdb.yaml | 4 ++-- k8s/discoverer/priorityclass.yaml | 4 ++-- k8s/discoverer/serviceaccount.yaml | 4 ++-- k8s/discoverer/svc.yaml | 4 ++-- k8s/gateway/vald/configmap.yaml | 4 ++-- k8s/gateway/vald/deployment.yaml | 6 +++--- k8s/gateway/vald/hpa.yaml | 4 ++-- k8s/gateway/vald/ing.yaml | 7 +++---- k8s/gateway/vald/pdb.yaml | 4 ++-- k8s/gateway/vald/priorityclass.yaml | 4 ++-- k8s/gateway/vald/svc.yaml | 4 ++-- k8s/manager/backup/configmap.yaml | 4 ++-- k8s/manager/backup/deployment.yaml | 6 +++--- k8s/manager/backup/hpa.yaml | 4 ++-- k8s/manager/backup/pdb.yaml | 4 ++-- k8s/manager/backup/priorityclass.yaml | 6 +++--- k8s/manager/backup/svc.yaml | 4 ++-- k8s/manager/compressor/configmap.yaml | 4 ++-- k8s/manager/compressor/deployment.yaml | 6 +++--- k8s/manager/compressor/hpa.yaml | 4 ++-- k8s/manager/compressor/pdb.yaml | 4 ++-- k8s/manager/compressor/priorityclass.yaml | 4 ++-- k8s/manager/compressor/svc.yaml | 4 ++-- k8s/manager/index/configmap.yaml | 4 ++-- k8s/manager/index/deployment.yaml | 6 +++--- k8s/manager/index/pdb.yaml | 4 ++-- k8s/manager/index/priorityclass.yaml | 6 +++--- k8s/manager/index/svc.yaml | 4 ++-- k8s/meta/configmap.yaml | 4 ++-- k8s/meta/deployment.yaml | 6 +++--- k8s/meta/hpa.yaml | 4 ++-- k8s/meta/pdb.yaml | 4 ++-- k8s/meta/priorityclass.yaml | 4 ++-- k8s/meta/svc.yaml | 4 ++-- pkg/gateway/filter/handler/rest/handler_test.go | 2 +- 44 files changed, 98 insertions(+), 98 deletions(-) diff --git a/k8s/agent/configmap.yaml b/k8s/agent/configmap.yaml index feccba20b88..ccaf2ec4f28 100644 --- a/k8s/agent/configmap.yaml +++ b/k8s/agent/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-agent-ngt-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: agent data: config.yaml: | @@ -170,6 +170,7 @@ data: instance: "" zone: "" ngt: + auto_create_index_pool_size: 10000 auto_index_check_duration: 30m auto_index_duration_limit: 24h auto_index_length: 100 diff --git a/k8s/agent/pdb.yaml b/k8s/agent/pdb.yaml index 06388ced148..639d7b3f1c9 100644 --- a/k8s/agent/pdb.yaml +++ b/k8s/agent/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-agent-ngt labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: agent spec: maxUnavailable: 1 diff --git a/k8s/agent/priorityclass.yaml b/k8s/agent/priorityclass.yaml index 4ffeb04611a..855184ae227 100644 --- a/k8s/agent/priorityclass.yaml +++ b/k8s/agent/priorityclass.yaml @@ -20,10 +20,10 @@ metadata: name: vald-agent-ngt-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: agent value: 1e+09 preemptionPolicy: Never diff --git a/k8s/agent/statefulset.yaml b/k8s/agent/statefulset.yaml index 512f5932a1f..b05ac74ab4a 100644 --- a/k8s/agent/statefulset.yaml +++ b/k8s/agent/statefulset.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-agent-ngt app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: agent spec: serviceName: vald-agent-ngt @@ -51,7 +51,7 @@ spec: profefe.com/port: "6060" profefe.com/service: vald-agent-ngt # annotations: - # checksum/configmap: dfa54451451ece2dace4e6c3433a9f7c8c59eccc8b55a6439e045ad641ce51c0 + # checksum/configmap: 38bc5fd03d74781c496fccc152ec2097f81db794597162c3bf8b0abaaddb8f05 spec: affinity: nodeAffinity: diff --git a/k8s/agent/svc.yaml b/k8s/agent/svc.yaml index edf02cfc7ee..dd340daa0e0 100644 --- a/k8s/agent/svc.yaml +++ b/k8s/agent/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-agent-ngt labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: agent spec: ports: diff --git a/k8s/discoverer/clusterrole.yaml b/k8s/discoverer/clusterrole.yaml index 70b52a86d38..e593b7840db 100644 --- a/k8s/discoverer/clusterrole.yaml +++ b/k8s/discoverer/clusterrole.yaml @@ -20,10 +20,10 @@ metadata: name: discoverer labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer rules: - apiGroups: diff --git a/k8s/discoverer/clusterrolebinding.yaml b/k8s/discoverer/clusterrolebinding.yaml index f844086789a..fee8fbc6cba 100644 --- a/k8s/discoverer/clusterrolebinding.yaml +++ b/k8s/discoverer/clusterrolebinding.yaml @@ -20,10 +20,10 @@ metadata: name: discoverer labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/k8s/discoverer/configmap.yaml b/k8s/discoverer/configmap.yaml index 45dd334d894..08093c056ec 100644 --- a/k8s/discoverer/configmap.yaml +++ b/k8s/discoverer/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-discoverer-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer data: config.yaml: | diff --git a/k8s/discoverer/deployment.yaml b/k8s/discoverer/deployment.yaml index eae931d706a..50fd15cbcd4 100644 --- a/k8s/discoverer/deployment.yaml +++ b/k8s/discoverer/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-discoverer app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer spec: progressDeadlineSeconds: 600 @@ -47,7 +47,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: discoverer annotations: - checksum/configmap: 68741519134d89642d62ef3855a957f5cacde866d40f937f02ce2a506c7982a8 + checksum/configmap: db948394400bfb7450efba4f0bb09b69699e38f89d1378785881f36086dc12d4 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-discoverer diff --git a/k8s/discoverer/pdb.yaml b/k8s/discoverer/pdb.yaml index ac95c0c7354..0c1567f431f 100644 --- a/k8s/discoverer/pdb.yaml +++ b/k8s/discoverer/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-discoverer labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer spec: maxUnavailable: 50% diff --git a/k8s/discoverer/priorityclass.yaml b/k8s/discoverer/priorityclass.yaml index 24182846fcf..96cb852ea6e 100644 --- a/k8s/discoverer/priorityclass.yaml +++ b/k8s/discoverer/priorityclass.yaml @@ -20,10 +20,10 @@ metadata: name: vald-discoverer-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer value: 1e+06 globalDefault: false diff --git a/k8s/discoverer/serviceaccount.yaml b/k8s/discoverer/serviceaccount.yaml index 09453c23e62..546f9479888 100644 --- a/k8s/discoverer/serviceaccount.yaml +++ b/k8s/discoverer/serviceaccount.yaml @@ -20,8 +20,8 @@ metadata: name: vald labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer diff --git a/k8s/discoverer/svc.yaml b/k8s/discoverer/svc.yaml index 6be09ec933a..9c0cb21ba02 100644 --- a/k8s/discoverer/svc.yaml +++ b/k8s/discoverer/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-discoverer labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: discoverer spec: ports: diff --git a/k8s/gateway/vald/configmap.yaml b/k8s/gateway/vald/configmap.yaml index 96cc08951e6..5cee411059d 100644 --- a/k8s/gateway/vald/configmap.yaml +++ b/k8s/gateway/vald/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-gateway-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway data: config.yaml: | diff --git a/k8s/gateway/vald/deployment.yaml b/k8s/gateway/vald/deployment.yaml index 4428b24d135..cec00a9ad6f 100644 --- a/k8s/gateway/vald/deployment.yaml +++ b/k8s/gateway/vald/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-gateway app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway spec: progressDeadlineSeconds: 600 @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: gateway annotations: - checksum/configmap: 8c4277a4fec77c6c23fd42ef7aae5d70848aa93bbd3d335ff8720ce8c5d96e38 + checksum/configmap: 7f20c3d1daedb284c15e4f0e224892f444ea31ebd42a1dbc1341d57414a68960 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-gateway diff --git a/k8s/gateway/vald/hpa.yaml b/k8s/gateway/vald/hpa.yaml index 287c7d73ff8..054c6853ec8 100644 --- a/k8s/gateway/vald/hpa.yaml +++ b/k8s/gateway/vald/hpa.yaml @@ -20,10 +20,10 @@ metadata: name: vald-gateway labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway spec: maxReplicas: 9 diff --git a/k8s/gateway/vald/ing.yaml b/k8s/gateway/vald/ing.yaml index 11eed180c21..17c6ccc5af7 100644 --- a/k8s/gateway/vald/ing.yaml +++ b/k8s/gateway/vald/ing.yaml @@ -15,7 +15,6 @@ # limitations under the License. # apiVersion: networking.k8s.io/v1beta1 -# apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: @@ -24,15 +23,15 @@ metadata: name: vald-gateway-ingress app: vald-gateway-ingress app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway name: vald-gateway-ingress spec: rules: - - host: vald.gateway.vdaas.org + - host: vald.gateway.vald.vdaas.org http: paths: - backend: diff --git a/k8s/gateway/vald/pdb.yaml b/k8s/gateway/vald/pdb.yaml index 91d57a69807..52471fd0435 100644 --- a/k8s/gateway/vald/pdb.yaml +++ b/k8s/gateway/vald/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-gateway labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway spec: maxUnavailable: 50% diff --git a/k8s/gateway/vald/priorityclass.yaml b/k8s/gateway/vald/priorityclass.yaml index b31d377c1f0..87434bd2361 100644 --- a/k8s/gateway/vald/priorityclass.yaml +++ b/k8s/gateway/vald/priorityclass.yaml @@ -20,10 +20,10 @@ metadata: name: vald-gateway-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway value: 1e+06 globalDefault: false diff --git a/k8s/gateway/vald/svc.yaml b/k8s/gateway/vald/svc.yaml index 32f8ffc64ee..53c4a08a086 100644 --- a/k8s/gateway/vald/svc.yaml +++ b/k8s/gateway/vald/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-gateway labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: gateway spec: ports: diff --git a/k8s/manager/backup/configmap.yaml b/k8s/manager/backup/configmap.yaml index b3bb80978ca..2e01548acdb 100644 --- a/k8s/manager/backup/configmap.yaml +++ b/k8s/manager/backup/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-backup-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup data: config.yaml: | diff --git a/k8s/manager/backup/deployment.yaml b/k8s/manager/backup/deployment.yaml index 1c94b6f3943..b5fba81b321 100644 --- a/k8s/manager/backup/deployment.yaml +++ b/k8s/manager/backup/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-manager-backup app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup spec: progressDeadlineSeconds: 600 @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: manager-backup annotations: - checksum/configmap: dc7f5efa069f0b817311e5a2d8a074a40b901e6a14a0f2cdc467d50f8e65e916 + checksum/configmap: 78ad8ad0cdcbadaefa93825ecf10e1c9239ec9ed1928d4bf42599b2c28bb3c18 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-manager-backup diff --git a/k8s/manager/backup/hpa.yaml b/k8s/manager/backup/hpa.yaml index 6efcf6f4a49..2c69b1ce17e 100644 --- a/k8s/manager/backup/hpa.yaml +++ b/k8s/manager/backup/hpa.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-backup labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup spec: maxReplicas: 15 diff --git a/k8s/manager/backup/pdb.yaml b/k8s/manager/backup/pdb.yaml index c409afa6960..bf237241002 100644 --- a/k8s/manager/backup/pdb.yaml +++ b/k8s/manager/backup/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-backup labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup spec: maxUnavailable: 50% diff --git a/k8s/manager/backup/priorityclass.yaml b/k8s/manager/backup/priorityclass.yaml index 993a39fbda1..ba1290f42a5 100644 --- a/k8s/manager/backup/priorityclass.yaml +++ b/k8s/manager/backup/priorityclass.yaml @@ -20,11 +20,11 @@ metadata: name: vald-manager-backup-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup value: 1e+06 globalDefault: false -description: "A priority class for Vald backupManager." +description: "A priority class for Vald backup manager." diff --git a/k8s/manager/backup/svc.yaml b/k8s/manager/backup/svc.yaml index 9e53bc68e9b..6ed62cabc61 100644 --- a/k8s/manager/backup/svc.yaml +++ b/k8s/manager/backup/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-backup labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-backup spec: ports: diff --git a/k8s/manager/compressor/configmap.yaml b/k8s/manager/compressor/configmap.yaml index 84f74bf3de4..8d6ab645fc5 100644 --- a/k8s/manager/compressor/configmap.yaml +++ b/k8s/manager/compressor/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-compressor-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor data: config.yaml: | diff --git a/k8s/manager/compressor/deployment.yaml b/k8s/manager/compressor/deployment.yaml index 30b9ee197cb..34c25903e32 100644 --- a/k8s/manager/compressor/deployment.yaml +++ b/k8s/manager/compressor/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-manager-compressor app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor spec: progressDeadlineSeconds: 600 @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: manager-compressor annotations: - checksum/configmap: 9af8bc79a9e65f335ea2c902e8d626afc885a05df13fa6b40f9cc3947b95c8cb + checksum/configmap: 148f5dfa03e17dcb422a29b2a7f30f82a67eb6a05a7be661cbd96f0119cb3bc4 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-manager-compressor diff --git a/k8s/manager/compressor/hpa.yaml b/k8s/manager/compressor/hpa.yaml index e24382f7590..2cec2c2eca0 100644 --- a/k8s/manager/compressor/hpa.yaml +++ b/k8s/manager/compressor/hpa.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-compressor labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor spec: maxReplicas: 15 diff --git a/k8s/manager/compressor/pdb.yaml b/k8s/manager/compressor/pdb.yaml index 9321250fcb8..c5bd95585a9 100644 --- a/k8s/manager/compressor/pdb.yaml +++ b/k8s/manager/compressor/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-compressor labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor spec: maxUnavailable: 1 diff --git a/k8s/manager/compressor/priorityclass.yaml b/k8s/manager/compressor/priorityclass.yaml index 6593452e774..f8451797a46 100644 --- a/k8s/manager/compressor/priorityclass.yaml +++ b/k8s/manager/compressor/priorityclass.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-compressor-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor value: 1e+08 preemptionPolicy: Never diff --git a/k8s/manager/compressor/svc.yaml b/k8s/manager/compressor/svc.yaml index 8624516b38e..0294a1fef4b 100644 --- a/k8s/manager/compressor/svc.yaml +++ b/k8s/manager/compressor/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-compressor labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-compressor spec: ports: diff --git a/k8s/manager/index/configmap.yaml b/k8s/manager/index/configmap.yaml index 74aedc78090..c4496ca5316 100644 --- a/k8s/manager/index/configmap.yaml +++ b/k8s/manager/index/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-index-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-index data: config.yaml: | diff --git a/k8s/manager/index/deployment.yaml b/k8s/manager/index/deployment.yaml index 5f0e673f632..31e50848cc1 100644 --- a/k8s/manager/index/deployment.yaml +++ b/k8s/manager/index/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-manager-index app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-index spec: progressDeadlineSeconds: 600 @@ -47,7 +47,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: manager-index annotations: - checksum/configmap: 703ac19fbceb6fcf1e2beecc417f4df83fbc11674e9d6091fe2cf6b892cfaf2e + checksum/configmap: 732fb4a13c7c438e654c026aa1910f13ff0cdb9da455644abef773344047a677 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-manager-index diff --git a/k8s/manager/index/pdb.yaml b/k8s/manager/index/pdb.yaml index b5c55c360ca..f6402312fa8 100644 --- a/k8s/manager/index/pdb.yaml +++ b/k8s/manager/index/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-index labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-index spec: maxUnavailable: 50% diff --git a/k8s/manager/index/priorityclass.yaml b/k8s/manager/index/priorityclass.yaml index f41ca4dc3c2..a922c3a184a 100644 --- a/k8s/manager/index/priorityclass.yaml +++ b/k8s/manager/index/priorityclass.yaml @@ -20,11 +20,11 @@ metadata: name: vald-manager-index-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-index value: 1e+06 globalDefault: false -description: "A priority class for Vald indexManager." +description: "A priority class for Vald index manager." diff --git a/k8s/manager/index/svc.yaml b/k8s/manager/index/svc.yaml index 3639edb801c..988bb4cabf2 100644 --- a/k8s/manager/index/svc.yaml +++ b/k8s/manager/index/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-manager-index labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: manager-index spec: ports: diff --git a/k8s/meta/configmap.yaml b/k8s/meta/configmap.yaml index d957f836d15..6abced0c1e7 100644 --- a/k8s/meta/configmap.yaml +++ b/k8s/meta/configmap.yaml @@ -20,10 +20,10 @@ metadata: name: vald-meta-config labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta data: config.yaml: | diff --git a/k8s/meta/deployment.yaml b/k8s/meta/deployment.yaml index 8bcba9fe5eb..5795a21f132 100644 --- a/k8s/meta/deployment.yaml +++ b/k8s/meta/deployment.yaml @@ -21,10 +21,10 @@ metadata: labels: app: vald-meta app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta spec: progressDeadlineSeconds: 600 @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/component: meta annotations: - checksum/configmap: 308c73af7d6ebdf30beb0696cb65f4859eac68a157cd64902c75fcfbf67d1021 + checksum/configmap: fb018b3ed78047099a95e0cdc88b5c191fcac89a7695b49a4639b37e83bb6fcf profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-meta diff --git a/k8s/meta/hpa.yaml b/k8s/meta/hpa.yaml index d7ca1d41a73..a13b9693b73 100644 --- a/k8s/meta/hpa.yaml +++ b/k8s/meta/hpa.yaml @@ -20,10 +20,10 @@ metadata: name: vald-meta labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta spec: maxReplicas: 10 diff --git a/k8s/meta/pdb.yaml b/k8s/meta/pdb.yaml index e8f427dc629..c6da46654b3 100644 --- a/k8s/meta/pdb.yaml +++ b/k8s/meta/pdb.yaml @@ -20,10 +20,10 @@ metadata: name: vald-meta labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta spec: maxUnavailable: 50% diff --git a/k8s/meta/priorityclass.yaml b/k8s/meta/priorityclass.yaml index af1fd2f1dfb..e83a205a2f5 100644 --- a/k8s/meta/priorityclass.yaml +++ b/k8s/meta/priorityclass.yaml @@ -20,10 +20,10 @@ metadata: name: vald-meta-priority labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta value: 1e+06 globalDefault: false diff --git a/k8s/meta/svc.yaml b/k8s/meta/svc.yaml index becad933a8f..e806d03e966 100644 --- a/k8s/meta/svc.yaml +++ b/k8s/meta/svc.yaml @@ -20,10 +20,10 @@ metadata: name: vald-meta labels: app.kubernetes.io/name: vald - helm.sh/chart: vald-v0.0.48 + helm.sh/chart: vald-v0.0.49 app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: RELEASE-NAME - app.kubernetes.io/version: v0.0.48 + app.kubernetes.io/version: v0.0.49 app.kubernetes.io/component: meta spec: ports: diff --git a/pkg/gateway/filter/handler/rest/handler_test.go b/pkg/gateway/filter/handler/rest/handler_test.go index 41b6a579deb..b8f8353265d 100644 --- a/pkg/gateway/filter/handler/rest/handler_test.go +++ b/pkg/gateway/filter/handler/rest/handler_test.go @@ -22,8 +22,8 @@ import ( "reflect" "testing" - "github.com/vdaas/vald/internal/errors" "github.com/vdaas/vald/apis/grpc/gateway/vald" + "github.com/vdaas/vald/internal/errors" "go.uber.org/goleak" )