Commit 9599f283 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Code cleanup

parent 8e886f95
Loading
Loading
Loading
Loading

delete_me/Dockerfile

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
# Use the official Ubuntu image from the Docker Hub
FROM ubuntu:latest

# Update and install any required packages

RUN  apt-get update


# Set the working directory
WORKDIR /app

# Copy any necessary files into the working directory
COPY . /app

# Specify the command to run when the container starts
CMD ["echo", "Hello, Docker!"]
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ export GRAF_EXT_PORT_HTTP=${GRAF_EXT_PORT_HTTP:-"3000"}
./deploy/qdb.sh

# Deploy Apache Kafka
#./deploy/kafka.sh
./deploy/kafka.sh

#Deploy Monitoring (Prometheus, Mimir, Grafana)
#./deploy/monitoring.sh
+5 −5
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ function crdb_deploy_cluster() {
        sed "s/%TFS_CRDB_NAMESPACE%/${CRDB_NAMESPACE}/g" "${CRDB_MANIFESTS_PATH}/operator.yaml" \
            > "${TMP_MANIFESTS_FOLDER}/crdb_operator.yaml"
        kubectl apply -f "${TMP_MANIFESTS_FOLDER}/crdb_operator.yaml"
        kubectl wait --namespace cockroach-operator-system --for=condition=Available=True --timeout=3600s \
        kubectl wait --namespace cockroach-operator-system --for=condition=Available=True --timeout=300s \
            deployment/cockroach-operator-manager
        #kubectl wait --namespace cockroach-operator-system --for=jsonpath='{.status.readyReplicas}'=1 --timeout=300s \
        #    deployment/cockroach-operator-manager
@@ -264,9 +264,9 @@ function crdb_deploy_cluster() {
            printf "%c" "."
            sleep 1
        done
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=3600s pod/cockroachdb-0
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=3600s pod/cockroachdb-1
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=3600s pod/cockroachdb-2
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=300s pod/cockroachdb-0
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=300s pod/cockroachdb-1
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=300s pod/cockroachdb-2
    fi
    echo

@@ -278,7 +278,7 @@ function crdb_deploy_cluster() {
        echo ">>> Deploy CockroachDB Client"
        cp "${CRDB_MANIFESTS_PATH}/client-secure-operator.yaml" "${TMP_MANIFESTS_FOLDER}/crdb_client-secure-operator.yaml"
        kubectl create --namespace ${CRDB_NAMESPACE} -f "${TMP_MANIFESTS_FOLDER}/crdb_client-secure-operator.yaml"
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=3600s pod/cockroachdb-client-secure
        kubectl wait --namespace ${CRDB_NAMESPACE} --for=condition=Ready --timeout=300s pod/cockroachdb-client-secure
    fi
    echo

scripts/bb

deleted100644 → 0
+0 −69

File deleted.

Preview size limit exceeded, changes collapsed.

xml

deleted100644 → 0
+0 −414

File deleted.

Preview size limit exceeded, changes collapsed.