From 6529521639b8ae009ebf476cb4e7ba59eb93c3d3 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Thu, 25 Jan 2024 19:01:48 +0800 Subject: [PATCH] ci: clean unused file Signed-off-by: zhuwenxing --- deployment/k8s/README.md | 10 -- deployment/k8s/cdc-delete-demo.py | 96 ----------- deployment/k8s/cdc-insert-demo.py | 81 ---------- deployment/k8s/cdc.yaml | 26 --- deployment/k8s/configmap.yaml | 28 ---- deployment/k8s/deployment.yaml | 40 ----- deployment/k8s/service.yaml | 16 -- deployment/k8s/uninstall_milvus.sh | 8 - deployment/k8s/values.yaml | 42 ----- tests/deployment/demo/docker-compose.yml | 65 -------- tests/deployment/milvus-cdc/cdc-config.yaml | 17 -- tests/deployment/milvus-cdc/deployment.yaml | 43 ----- tests/deployment/milvus-cdc/service.yaml | 16 -- tests/deployment/milvus_crd.yaml | 153 ------------------ .../upstream/docker-compose-kafka.yml | 153 ------------------ .../upstream/standalone-values.yaml | 26 --- 16 files changed, 820 deletions(-) delete mode 100644 deployment/k8s/README.md delete mode 100644 deployment/k8s/cdc-delete-demo.py delete mode 100644 deployment/k8s/cdc-insert-demo.py delete mode 100644 deployment/k8s/cdc.yaml delete mode 100644 deployment/k8s/configmap.yaml delete mode 100644 deployment/k8s/deployment.yaml delete mode 100644 deployment/k8s/service.yaml delete mode 100644 deployment/k8s/uninstall_milvus.sh delete mode 100644 deployment/k8s/values.yaml delete mode 100644 tests/deployment/demo/docker-compose.yml delete mode 100644 tests/deployment/milvus-cdc/cdc-config.yaml delete mode 100644 tests/deployment/milvus-cdc/deployment.yaml delete mode 100644 tests/deployment/milvus-cdc/service.yaml delete mode 100644 tests/deployment/milvus_crd.yaml delete mode 100644 tests/deployment/upstream/docker-compose-kafka.yml delete mode 100644 tests/deployment/upstream/standalone-values.yaml diff --git a/deployment/k8s/README.md b/deployment/k8s/README.md deleted file mode 100644 index da00db06..00000000 --- a/deployment/k8s/README.md +++ /dev/null @@ -1,10 +0,0 @@ - - - - -## -create configmap -``` -kubectl create configmap milvus-cdc-config --from-file=cdc.yaml -n chaos-testing -``` - diff --git a/deployment/k8s/cdc-delete-demo.py b/deployment/k8s/cdc-delete-demo.py deleted file mode 100644 index 313f2e73..00000000 --- a/deployment/k8s/cdc-delete-demo.py +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright (C) 2019-2020 Zilliz. All rights reserved. -# -# 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 -# -# http://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. - - -import random -import numpy as np -import time -import argparse -from pymilvus import ( - connections, list_collections, - FieldSchema, CollectionSchema, DataType, - Collection -) -TIMEOUT = 120 - - -def hello_milvus(host="127.0.0.1"): - import time - # create connection - connections.connect(host=host, port="19530") - - print(f"\nList collections...") - print(list_collections()) - - # create collection - dim = 128 - default_fields = [ - FieldSchema(name="int64", dtype=DataType.INT64, is_primary=True), - FieldSchema(name="float", dtype=DataType.FLOAT), - FieldSchema(name="varchar", dtype=DataType.VARCHAR, max_length=65535), - FieldSchema(name="float_vector", dtype=DataType.FLOAT_VECTOR, dim=dim) - ] - default_schema = CollectionSchema(fields=default_fields, description="test collection") - - print(f"\nCreate collection...") - collection = Collection(name="delete_demo", schema=default_schema) - - print(f"\nList collections...") - print(list_collections()) - time.sleep(10) - while True: - start_insert = input("start insert? y/n") - if start_insert == "y": - break - else: - time.sleep(10) - - # insert data - for i in range(1): - nb = 5000 - vectors = [[random.random() for _ in range(dim)] for _ in range(nb)] - t0 = time.time() - collection.insert( - [ - [i for i in range(nb)], - [np.float32(i) for i in range(nb)], - [str(i) for i in range(nb)], - vectors - ] - ) - t1 = time.time() - print(f"\nInsert {nb} vectors cost {t1 - t0:.4f} seconds") - time.sleep(20) - - # delete data - while True: - start_delete = input("start delete? y/n") - if start_delete == "y": - break - else: - time.sleep(10) - - for i in range(100): - batch = 10 - expr = f"int64 in {[x for x in range(batch*i, batch*(i+1))]}" - # delete half of data - del_res = collection.delete(expr) - print(del_res) - print(f"delete data with expr {expr}") - time.sleep(10) - - -parser = argparse.ArgumentParser(description='host ip') -parser.add_argument('--host', type=str, default='127.0.0.1', help='host ip') -args = parser.parse_args() -# add time stamp -print(f"\nStart time: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))}") -hello_milvus(args.host) diff --git a/deployment/k8s/cdc-insert-demo.py b/deployment/k8s/cdc-insert-demo.py deleted file mode 100644 index 096568a4..00000000 --- a/deployment/k8s/cdc-insert-demo.py +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright (C) 2019-2020 Zilliz. All rights reserved. -# -# 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 -# -# http://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. - - -import random -import numpy as np -import time -import argparse -from pymilvus import ( - connections, list_collections, - FieldSchema, CollectionSchema, DataType, - Collection -) -TIMEOUT = 120 - - -def hello_milvus(host="127.0.0.1"): - import time - # create connection - connections.connect(host=host, port="19530") - - print(f"\nList collections...") - print(list_collections()) - - # create collection - dim = 128 - default_fields = [ - FieldSchema(name="int64", dtype=DataType.INT64, is_primary=True), - FieldSchema(name="float", dtype=DataType.FLOAT), - FieldSchema(name="varchar", dtype=DataType.VARCHAR, max_length=65535), - FieldSchema(name="float_vector", dtype=DataType.FLOAT_VECTOR, dim=dim) - ] - default_schema = CollectionSchema(fields=default_fields, description="test collection") - - print(f"\nCreate collection...") - collection = Collection(name="insert_demo", schema=default_schema) - - print(f"\nList collections...") - print(list_collections()) - time.sleep(15) - while True: - start_insert = input("start insert? y/n") - if start_insert == "y": - break - else: - time.sleep(10) - - # insert data - for i in range(1000): - batch = 10 - vectors = [[random.random() for _ in range(dim)] for _ in range(batch)] - t0 = time.time() - collection.insert( - [ - [i for i in range(batch*i, batch*(i+1))], - [np.float32(i) for i in range(batch*i, batch*(i+1))], - [str(i) for i in range(batch*i, batch*(i+1))], - vectors - ] - ) - t1 = time.time() - print(f"\nInsert {batch} vectors cost {t1 - t0:.4f} seconds") - print(f"id {[i for i in range(batch*i, batch*(i+1))]}") - time.sleep(10) - - - -parser = argparse.ArgumentParser(description='host ip') -parser.add_argument('--host', type=str, default='127.0.0.1', help='host ip') -args = parser.parse_args() -# add time stamp -print(f"\nStart time: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))}") -hello_milvus(args.host) diff --git a/deployment/k8s/cdc.yaml b/deployment/k8s/cdc.yaml deleted file mode 100644 index 440beede..00000000 --- a/deployment/k8s/cdc.yaml +++ /dev/null @@ -1,26 +0,0 @@ -address: 0.0.0.0:8444 -maxTaskNum: 100 -metaStoreConfig: - storeType: etcd - etcdEndpoints: - - 10.255.193.40:2379 - mysqlSourceUrl: root:root@tcp(127.0.0.1:3306)/milvuscdc?charset=utf8 - rootPath: cdc -sourceConfig: - etcdAddress: - - 10.255.193.40:2379 - etcdRootPath: cdc-test-upstream - etcdMetaSubPath: meta - readChanLen: 10 - defaultPartitionName: _default - # pulsar: -# address: pulsar://localhost:6650 -# webAddress: localhost:80 -# maxMessageSize: 5242880 -# tenant: public -# namespace: default -# # authPlugin: org.apache.pulsar.client.impl.auth.AuthenticationToken -# # authParams: token:xxx - kafka: - address: 10.255.124.212:9092 -maxNameLength: 256 diff --git a/deployment/k8s/configmap.yaml b/deployment/k8s/configmap.yaml deleted file mode 100644 index fba8218f..00000000 --- a/deployment/k8s/configmap.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: milvus-cdc-config - namespace: chaos-testing -data: - cdc.yaml: | - address: 0.0.0.0 - port: 8444 - etcd.endpoints: [10.101.143.170:2379] # etcd endpoints - etcd.rootpath: cdc - source: - etcd.endpoints: [10.101.143.170:2379] # etcd endpoints - etcd.rootpath: cdc-test-source # etcd rootpath - etcd.meta.path: meta # etcd meta sub path - defaultPartitionName: _default - reader.buffer.len: 10 - mqtype: pulsar - pulsar: - address: 10.101.152.110 - port: 6650 - web.address: - web.port: 80 - max.message.size: 5242880 - tenant: public - namespace: default - kafka: - broker_list: localhost:9092 \ No newline at end of file diff --git a/deployment/k8s/deployment.yaml b/deployment/k8s/deployment.yaml deleted file mode 100644 index e86a3385..00000000 --- a/deployment/k8s/deployment.yaml +++ /dev/null @@ -1,40 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: milvus-cdc -spec: - selector: - matchLabels: - app: milvus-cdc - instance: my-release - replicas: 1 - template: - metadata: - labels: - app: milvus-cdc - instance: my-release - spec: - containers: - - name: milvus-cdc - image: milvusdb/milvus-cdc:v0.0.1 - imagePullPolicy: Always - resources: - limits: - cpu: 500m - memory: 1Gi - requests: - cpu: 250m - memory: 256Mi - securityContext: - privileged: false - volumeMounts: - - name: cdc-config - mountPath: /app/configs/cdc.yaml - subPath: cdc.yaml - volumes: - - name: cdc-config - configMap: - defaultMode: 420 - name: milvus-cdc-config - restartPolicy: Always - diff --git a/deployment/k8s/service.yaml b/deployment/k8s/service.yaml deleted file mode 100644 index 64a52b6c..00000000 --- a/deployment/k8s/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: milvus-cdc-service - labels: - app: milvus-cdc - instance: my-release -spec: - selector: - app: milvus-cdc - instance: my-release - ports: - - name: milvus-cdc - protocol: TCP - port: 8444 - targetPort: 8444 \ No newline at end of file diff --git a/deployment/k8s/uninstall_milvus.sh b/deployment/k8s/uninstall_milvus.sh deleted file mode 100644 index 914bdf9c..00000000 --- a/deployment/k8s/uninstall_milvus.sh +++ /dev/null @@ -1,8 +0,0 @@ - -# Exit immediately for non zero status -set -e -release=${1:-"milvus-chaos"} -ns=${2:-"chaos-testing"} -helm uninstall ${release} -n=${ns} -kubectl delete pvc -l release=${release} -n=${ns} -kubectl delete pvc -l app.kubernetes.io/instance=${release} -n=${ns} diff --git a/deployment/k8s/values.yaml b/deployment/k8s/values.yaml deleted file mode 100644 index 3ca2995e..00000000 --- a/deployment/k8s/values.yaml +++ /dev/null @@ -1,42 +0,0 @@ -cluster: - enabled: true - -log: - level: debug - -image: - all: - repository: fubangzilliz/milvus-dev - tag: cdc-8c1cd0c-20230926 - pullPolicy: IfNotPresent -standalone: - resources: - limits: - cpu: 8 - memory: 16Gi - requests: - cpu: 4 - memory: 8Gi - -kafka: - enabled: false - name: kafka - replicaCount: 3 - defaultReplicationFactor: 2 - -etcd: - replicaCount: 3 - image: - repository: milvusdb/etcd - tag: 3.5.5-r2 -# minio: -# mode: standalone -pulsar: - enabled: true - -extraConfigFiles: - user.yaml: |+ - mq: - type: pulsar - common: - isBackupInstance: true \ No newline at end of file diff --git a/tests/deployment/demo/docker-compose.yml b/tests/deployment/demo/docker-compose.yml deleted file mode 100644 index d8ca5f58..00000000 --- a/tests/deployment/demo/docker-compose.yml +++ /dev/null @@ -1,65 +0,0 @@ -version: '3.5' - -services: - etcd: - container_name: milvus-etcd - image: quay.io/coreos/etcd:v3.5.5 - environment: - - ETCD_AUTO_COMPACTION_MODE=revision - - ETCD_AUTO_COMPACTION_RETENTION=1000 - - ETCD_QUOTA_BACKEND_BYTES=4294967296 - - ETCD_SNAPSHOT_COUNT=50000 - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd - command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd - healthcheck: - test: ["CMD", "etcdctl", "endpoint", "health"] - interval: 30s - timeout: 20s - retries: 3 - - minio: - container_name: milvus-minio - image: minio/minio:RELEASE.2023-03-20T20-16-18Z - environment: - MINIO_ACCESS_KEY: minioadmin - MINIO_SECRET_KEY: minioadmin - ports: - - "9001:9001" - - "9000:9000" - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data - command: minio server /minio_data --console-address ":9001" - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] - interval: 30s - timeout: 20s - retries: 3 - - standalone: - container_name: milvus-standalone - image: milvusdb/milvus:v2.3.5 - command: ["milvus", "run", "standalone"] - security_opt: - - seccomp:unconfined - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"] - interval: 30s - start_period: 90s - timeout: 20s - retries: 3 - ports: - - "19530:19530" - - "9091:9091" - depends_on: - - "etcd" - - "minio" - -networks: - default: - name: milvus \ No newline at end of file diff --git a/tests/deployment/milvus-cdc/cdc-config.yaml b/tests/deployment/milvus-cdc/cdc-config.yaml deleted file mode 100644 index 63ad84be..00000000 --- a/tests/deployment/milvus-cdc/cdc-config.yaml +++ /dev/null @@ -1,17 +0,0 @@ -address: 0.0.0.0:8444 -maxTaskNum: 100 -metaStoreConfig: - storeType: etcd - etcdEndpoints: - - cdc-upstream-etcd:2379 - rootPath: cdc -sourceConfig: - etcdAddress: - - cdc-upstream-etcd:2379 - etcdRootPath: by-dev - etcdMetaSubPath: meta - readChanLen: 10 - defaultPartitionName: _default - kafka: - address: cdc-upstream-kafka:9092 -maxNameLength: 256 diff --git a/tests/deployment/milvus-cdc/deployment.yaml b/tests/deployment/milvus-cdc/deployment.yaml deleted file mode 100644 index 3d9f19ad..00000000 --- a/tests/deployment/milvus-cdc/deployment.yaml +++ /dev/null @@ -1,43 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: milvus-cdc -spec: - selector: - matchLabels: - app: milvus-cdc - instance: my-release - replicas: 1 - template: - metadata: - labels: - app: milvus-cdc - instance: my-release - spec: - containers: - - name: milvus-cdc - ports: - - name: metrics - containerPort: 8444 - image: milvus-cdc:latest - imagePullPolicy: IfNotPresent - resources: - limits: - cpu: 4.0 - memory: 8Gi - requests: - cpu: 1.0 - memory: 2Gi - securityContext: - privileged: false - volumeMounts: - - name: cdc-config - mountPath: /app/configs/cdc.yaml - subPath: cdc.yaml - volumes: - - name: cdc-config - configMap: - defaultMode: 420 - name: milvus-cdc-config - restartPolicy: Always - diff --git a/tests/deployment/milvus-cdc/service.yaml b/tests/deployment/milvus-cdc/service.yaml deleted file mode 100644 index 07c7dc47..00000000 --- a/tests/deployment/milvus-cdc/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: milvus-cdc - labels: - app: milvus-cdc - instance: my-release -spec: - selector: - app: milvus-cdc - instance: my-release - ports: - - name: metrics - protocol: TCP - port: 8444 - targetPort: 8444 \ No newline at end of file diff --git a/tests/deployment/milvus_crd.yaml b/tests/deployment/milvus_crd.yaml deleted file mode 100644 index efa588ad..00000000 --- a/tests/deployment/milvus_crd.yaml +++ /dev/null @@ -1,153 +0,0 @@ -# This is a sample to deploy a milvus cluster using pulsar with minimum cost of resources. -apiVersion: milvus.io/v1beta1 -kind: Milvus -metadata: - name: cdc-test-target - namespace: chaos-testing - labels: - app: milvus -spec: - mode: standalone - config: - dataNode: - memory: - forceSyncEnable: false - quotaAndLimits: - enable: false - log: - level: debug - components: - enableRollingUpdate: true - imageUpdateMode: rollingUpgrade - image: milvusdb/milvus:master-latest - disableMetric: false - dataNode: - replicas: 2 - indexNode: - replicas: 2 - queryNode: - replicas: 2 - mixCoord: - replicas: 1 - dependencies: - msgStreamType: pulsar - etcd: - inCluster: - deletionPolicy: Retain - pvcDeletion: false - values: - replicaCount: 3 - kafka: - inCluster: - deletionPolicy: Retain - pvcDeletion: false - values: - replicaCount: 3 - defaultReplicationFactor: 2 - metrics: - kafka: - enabled: true - serviceMonitor: - enabled: true - jmx: - enabled: true - pulsar: - inCluster: - deletionPolicy: Retain - pvcDeletion: false - values: - components: - autorecovery: false - functions: false - toolset: false - pulsar_manager: false - monitoring: - prometheus: false - grafana: false - node_exporter: false - alert_manager: false - proxy: - replicaCount: 1 - resources: - requests: - cpu: 0.01 - memory: 256Mi - configData: - PULSAR_MEM: > - -Xms256m -Xmx256m - PULSAR_GC: > - -XX:MaxDirectMemorySize=256m - bookkeeper: - replicaCount: 2 - resources: - requests: - cpu: 0.01 - memory: 256Mi - configData: - PULSAR_MEM: > - -Xms256m - -Xmx256m - -XX:MaxDirectMemorySize=256m - PULSAR_GC: > - -Dio.netty.leakDetectionLevel=disabled - -Dio.netty.recycler.linkCapacity=1024 - -XX:+UseG1GC -XX:MaxGCPauseMillis=10 - -XX:+ParallelRefProcEnabled - -XX:+UnlockExperimentalVMOptions - -XX:+DoEscapeAnalysis - -XX:ParallelGCThreads=32 - -XX:ConcGCThreads=32 - -XX:G1NewSizePercent=50 - -XX:+DisableExplicitGC - -XX:-ResizePLAB - -XX:+ExitOnOutOfMemoryError - -XX:+PerfDisableSharedMem - -XX:+PrintGCDetails - zookeeper: - replicaCount: 1 - resources: - requests: - cpu: 0.01 - memory: 256Mi - configData: - PULSAR_MEM: > - -Xms256m - -Xmx256m - PULSAR_GC: > - -Dcom.sun.management.jmxremote - -Djute.maxbuffer=10485760 - -XX:+ParallelRefProcEnabled - -XX:+UnlockExperimentalVMOptions - -XX:+DoEscapeAnalysis -XX:+DisableExplicitGC - -XX:+PerfDisableSharedMem - -Dzookeeper.forceSync=no - broker: - replicaCount: 1 - resources: - requests: - cpu: 0.01 - memory: 256Mi - configData: - PULSAR_MEM: > - -Xms256m - -Xmx256m - PULSAR_GC: > - -XX:MaxDirectMemorySize=256m - -Dio.netty.leakDetectionLevel=disabled - -Dio.netty.recycler.linkCapacity=1024 - -XX:+ParallelRefProcEnabled - -XX:+UnlockExperimentalVMOptions - -XX:+DoEscapeAnalysis - -XX:ParallelGCThreads=32 - -XX:ConcGCThreads=32 - -XX:G1NewSizePercent=50 - -XX:+DisableExplicitGC - -XX:-ResizePLAB - -XX:+ExitOnOutOfMemoryError - storage: - inCluster: - deletionPolicy: Retain - pvcDeletion: false - values: - mode: distributed - \ No newline at end of file diff --git a/tests/deployment/upstream/docker-compose-kafka.yml b/tests/deployment/upstream/docker-compose-kafka.yml deleted file mode 100644 index db88f10e..00000000 --- a/tests/deployment/upstream/docker-compose-kafka.yml +++ /dev/null @@ -1,153 +0,0 @@ -version: '3.5' - -services: - etcd: - container_name: milvus-etcd - image: quay.io/coreos/etcd:v3.5.0 - ports: - - "2379:2379" - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd - command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd - - pulsar: - container_name: milvus-pulsar - image: apachepulsar/pulsar:2.7.3 - ports: - - "6650:6650" - - "8080:80" - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/pulsar:/pulsar/data - environment: - # bin/apply-config-from-env.py script will modify the configuration file based on the environment variables - # nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding) - - nettyMaxFrameSizeBytes=104867840 # this is 104857600 + 10240 (padding) - - defaultRetentionTimeInMinutes=10080 - - defaultRetentionSizeInMB=-1 - # maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured - - PULSAR_PREFIX_maxMessageSize=104857600 - - PULSAR_GC=-XX:+UseG1GC - command: | - /bin/bash -c \ - "bin/apply-config-from-env.py conf/standalone.conf && \ - exec bin/pulsar standalone --no-functions-worker --no-stream-storage" - - minio: - container_name: milvus-minio - image: minio/minio:RELEASE.2020-12-03T00-03-10Z - environment: - MINIO_ACCESS_KEY: minioadmin - MINIO_SECRET_KEY: minioadmin - volumes: - - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data - command: minio server /minio_data - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] - interval: 30s - timeout: 20s - retries: 3 - - rootcoord: - container_name: milvus-rootcoord - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "rootcoord"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - ROOT_COORD_ADDRESS: rootcoord:53100 - depends_on: - - "etcd" - - "pulsar" - - "minio" - - proxy: - container_name: milvus-proxy - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "proxy"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - ports: - - "19530:19530" - - querycoord: - container_name: milvus-querycoord - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "querycoord"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - QUERY_COORD_ADDRESS: querycoord:19531 - depends_on: - - "etcd" - - "pulsar" - - "minio" - - querynode: - container_name: milvus-querynode - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "querynode"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - depends_on: - - "querycoord" - - indexcoord: - container_name: milvus-indexcoord - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "indexcoord"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - INDEX_COORD_ADDRESS: indexcoord:31000 - depends_on: - - "etcd" - - "pulsar" - - "minio" - - indexnode: - container_name: milvus-indexnode - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "indexnode"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - INDEX_COORD_ADDRESS: indexcoord:31000 - depends_on: - - "indexcoord" - - datacoord: - container_name: milvus-datacoord - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "datacoord"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - DATA_COORD_ADDRESS: datacoord:13333 - depends_on: - - "etcd" - - "pulsar" - - "minio" - - datanode: - container_name: milvus-datanode - image: ${MILVUS_IMAGE:-milvusdb/milvus:master-latest} - command: ["milvus", "run", "datanode"] - environment: - ETCD_ENDPOINTS: etcd:2379 - MINIO_ADDRESS: minio:9000 - PULSAR_ADDRESS: pulsar://pulsar:6650 - depends_on: - - "datacoord" - -networks: - default: - name: milvus \ No newline at end of file diff --git a/tests/deployment/upstream/standalone-values.yaml b/tests/deployment/upstream/standalone-values.yaml deleted file mode 100644 index f79c0324..00000000 --- a/tests/deployment/upstream/standalone-values.yaml +++ /dev/null @@ -1,26 +0,0 @@ -cluster: - enabled: false -log: - level: debug -image: - all: - repository: milvusdb/milvus - tag: master-latest - pullPolicy: IfNotPresent -standalone: - messageQueue: kafka -etcd: - replicaCount: 3 - image: - debug: true - repository: milvusdb/etcd - tag: 3.5.5-r2 -minio: - mode: standalone -pulsar: - enabled: false -kafka: - enabled: true - name: kafka - replicaCount: 3 - defaultReplicationFactor: 2 \ No newline at end of file