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 08:30:11 UTC
(beam) branch fix-singlestore updated: Change name of the cluster
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-singlestore
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-singlestore by this push:
new 2d57a63125a Change name of the cluster
2d57a63125a is described below
commit 2d57a63125aa1ce52f818e79ecd088150d39a550
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Fri Aug 8 12:29:58 2025 +0400
Change name of the cluster
---
.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml | 4 +++-
.test-infra/kubernetes/singlestore/sdb-cluster.yaml | 2 +-
.test-infra/kubernetes/singlestore/sdb-operator.yaml | 2 +-
.test-infra/tools/stale_k8s_workload_cleaner.sh | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml b/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
index 92fe1d033f1..70ad238be3a 100644
--- a/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
+++ b/.github/workflows/beam_PostCommit_Java_SingleStoreIO_IT.yml
@@ -81,16 +81,18 @@ jobs:
with:
cluster_name: io-datastores-for-tests
k8s_namespace: ${{ matrix.job_name }}-${{ github.run_id }}
- remove_finalizer: memsqlclusters.memsql.com/sdb-cluster
+ remove_finalizer: memsqlclusters.memsql.com/sdb-cluster-1
- name: Install SingleStore operator
run: |
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
- name: Install SingleStore cluster
id: install_singlestore
run: |
kubectl apply -f ${{github.workspace}}/.test-infra/kubernetes/singlestore/sdb-cluster.yaml
+ kubectl wait --for=jsonpath='{.status.phase}'=Running memsqlclusters.memsql.com --all --timeout=1200s
kubectl wait svc/svc-sdb-cluster-ddl --for=jsonpath='{.status.loadBalancer.ingress[0].ip}' --timeout=1200s
loadbalancer_IP=$(kubectl get svc svc-sdb-cluster-ddl -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo lb_ip=$loadbalancer_IP >> $GITHUB_OUTPUT
diff --git a/.test-infra/kubernetes/singlestore/sdb-cluster.yaml b/.test-infra/kubernetes/singlestore/sdb-cluster.yaml
index 8acb0b7a7f7..5fa7b310136 100644
--- a/.test-infra/kubernetes/singlestore/sdb-cluster.yaml
+++ b/.test-infra/kubernetes/singlestore/sdb-cluster.yaml
@@ -16,7 +16,7 @@
apiVersion: memsql.com/v1alpha1
kind: MemsqlCluster
metadata:
- name: sdb-cluster
+ name: sdb-cluster-1
spec:
license: BGU3OTg5NmYxYTNiNTRkOGNiNDkwNzMyYTQ5ZTE1ZTAzAAAAAAAAAAAEAAAAAAAAAAwwNgIZALALmsXqagDEX93vkSHbvgzqrTfx5n6oTgIZAN3u0cviuZmqfYvFHGFfFy85cg2XSnrnHw==
adminHashedPassword: "*9177CC8207174BDBB5ED66B2140C75171283F15D"
diff --git a/.test-infra/kubernetes/singlestore/sdb-operator.yaml b/.test-infra/kubernetes/singlestore/sdb-operator.yaml
index b4a29f681b8..eb5dfcdbb67 100644
--- a/.test-infra/kubernetes/singlestore/sdb-operator.yaml
+++ b/.test-infra/kubernetes/singlestore/sdb-operator.yaml
@@ -39,7 +39,7 @@ spec:
"--merge-service-annotations",
# 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",
+ "--cluster-id", "sdb-cluster-1",
# Args below are for local dev
"--cores-per-unit", "0",
diff --git a/.test-infra/tools/stale_k8s_workload_cleaner.sh b/.test-infra/tools/stale_k8s_workload_cleaner.sh
index dc6cadcf0c4..19e6360495c 100755
--- a/.test-infra/tools/stale_k8s_workload_cleaner.sh
+++ b/.test-infra/tools/stale_k8s_workload_cleaner.sh
@@ -25,7 +25,7 @@ set -euo pipefail
PROJECT=apache-beam-testing
LOCATION=us-central1-a
CLUSTER=io-datastores
-MEMSQL_CLUSTER_RESOURCE="memsqlclusters.memsql.com/sdb-cluster"
+MEMSQL_CLUSTER_RESOURCE="memsqlclusters.memsql.com/sdb-cluster-1"
function should_teardown() {
if [[ $1 =~ ^([0-9]+)([a-z]) ]]; then