diff --git a/docs/general/aws-eks-iam-for-s3.md b/docs/general/aws-eks-iam-for-s3.md index 4f6fbe89..8b67983d 100644 --- a/docs/general/aws-eks-iam-for-s3.md +++ b/docs/general/aws-eks-iam-for-s3.md @@ -41,7 +41,7 @@ kind: RisingWave metadata: name: risingwave spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 # metaStore: # etcd: # endpoint: etcd:2388 diff --git a/docs/manifests/risingwave/advanced/separate-batch-streaming-modes.yaml b/docs/manifests/risingwave/advanced/separate-batch-streaming-modes.yaml index 9117308c..e5a1901c 100644 --- a/docs/manifests/risingwave/advanced/separate-batch-streaming-modes.yaml +++ b/docs/manifests/risingwave/advanced/separate-batch-streaming-modes.yaml @@ -87,7 +87,7 @@ spec: accessKeyRef: AccessKeyID secretAccessKeyRef: SecretAccessKey region: ap-southeast-1 - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-aliyun-oss.yaml b/docs/manifests/risingwave/risingwave-aliyun-oss.yaml index 5b84b889..9c47ce73 100644 --- a/docs/manifests/risingwave/risingwave-aliyun-oss.yaml +++ b/docs/manifests/risingwave/risingwave-aliyun-oss.yaml @@ -21,7 +21,7 @@ spec: internalEndpoint: false credentials: secretName: risingwave-aliyun-oss-credentials - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-customize-config.yaml b/docs/manifests/risingwave/risingwave-customize-config.yaml index e4465a6b..3a14298c 100644 --- a/docs/manifests/risingwave/risingwave-customize-config.yaml +++ b/docs/manifests/risingwave/risingwave-customize-config.yaml @@ -37,7 +37,7 @@ spec: memory: true stateStore: memory: true - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-etcd-auth.yaml b/docs/manifests/risingwave/risingwave-etcd-auth.yaml deleted file mode 100644 index 264d5f28..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-auth.yaml +++ /dev/null @@ -1,189 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: risingwave-etcd - labels: - app: risingwave-etcd -spec: - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: risingwave-etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-etcd - name: risingwave-etcd -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-etcd - serviceName: risingwave-etcd - template: - metadata: - labels: - app: risingwave-etcd - spec: - enableServiceLinks: false - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - lifecycle: - postStart: - exec: - command: - - sh - - -c - - export ETCDCTL_API=3; while ! etcdctl --endpoints http://risingwave-etcd-0:2388 user list > /dev/null; do sleep 2; done ; echo 123456 | etcdctl --endpoints http://risingwave-etcd-0:2388 user add root --interactive=false; etcdctl --user root:123456 --endpoints http://risingwave-etcd-0:2388 auth enable - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://risingwave-etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://risingwave-etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "risingwave-etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP ---- -apiVersion: v1 -kind: Secret -metadata: - name: etcd-credentials -stringData: - username: "root" - password: "123456" ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave-etcd-auth -spec: - metaStore: - etcd: - endpoint: risingwave-etcd:2388 - credentials: - secretName: etcd-credentials - usernameKeyRef: username - passwordKeyRef: password - stateStore: - memory: true - image: risingwavelabs/risingwave:v2.0.2 - components: - meta: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi \ No newline at end of file diff --git a/docs/manifests/risingwave/risingwave-etcd-azure.yaml b/docs/manifests/risingwave/risingwave-etcd-azure.yaml deleted file mode 100644 index 61b2fee0..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-azure.yaml +++ /dev/null @@ -1,185 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: risingwave-etcd - labels: - app: risingwave-etcd -spec: - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: risingwave-etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-etcd - name: risingwave-etcd -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-etcd - serviceName: risingwave-etcd - template: - metadata: - labels: - app: risingwave-etcd - spec: - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://risingwave-etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://risingwave-etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "risingwave-etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - env: - - name: ALLOW_NONE_AUTHENTICATION - value: "1" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP ---- -apiVersion: v1 -kind: Secret -metadata: - name: risingwave-azure-blob-credentials -stringData: - AccountName: your-azure-account-name - AccountKey: your-azure-account-key ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave-etcd-azure-blob -spec: - metaStore: - etcd: - endpoint: risingwave-etcd:2388 - stateStore: - azureBlob: - credentials: - secretName: risingwave-azure-blob-credentials - container: your-azure-container-name - root: risingwave - endpoint: https://your-azure-account-name.blob.core.windows.net - image: risingwavelabs/risingwave:v2.0.2 - components: - meta: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi \ No newline at end of file diff --git a/docs/manifests/risingwave/risingwave-etcd-hdfs.yaml b/docs/manifests/risingwave/risingwave-etcd-hdfs.yaml deleted file mode 100644 index f0b71f20..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-hdfs.yaml +++ /dev/null @@ -1,482 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: kube-hadoop-conf -data: - HDFS_MASTER_SERVICE: hadoop-hdfs-master - HDOOP_YARN_MASTER: hadoop-yarn-master ---- -apiVersion: v1 -kind: Service -metadata: - name: hadoop-hdfs-master -spec: - type: NodePort - selector: - app: hdfs-master - ports: - - name: rpc - port: 9000 - targetPort: 9000 - - name: http - port: 50070 - targetPort: 50070 - nodePort: 32007 ---- -apiVersion: v1 -kind: Pod -metadata: - name: hdfs-master - labels: - app: hdfs-master -spec: - containers: - - name: hdfs-master - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9000 - - containerPort: 50070 - env: - - name: HADOOP_NODE_TYPE - value: namenode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Pod -metadata: - name: hadoop-datanode-1 - labels: - app: hadoop-datanode-1 -spec: - containers: - - name: hadoop-datanode-1 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9000 - - containerPort: 50070 - env: - - name: HADOOP_NODE_TYPE - value: datanode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Pod -metadata: - name: hadoop-datanode-2 - labels: - app: hadoop-datanode-2 -spec: - containers: - - name: hadoop-datanode-2 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9000 - - containerPort: 50070 - env: - - name: HADOOP_NODE_TYPE - value: datanode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Pod -metadata: - name: hadoop-datanode-3 - labels: - app: hadoop-datanode-3 -spec: - containers: - - name: hadoop-datanode-3 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9000 - - containerPort: 50070 - env: - - name: HADOOP_NODE_TYPE - value: datanode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Service -metadata: - name: hadoop-yarn-master -spec: - type: NodePort - selector: - app: yarn-master - ports: - - name: "8030" - port: 8030 - - name: "8031" - port: 8031 - - name: "8032" - port: 8032 - - name: http - port: 8088 - targetPort: 8088 - nodePort: 32088 ---- -apiVersion: v1 -kind: Pod -metadata: - name: yarn-master - labels: - app: yarn-master -spec: - containers: - - name: yarn-master - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9000 - - containerPort: 50070 - env: - - name: HADOOP_NODE_TYPE - value: resourceman - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Service -metadata: - name: yarn-node-1 -spec: - clusterIP: None - selector: - app: yarn-node-1 - ports: - - port: 8040 ---- -apiVersion: v1 -kind: Service -metadata: - name: yarn-node-2 -spec: - clusterIP: None - selector: - app: yarn-node-2 - ports: - - port: 8040 ---- -apiVersion: v1 -kind: Service -metadata: - name: yarn-node-3 -spec: - clusterIP: None - selector: - app: yarn-node-3 - ports: - - port: 8040 ---- -apiVersion: v1 -kind: Pod -metadata: - name: yarn-node-1 - labels: - app: yarn-node-1 -spec: - containers: - - name: yarn-node-1 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 8040 - - containerPort: 8041 - - containerPort: 8042 - env: - - name: HADOOP_NODE_TYPE - value: yarnnode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Pod -metadata: - name: yarn-node-2 - labels: - app: yarn-node-2 -spec: - containers: - - name: yarn-node-2 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 8040 - - containerPort: 8041 - - containerPort: 8042 - env: - - name: HADOOP_NODE_TYPE - value: yarnnode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Pod -metadata: - name: yarn-node-3 - labels: - app: yarn-node-3 -spec: - containers: - - name: yarn-node-3 - image: kubeguide/hadoop:latest - imagePullPolicy: IfNotPresent - ports: - - containerPort: 8040 - - containerPort: 8041 - - containerPort: 8042 - env: - - name: HADOOP_NODE_TYPE - value: yarnnode - - name: HDFS_MASTER_SERVICE - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDFS_MASTER_SERVICE - - name: HDOOP_YARN_MASTER - valueFrom: - configMapKeyRef: - name: kube-hadoop-conf - key: HDOOP_YARN_MASTER - restartPolicy: Always ---- -apiVersion: v1 -kind: Service -metadata: - name: risingwave-etcd - labels: - app: risingwave-etcd -spec: - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: risingwave-etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-etcd - name: risingwave-etcd -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-etcd - serviceName: risingwave-etcd - template: - metadata: - labels: - app: risingwave-etcd - spec: - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://risingwave-etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://risingwave-etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "risingwave-etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - env: - - name: ALLOW_NONE_AUTHENTICATION - value: "1" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave-etcd-hdfs -spec: - image: ghcr.io/risingwavelabs/risingwave:YOUR_LATEST_HDFS_TAG - metaStore: - etcd: - endpoint: risingwave-etcd:2388 - stateStore: - dataDirectory: hummock - hdfs: - nameNode: hadoop-hdfs-master:9000 - root: risingwave - components: - meta: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi \ No newline at end of file diff --git a/docs/manifests/risingwave/risingwave-etcd-local-disk.yaml b/docs/manifests/risingwave/risingwave-etcd-local-disk.yaml deleted file mode 100644 index d3b58349..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-local-disk.yaml +++ /dev/null @@ -1,209 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: etcd - labels: - app: etcd -spec: - clusterIP: None - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: etcd - labels: - app: etcd -spec: - replicas: 1 - selector: - matchLabels: - app: etcd - serviceName: etcd - volumeClaimTemplates: - - metadata: - name: etcd-data - spec: - accessModes: [ "ReadWriteOnce" ] - resources: - requests: - storage: 2Gi - persistentVolumeClaimRetentionPolicy: - whenDeleted: Delete - whenScaled: Retain - template: - metadata: - labels: - app: etcd - spec: - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - - "--data-dir" - - "/var/lib/etcd" - env: - - name: ALLOW_NONE_AUTHENTICATION - value: "1" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP - volumeMounts: - - mountPath: /var/lib/etcd - name: etcd-data ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: risingwave-data - labels: - app: risingwave -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20Gi ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave -spec: - image: risingwavelabs/risingwave:v2.0.2 - metaStore: - etcd: - endpoint: etcd:2388 - stateStore: - localDisk: - root: /var/lib/risingwave/data - components: - meta: - nodeGroups: - - name: "" - replicas: 1 - template: - spec: - volumes: - - name: risingwave-data - persistentVolumeClaim: - claimName: risingwave-data - volumeMounts: - - mountPath: /var/lib/risingwave/data - name: risingwave-data - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - name: "" - replicas: 1 - template: - spec: - affinity: - podAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - topologyKey: "kubernetes.io/hostname" - labelSelector: - matchLabels: - risingwave/component: meta - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - name: "" - replicas: 1 - template: - spec: - volumes: - - name: risingwave-data - persistentVolumeClaim: - claimName: risingwave-data - volumeMounts: - - mountPath: /var/lib/risingwave/data - name: risingwave-data - affinity: - podAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - topologyKey: "kubernetes.io/hostname" - labelSelector: - matchLabels: - risingwave/component: meta - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - name: "" - replicas: 1 - template: - spec: - volumes: - - name: risingwave-data - persistentVolumeClaim: - claimName: risingwave-data - volumeMounts: - - mountPath: /var/lib/risingwave/data - name: risingwave-data - affinity: - podAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - topologyKey: "kubernetes.io/hostname" - labelSelector: - matchLabels: - risingwave/component: meta - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi \ No newline at end of file diff --git a/docs/manifests/risingwave/risingwave-etcd-minio.yaml b/docs/manifests/risingwave/risingwave-etcd-minio.yaml deleted file mode 100644 index 4538ad1d..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-minio.yaml +++ /dev/null @@ -1,246 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: risingwave-etcd - labels: - app: risingwave-etcd -spec: - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: risingwave-etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-etcd - name: risingwave-etcd -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-etcd - serviceName: risingwave-etcd - template: - metadata: - labels: - app: risingwave-etcd - spec: - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://risingwave-etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://risingwave-etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "risingwave-etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - env: - - name: ALLOW_NONE_AUTHENTICATION - value: "1" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP ---- -apiVersion: v1 -kind: Service -metadata: - name: risingwave-minio - labels: - app: risingwave-minio -spec: - ports: - - port: 9301 - name: service - - port: 9400 - name: console - selector: - app: risingwave-minio ---- -apiVersion: v1 -kind: Secret -metadata: - name: risingwave-minio-credentials -stringData: - username: hummockadmin - password: hummockadmin ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-minio - name: risingwave-minio -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-minio - serviceName: risingwave-minio - template: - metadata: - labels: - app: risingwave-minio - spec: - containers: - - name: minio - image: quay.io/minio/minio:latest - imagePullPolicy: IfNotPresent - command: - - /bin/sh - args: - - -c - - mkdir -p /data/hummock001; /usr/bin/docker-entrypoint.sh server --address 0.0.0.0:9301 --console-address 0.0.0.0:9400 /data - env: - - name: MINIO_ROOT_USER - valueFrom: - secretKeyRef: - name: risingwave-minio-credentials - key: username - - name: MINIO_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: risingwave-minio-credentials - key: password - ports: - - name: service - containerPort: 9301 - protocol: TCP - - name: console - containerPort: 9400 - protocol: TCP ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave-etcd-minio -spec: - metaStore: - etcd: - endpoint: risingwave-etcd:2388 - stateStore: - minio: - bucket: hummock001 - credentials: - secretName: risingwave-minio-credentials - usernameKeyRef: username - passwordKeyRef: password - endpoint: risingwave-minio:9301 - image: risingwavelabs/risingwave:v2.0.2 - components: - meta: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi \ No newline at end of file diff --git a/docs/manifests/risingwave/risingwave-etcd-s3.yaml b/docs/manifests/risingwave/risingwave-etcd-s3.yaml deleted file mode 100644 index 6885d971..00000000 --- a/docs/manifests/risingwave/risingwave-etcd-s3.yaml +++ /dev/null @@ -1,179 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: risingwave-etcd - labels: - app: risingwave-etcd -spec: - ports: - - port: 2388 - name: client - - port: 2389 - name: peer - selector: - app: risingwave-etcd ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - labels: - app: risingwave-etcd - name: risingwave-etcd -spec: - replicas: 1 - selector: - matchLabels: - app: risingwave-etcd - serviceName: risingwave-etcd - template: - metadata: - labels: - app: risingwave-etcd - spec: - containers: - - name: etcd - image: quay.io/coreos/etcd:v3.4.32 - imagePullPolicy: IfNotPresent - command: - - /usr/local/bin/etcd - args: - - "--listen-client-urls" - - "http://0.0.0.0:2388" - - "--advertise-client-urls" - - "http://risingwave-etcd-0:2388" - - "--listen-peer-urls" - - "http://0.0.0.0:2389" - - "--initial-advertise-peer-urls" - - "http://risingwave-etcd-0:2389" - - "--listen-metrics-urls" - - "http://0.0.0.0:2379" - - "--name" - - "risingwave-etcd" - - "--max-txn-ops" - - "999999" - - "--max-request-bytes" - - "10485760" - - "--auto-compaction-mode" - - periodic - - "--auto-compaction-retention" - - 1m - - "--snapshot-count" - - "10000" - env: - - name: ALLOW_NONE_AUTHENTICATION - value: "1" - ports: - - containerPort: 2389 - name: peer - protocol: TCP - - containerPort: 2388 - name: client - protocol: TCP ---- -apiVersion: risingwave.risingwavelabs.com/v1alpha1 -kind: RisingWave -metadata: - name: risingwave-etcd-s3 -spec: - metaStore: - etcd: - endpoint: risingwave-etcd:2388 - stateStore: - dataDirectory: hummock001-directory - s3: - bucket: hummock001 - credentials: - secretName: s3-credentials - accessKeyRef: AccessKeyID - secretAccessKeyRef: SecretAccessKey - region: ap-southeast-1 - image: risingwavelabs/risingwave:v2.0.2 - components: - meta: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - frontend: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - resources: - limits: - cpu: 1 - memory: 2Gi - requests: - cpu: 1 - memory: 2Gi - compute: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 8 - memory: 32Gi # Memory limit will be set to `RW_TOTAL_MEMORY_BYTES` - requests: - cpu: 8 - memory: 32Gi - compactor: - nodeGroups: - - replicas: 1 - name: "" - template: - spec: - volumes: - - name: heap - emptyDir: - sizeLimit: 1Gi - volumeMounts: - - mountPath: /heap - name: heap - env: - - name: MALLOC_CONF - value: prof:true,lg_prof_interval:-1,lg_prof_sample:20,prof_prefix:/heap/ - - name: RW_HEAP_PROFILING_DIR - value: /heap - resources: - limits: - cpu: 4 - memory: 8Gi - requests: - cpu: 4 - memory: 8Gi diff --git a/docs/manifests/risingwave/risingwave-gcs.yaml b/docs/manifests/risingwave/risingwave-gcs.yaml index d979efb2..8e04770a 100644 --- a/docs/manifests/risingwave/risingwave-gcs.yaml +++ b/docs/manifests/risingwave/risingwave-gcs.yaml @@ -19,7 +19,7 @@ spec: credentials: secretName: gcs-credentials serviceAccountCredentialsKeyRef: ServiceAccountCredentials - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-huaweicloud-obs.yaml b/docs/manifests/risingwave/risingwave-huaweicloud-obs.yaml index f9c7a986..6926c985 100644 --- a/docs/manifests/risingwave/risingwave-huaweicloud-obs.yaml +++ b/docs/manifests/risingwave/risingwave-huaweicloud-obs.yaml @@ -19,7 +19,7 @@ spec: region: ap-southeast-2 credentials: secretName: risingwave-huaweicloud-obs-credentials - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-im-memory-azure.yaml b/docs/manifests/risingwave/risingwave-im-memory-azure.yaml index 6f63943b..c370cf91 100644 --- a/docs/manifests/risingwave/risingwave-im-memory-azure.yaml +++ b/docs/manifests/risingwave/risingwave-im-memory-azure.yaml @@ -20,7 +20,7 @@ spec: container: your-azure-container-name root: risingwave endpoint: https://your-azure-account-name.blob.core.windows.net - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-in-memory.yaml b/docs/manifests/risingwave/risingwave-in-memory.yaml index 989b5a37..c8f46ad2 100644 --- a/docs/manifests/risingwave/risingwave-in-memory.yaml +++ b/docs/manifests/risingwave/risingwave-in-memory.yaml @@ -7,7 +7,7 @@ spec: memory: true stateStore: memory: true - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-mysql-s3.yaml b/docs/manifests/risingwave/risingwave-mysql-s3.yaml index 4c2fe232..508f5876 100644 --- a/docs/manifests/risingwave/risingwave-mysql-s3.yaml +++ b/docs/manifests/risingwave/risingwave-mysql-s3.yaml @@ -21,7 +21,7 @@ spec: accessKeyRef: AccessKeyID secretAccessKeyRef: SecretAccessKey region: ap-southeast-1 - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-postgresql-local-disk.yaml b/docs/manifests/risingwave/risingwave-postgresql-local-disk.yaml index d03ced25..96d0f7f2 100644 --- a/docs/manifests/risingwave/risingwave-postgresql-local-disk.yaml +++ b/docs/manifests/risingwave/risingwave-postgresql-local-disk.yaml @@ -16,7 +16,7 @@ kind: RisingWave metadata: name: risingwave spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 metaStore: postgresql: credentials: diff --git a/docs/manifests/risingwave/risingwave-postgresql-s3.yaml b/docs/manifests/risingwave/risingwave-postgresql-s3.yaml index 219a40d8..4696447a 100644 --- a/docs/manifests/risingwave/risingwave-postgresql-s3.yaml +++ b/docs/manifests/risingwave/risingwave-postgresql-s3.yaml @@ -21,7 +21,7 @@ spec: accessKeyRef: AccessKeyID secretAccessKeyRef: SecretAccessKey region: ap-southeast-1 - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-s3-compatible.yaml b/docs/manifests/risingwave/risingwave-s3-compatible.yaml index 904f0a84..e82b15e6 100644 --- a/docs/manifests/risingwave/risingwave-s3-compatible.yaml +++ b/docs/manifests/risingwave/risingwave-s3-compatible.yaml @@ -20,7 +20,7 @@ spec: region: ap-guangzhou credentials: secretName: cos-credentials - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwave/risingwave-standalone.yaml b/docs/manifests/risingwave/risingwave-standalone.yaml index 66ee802c..85d610f9 100644 --- a/docs/manifests/risingwave/risingwave-standalone.yaml +++ b/docs/manifests/risingwave/risingwave-standalone.yaml @@ -3,7 +3,7 @@ kind: RisingWave metadata: name: risingwave-standalone spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 enableStandaloneMode: true components: standalone: diff --git a/docs/manifests/risingwavescaleview/sv-example-frontend.yaml b/docs/manifests/risingwavescaleview/sv-example-frontend.yaml index 4af70c22..70260291 100644 --- a/docs/manifests/risingwavescaleview/sv-example-frontend.yaml +++ b/docs/manifests/risingwavescaleview/sv-example-frontend.yaml @@ -3,7 +3,7 @@ kind: RisingWave metadata: name: sv-example spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/risingwavescaleview/sv-spot-compactor.yaml b/docs/manifests/risingwavescaleview/sv-spot-compactor.yaml index c5daac39..86fd8a09 100644 --- a/docs/manifests/risingwavescaleview/sv-spot-compactor.yaml +++ b/docs/manifests/risingwavescaleview/sv-spot-compactor.yaml @@ -3,7 +3,7 @@ kind: RisingWave metadata: name: sv-example spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 components: meta: nodeGroups: diff --git a/docs/manifests/stable/memory/risingwave.yaml b/docs/manifests/stable/memory/risingwave.yaml index 63315c9a..02cc7940 100644 --- a/docs/manifests/stable/memory/risingwave.yaml +++ b/docs/manifests/stable/memory/risingwave.yaml @@ -3,7 +3,7 @@ kind: RisingWave metadata: name: risingwave spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 metaStore: memory: true stateStore: diff --git a/docs/manifests/stable/persistent/minio/risingwave.yaml b/docs/manifests/stable/persistent/minio/risingwave.yaml index f371e211..f780dc22 100644 --- a/docs/manifests/stable/persistent/minio/risingwave.yaml +++ b/docs/manifests/stable/persistent/minio/risingwave.yaml @@ -177,7 +177,7 @@ kind: RisingWave metadata: name: risingwave spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 metaStore: etcd: endpoint: etcd:2388 diff --git a/docs/manifests/stable/persistent/s3/risingwave.yaml b/docs/manifests/stable/persistent/s3/risingwave.yaml index af54afd3..e7a11003 100644 --- a/docs/manifests/stable/persistent/s3/risingwave.yaml +++ b/docs/manifests/stable/persistent/s3/risingwave.yaml @@ -94,7 +94,7 @@ kind: RisingWave metadata: name: risingwave spec: - image: risingwavelabs/risingwave:v2.0.2 + image: risingwavelabs/risingwave:v2.1.0 metaStore: etcd: endpoint: etcd:2388 diff --git a/test/e2e/tests/tests.sh b/test/e2e/tests/tests.sh index 8cfe087d..6b3c8075 100644 --- a/test/e2e/tests/tests.sh +++ b/test/e2e/tests/tests.sh @@ -19,6 +19,6 @@ export E2E_RISINGWAVE_NAME="${E2E_RISINGWAVE_NAME:=e2e}" if [[ -v "RW_VERSION" ]]; then E2E_RISINGWAVE_IMAGE="ghcr.io/risingwavelabs/risingwave:${RW_VERSION}" fi -export E2E_RISINGWAVE_IMAGE="${E2E_RISINGWAVE_IMAGE:=risingwavelabs/risingwave:v2.0.2}" +export E2E_RISINGWAVE_IMAGE="${E2E_RISINGWAVE_IMAGE:=risingwavelabs/risingwave:v2.1.0}" source "$(dirname "${BASH_SOURCE[0]}")/risingwave/tests.sh"