You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by vt...@apache.org on 2025/08/08 13:22:57 UTC
(beam) branch fix-singlestore-cluster updated: Fix sdb operator
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-singlestore-cluster
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-singlestore-cluster by this push:
new 590fb7bb591 Fix sdb operator
590fb7bb591 is described below
commit 590fb7bb591c82467bdf49313aea134e6e79bdff
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Fri Aug 8 17:22:47 2025 +0400
Fix sdb operator
---
.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml | 2 +-
.test-infra/kubernetes/singlestore/sdb-operator.yaml | 12 +++++-------
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml b/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
index 8e2e19af966..f3ebcf1aa95 100644
--- a/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
+++ b/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
@@ -87,7 +87,7 @@ jobs:
kubectl apply -f ${{github.workspace}}/.test-infra/kubernetes/singlestore/sdb-rbac.yaml
kubectl apply -f ${{github.workspace}}/.test-infra/kubernetes/singlestore/sdb-cluster-crd.yaml
kubectl apply -f ${{github.workspace}}/.test-infra/kubernetes/singlestore/sdb-operator.yaml
- kubectl wait --for=condition=Ready pod -l name=sdb-operator --timeout=300s
+ kubectl wait --for=condition=Ready pod -l name=sdb-operator -n beam-postcommit-java-singlestoreio-it-${{github.run_id}} --timeout=300s
- name: Install SingleStore cluster
id: install_singlestore
run: |
diff --git a/.test-infra/kubernetes/singlestore/sdb-operator.yaml b/.test-infra/kubernetes/singlestore/sdb-operator.yaml
index b4a29f681b8..eea86606350 100644
--- a/.test-infra/kubernetes/singlestore/sdb-operator.yaml
+++ b/.test-infra/kubernetes/singlestore/sdb-operator.yaml
@@ -23,16 +23,16 @@ spec:
replicas: 1
selector:
matchLabels:
- name: sdb-operator
+ app.kubernetes.io/component: operator
template:
metadata:
labels:
- name: sdb-operator
+ app.kubernetes.io/component: operator
spec:
serviceAccountName: sdb-operator
containers:
- name: sdb-operator
- image: singlestore/operator:3.246.0-da805c0b
+ image: singlestore/operator:4.14.0-1bcf743a
imagePullPolicy: Always
args: [
# Cause the operator to merge rather than replace annotations on services
@@ -40,10 +40,8 @@ spec:
# Allow the process inside the container to have read/write access to the `/var/lib/memsql` volume.
"--fs-group-id", "5555",
"--cluster-id", "sdb-cluster",
-
- # Args below are for local dev
- "--cores-per-unit", "0",
- "--memory-per-unit", "0"
+ "--cores-per-unit", "2",
+ "--memory-per-unit", "4Gi"
]
env:
- name: WATCH_NAMESPACE