From 23f6168ecbda0d5d38fffb8c404849eb3dbd70a2 Mon Sep 17 00:00:00 2001 From: shaoyue Date: Thu, 18 Jul 2024 14:53:36 +0800 Subject: [PATCH] Milvus default version to 2.4.6, bump version to 1.0.0 (#150) Signed-off-by: haorenfsa --- .github/workflows/weekly.yml | 27 +------- Makefile | 16 ++--- README.md | 10 +-- charts/milvus-operator/Chart.yaml | 4 +- charts/milvus-operator/values.yaml | 2 +- deploy/manifests/deployment.yaml | 28 ++++----- docs/installation/installation.md | 10 +-- pkg/config/config.go | 2 +- test/min-mc-alpha.yaml | 98 ++++-------------------------- test/min-mc-kafka.yaml | 6 ++ test/min-mc-mixture.yaml | 98 ++++-------------------------- test/min-mc.yaml | 98 ++++-------------------------- 12 files changed, 76 insertions(+), 323 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 4f565872..ea4762dd 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -13,32 +13,7 @@ on: - cron: '0 23 * * 0' jobs: - daily-kafka: - name: System Integration Test for Kafka - runs-on: ubuntu-latest - timeout-minutes: 40 - strategy: - fail-fast: false - matrix: - os: [ubuntu18.04] - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Prepare Docker Images - run: | - make sit-prepare-images - - name: Setup KinD Cluster - uses: engineerd/setup-kind@v0.5.0 - with: - version: "v0.11.1" - - name: Deploy to KinD - run: | - make sit-deploy - - name: Integration Test - run: | - make sit-test test_mode=kafka - - daily-alpha: + weekly-alpha: name: System Integration Test for v1alpha1 runs-on: ubuntu-latest timeout-minutes: 40 diff --git a/Makefile b/Makefile index 4a725328..ea219925 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,9 @@ IMG ?= milvusdb/milvus-operator:dev-latest TOOL_IMG ?= milvus-config-tool:dev-latest SIT_IMG ?= milvus-operator:sit -VERSION ?= 0.9.17 +VERSION ?= 1.0.0 TOOL_VERSION ?= 0.4.0 -MILVUS_HELM_VERSION ?= milvus-4.1.31 +MILVUS_HELM_VERSION ?= milvus-4.2.0 RELEASE_IMG ?= milvusdb/milvus-operator:v$(VERSION) TOOL_RELEASE_IMG ?= milvusdb/milvus-config-tool:v$(TOOL_VERSION) KIND_CLUSTER ?= kind @@ -232,11 +232,11 @@ sit-prepare-operator-images: sit-prepare-images: sit-prepare-operator-images @echo "Preparing images" - docker pull milvusdb/milvus:v2.4.5 + docker pull milvusdb/milvus:v2.4.6 docker pull -q apachepulsar/pulsar:2.8.2 docker pull -q bitnami/kafka:3.1.0-debian-10-r52 - docker pull -q milvusdb/etcd:3.5.5-r2 + docker pull -q milvusdb/etcd:3.5.5-r4 docker pull -q minio/minio:RELEASE.2023-03-20T20-16-18Z docker pull -q haorenfsa/pymilvus:latest @@ -249,19 +249,19 @@ sit-load-operator-images: sit-load-images: sit-load-operator-images @echo "Loading images" - kind load docker-image milvusdb/milvus:v2.4.5 + kind load docker-image milvusdb/milvus:v2.4.6 kind load docker-image apachepulsar/pulsar:2.8.2 --name ${KIND_CLUSTER} kind load docker-image bitnami/kafka:3.1.0-debian-10-r52 --name ${KIND_CLUSTER} - kind load docker-image milvusdb/etcd:3.5.5-r2 --name ${KIND_CLUSTER} + kind load docker-image milvusdb/etcd:3.5.5-r4 --name ${KIND_CLUSTER} kind load docker-image minio/minio:RELEASE.2023-03-20T20-16-18Z --name ${KIND_CLUSTER} kind load docker-image haorenfsa/pymilvus:latest --name ${KIND_CLUSTER} sit-load-and-cleanup-images: sit-load-images @echo "Clean up some big images to save disk space in github action" - docker rmi milvusdb/milvus:v2.4.5 + docker rmi milvusdb/milvus:v2.4.6 docker rmi apachepulsar/pulsar:2.8.2 docker rmi bitnami/kafka:3.1.0-debian-10-r52 - docker rmi milvusdb/etcd:3.5.5-r2 + docker rmi milvusdb/etcd:3.5.5-r4 docker rmi minio/minio:RELEASE.2023-03-20T20-16-18Z sit-generate-manifest: diff --git a/README.md b/README.md index a73293cc..e75b4330 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ helm -n milvus-operator upgrade --install --create-namespace milvus-operator mil Or with kubectl & raw manifests: ```shell -kubectl apply -f https://raw.githubusercontent.com/zilliztech/milvus-operator/v0.9.17/deploy/manifests/deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/zilliztech/milvus-operator/v1.0.0/deploy/manifests/deployment.yaml ``` For more infomation Check [Installation Instructions](docs/installation/installation.md) @@ -45,11 +45,11 @@ Versions of the underlying components are listed below: +Versions, v2.4.6 `[1]`, 2.8.2 / 3.1.0, 3.5.5-2, RELEASE.2023-03-20T20-16-18Z --> |Components| Milvus| Pulsar / Kafka| Etcd| MinIO| |---|---|---|---|---| -|Versions| v2.4.5 `[1]`| 2.8.2 / 3.1.0 | 3.5.5-2 |RELEASE.2023-03-20T20-16-18Z| +|Versions| v2.4.6 `[1]`| 2.8.2 / 3.1.0 | 3.5.5-2 |RELEASE.2023-03-20T20-16-18Z| > `[1]` Version of milvus is the default version we will use, you can set it to other version. The Compatibility with milvus releases is showed below. @@ -82,13 +82,13 @@ Use helm: ```shell helm upgrade --install milvus-operator \ -n milvus-operator --create-namespace \ - https://github.com/zilliztech/milvus-operator/releases/download/v0.9.17/milvus-operator-0.9.17.tgz + https://github.com/zilliztech/milvus-operator/releases/download/v1.0.0/milvus-operator-1.0.0.tgz ``` Or use kubectl & raw manifests: ```shell -kubectl apply -f https://raw.githubusercontent.com/zilliztech/milvus-operator/v0.9.17/deploy/manifests/deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/zilliztech/milvus-operator/v1.0.0/deploy/manifests/deployment.yaml ``` diff --git a/charts/milvus-operator/Chart.yaml b/charts/milvus-operator/Chart.yaml index 91f6e6aa..dd76e5e3 100644 --- a/charts/milvus-operator/Chart.yaml +++ b/charts/milvus-operator/Chart.yaml @@ -18,13 +18,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.9.17 +version: 1.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.9.17" +appVersion: "1.0.0" maintainers: - name: zilliztech diff --git a/charts/milvus-operator/values.yaml b/charts/milvus-operator/values.yaml index d4b022ac..8b87b391 100644 --- a/charts/milvus-operator/values.yaml +++ b/charts/milvus-operator/values.yaml @@ -7,7 +7,7 @@ image: # image.pullPolicy -- The image pull policy for the controller. pullPolicy: IfNotPresent # image.tag -- The image tag whose default is the chart appVersion. - tag: "v0.9.17" + tag: "v1.0.0" # installCRDs -- If true, CRD resources will be installed as part of the Helm chart. If enabled, when uninstalling CRD resources will be deleted causing all installed custom resources to be DELETED installCRDs: true diff --git a/deploy/manifests/deployment.yaml b/deploy/manifests/deployment.yaml index 359db4ba..e8da3873 100644 --- a/deploy/manifests/deployment.yaml +++ b/deploy/manifests/deployment.yaml @@ -11,10 +11,10 @@ metadata: name: "milvus-operator-checker" namespace: "milvus-operator" labels: - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm --- # Source: milvus-operator/templates/serviceaccount.yaml @@ -24,10 +24,10 @@ metadata: name: "milvus-operator" namespace: "milvus-operator" labels: - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm --- # Source: milvus-operator/templates/crds.yaml @@ -15194,10 +15194,10 @@ kind: Service metadata: labels: service-kind: metrics - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm name: 'milvus-operator-metrics-service' namespace: "milvus-operator" @@ -15215,10 +15215,10 @@ apiVersion: v1 kind: Service metadata: labels: - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm name: 'milvus-operator-webhook-service' namespace: "milvus-operator" @@ -15237,10 +15237,10 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm name: "milvus-operator" namespace: "milvus-operator" @@ -15270,7 +15270,7 @@ spec: - --leader-elect command: - /manager - image: 'milvusdb/milvus-operator:v0.9.17' + image: 'milvusdb/milvus-operator:v1.0.0' imagePullPolicy: "IfNotPresent" livenessProbe: httpGet: @@ -15327,10 +15327,10 @@ metadata: annotations: {} labels: - helm.sh/chart: milvus-operator-0.9.17 + helm.sh/chart: milvus-operator-1.0.0 app.kubernetes.io/name: milvus-operator app.kubernetes.io/instance: milvus-operator - app.kubernetes.io/version: "0.9.17" + app.kubernetes.io/version: "1.0.0" app.kubernetes.io/managed-by: Helm name: "milvus-operator-checker" namespace: "milvus-operator" @@ -15344,7 +15344,7 @@ spec: restartPolicy: OnFailure containers: - name: checker - image: 'milvusdb/milvus-operator:v0.9.17' + image: 'milvusdb/milvus-operator:v1.0.0' imagePullPolicy: "IfNotPresent" command: ["/checker"] args: diff --git a/docs/installation/installation.md b/docs/installation/installation.md index 24596607..a0464fa8 100644 --- a/docs/installation/installation.md +++ b/docs/installation/installation.md @@ -12,7 +12,7 @@ For quick start, install with one line command: ```shell helm install milvus-operator \ -n milvus-operator --create-namespace \ - https://github.com/zilliztech/milvus-operator/releases/download/v0.9.17/milvus-operator-0.9.17.tgz + https://github.com/zilliztech/milvus-operator/releases/download/v1.0.0/milvus-operator-1.0.0.tgz ``` If you already have `cert-manager` v1.0+ installed which is not in its default configuration, you may encounter some error with the check of cert-manager installation. you can install with special options to disable the check: @@ -20,7 +20,7 @@ If you already have `cert-manager` v1.0+ installed which is not in its default c ``` helm install milvus-operator \ -n milvus-operator --create-namespace \ - https://github.com/zilliztech/milvus-operator/releases/download/v0.9.17/milvus-operator-0.9.17.tgz \ + https://github.com/zilliztech/milvus-operator/releases/download/v1.0.0/milvus-operator-1.0.0.tgz \ --set checker.disableCertManagerCheck=true ``` @@ -39,7 +39,7 @@ use helm commands to upgrade earlier milvus-operator to current version: ```shell helm upgrade -n milvus-operator milvus-operator --reuse-values \ - https://github.com/zilliztech/milvus-operator/releases/download/v0.9.17/milvus-operator-0.9.17.tgz + https://github.com/zilliztech/milvus-operator/releases/download/v1.0.0/milvus-operator-1.0.0.tgz ``` ## Delete operator @@ -62,7 +62,7 @@ If you don't want to use helm you can also install with kubectl and raw manifest ## Installation It is recommended to install the milvus operator with a newest stable version ```shell -kubectl apply -f https://github.com/zilliztech/milvus-operator/v0.9.17/deploy/manifests/deployment.yaml +kubectl apply -f https://github.com/zilliztech/milvus-operator/v1.0.0/deploy/manifests/deployment.yaml ``` Check the installed operators: @@ -85,7 +85,7 @@ Same as installation, you can update the milvus operator with a newer version by Delete the milvus operator stack by the deployment manifest: ```shell -kubectl delete -f https://github.com/zilliztech/milvus-operator/v0.9.17/deploy/manifests/deployment.yaml +kubectl delete -f https://github.com/zilliztech/milvus-operator/v1.0.0/deploy/manifests/deployment.yaml ``` Or delete the milvus operator stack by using makefile: diff --git a/pkg/config/config.go b/pkg/config/config.go index 4a0ef7a5..73d97f8d 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -8,7 +8,7 @@ import ( ) const ( - DefaultMilvusVersion = "v2.4.5" + DefaultMilvusVersion = "v2.4.6" DefaultMilvusBaseImage = "milvusdb/milvus" DefaultMilvusImage = DefaultMilvusBaseImage + ":" + DefaultMilvusVersion DefaultImagePullPolicy = corev1.PullIfNotPresent diff --git a/test/min-mc-alpha.yaml b/test/min-mc-alpha.yaml index c1a6a12f..46b0a740 100644 --- a/test/min-mc-alpha.yaml +++ b/test/min-mc-alpha.yaml @@ -32,99 +32,23 @@ spec: pvcDeletion: true values: replicaCount: 1 - pulsar: + msgStreamType: kafka + kafka: inCluster: deletionPolicy: Delete pvcDeletion: true 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.2 - 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 + persistence: + enabled: true + storageClass: + accessMode: ReadWriteOnce + size: 20Gi + heapOpts: -Xmx512m -Xms320m + defaultReplicationFactor: 1 + offsetsTopicReplicationFactor: 1 + replicaCount: 1 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: Delete diff --git a/test/min-mc-kafka.yaml b/test/min-mc-kafka.yaml index f95c2ff2..25aba88e 100644 --- a/test/min-mc-kafka.yaml +++ b/test/min-mc-kafka.yaml @@ -38,6 +38,12 @@ spec: deletionPolicy: Delete pvcDeletion: true values: + persistence: + enabled: true + storageClass: + accessMode: ReadWriteOnce + size: 20Gi + heapOpts: -Xmx512m -Xms320m defaultReplicationFactor: 1 offsetsTopicReplicationFactor: 1 replicaCount: 1 diff --git a/test/min-mc-mixture.yaml b/test/min-mc-mixture.yaml index 43983402..a63487da 100644 --- a/test/min-mc-mixture.yaml +++ b/test/min-mc-mixture.yaml @@ -35,99 +35,23 @@ spec: pvcDeletion: true values: replicaCount: 1 - pulsar: + msgStreamType: kafka + kafka: inCluster: deletionPolicy: Delete pvcDeletion: true 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.2 - 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 + persistence: + enabled: true + storageClass: + accessMode: ReadWriteOnce + size: 20Gi + heapOpts: -Xmx512m -Xms320m + defaultReplicationFactor: 1 + offsetsTopicReplicationFactor: 1 + replicaCount: 1 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: Delete diff --git a/test/min-mc.yaml b/test/min-mc.yaml index 952c8462..eb6ff8e5 100644 --- a/test/min-mc.yaml +++ b/test/min-mc.yaml @@ -33,99 +33,23 @@ spec: pvcDeletion: true values: replicaCount: 1 - pulsar: + msgStreamType: kafka + kafka: inCluster: deletionPolicy: Delete pvcDeletion: true 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.05 - memory: 256Mi - configData: - PULSAR_MEM: > - -Xms256m -Xmx256m - PULSAR_GC: > - -XX:MaxDirectMemorySize=256m - bookkeeper: - replicaCount: 2 - resources: - requests: - cpu: 0.05 - 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 + persistence: + enabled: true + storageClass: + accessMode: ReadWriteOnce + size: 20Gi + heapOpts: -Xmx512m -Xms320m + defaultReplicationFactor: 1 + offsetsTopicReplicationFactor: 1 + replicaCount: 1 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: Delete