Skip to main content
Version: v2.5.0

Setup Yeedu Control Plane

1. Credentials Setup

Create two files for to store below mentioned credentials:

  1. Cloud Credentials:

    • Create cloud_credentials.json.
    • Paste JSON credentials (GCP, AWS, or Azure) in the specified format.
  2. Registry Credentials:

    • Create docker_registry_credentials.json.
    • Paste JSON credentials for your container registry.

Credential Formats for Each Cloud Provider

{
"type": "service_account",
"project_id": "<project_id>",
"private_key_id": "<private_key_id>",
"private_key": "<private_key>",
"client_email": "<client_email>",
"client_id": "<client_id>",
"auth_uri": "<auth_uri>",
"token_uri": "<token_uri>",
"auth_provider_x509_cert_url": "<auth_provider_x509_cert_url>",
"client_x509_cert_url": "<client_x509_cert_url>"
}
note

Replace all placeholder values (e.g., <project_id>, <access_key>) with your actual credentials. Keep these files safe and secure, as they contain sensitive information.

2. Download Yeedu Control Plane Files

To initiate your Yeedu Control Plane Setup, download the essential scripts from the yeedu-runtime.

  1. Open a terminal or command prompt.

  2. Run the following command to download the Yeedu Runtime Setup Files :

    azcopy copy <https://$storage_account_name.blob.core.windows.net/$container_name/yeedu/yeedu-runtime.tar> </local/path/to/local/storage >
    tar -xzvf /local/path/to/local/storage/yeedu-runtime.tar
note

Reachout to Yeedu team to get the access to the ADLS2 Storage Account and container registry which have all the Yeedu tars and images.

  1. Change the working directory to yeedu-runtime:
    cd yeedu-runtime

3. Deploy Yeedu Services on Kubernetes

3.1. Provide execute permissions

After updating properties, go to the Yeedu Control Plane folder. Find yeedu-core-services.sh and setup-ingress.sh script. Grant execute permissions:

chmod +x yeedu-core-services.sh
chmod +x setup-ingress.sh

3.2. Authenticate to Kubernetes Cluster

Authenticate to the Kubernetes Cluster using the respective Cloud CLI and kubectl commands provided below.

gcloud auth activate-service-account --key-file=PATH_TO_YOUR_SERVICE_ACCOUNT_JSON
gcloud config set project YOUR_PROJECT_ID
gcloud container clusters get-credentials CLUSTER_NAME --region=CLUSTER_REGION

Validate successful cluster authentication by running the command below:

kubectl config get-contexts

3.3. Update SSL Certificates

In the yeedu-runtime directory, find the ssl folder. Update yeedu.crt and yeedu.key with the your specific SSL certificate and SSL RSA key. These files are used by the Yeedu Ingress Controller in Kubernetes.

3.4. Create DNS Entries

Create DNS entries for the Ingress record in the respective cloud environment. Ensure entries are created for all configured hostnames in the Ingress. Execute the following command:

gcloud dns record-sets transaction start --zone=YOUR_DNS_ZONE_NAME
gcloud dns record-sets transaction add <ip> --name=<dns> --ttl=300 --type=A --zone=YOUR_DNS_ZONE_NAME
gcloud dns record-sets transaction execute --zone=YOUR_DNS_ZONE_NAME

4. Configure Yeedu Control Plane Properties

After downloading the essential files, customize your Yeedu environment by adjusting key configuration settings. Update the following property files to reflect your specific infrastructure and cloud provider details.

4.1. Configuration Files

  1. yeedu-connection.properties:

    • This file connects Yeedu to essential services like Postgres, RabbitMQ, and Redis. Update connection parameters based on your service configurations, including database hostnames, usernames, and passwords.
  2. yeedu-system-config.properties:

    • This file manages cloud-based services such as Object Storage and Container Registry. Align settings with your chosen cloud provider (AWS, GCP, Azure) and configurations for seamless integration.
note

Uncomment and provide input values for the properties specified in the files. Detailed explanations for each parameter are available in the respective property files.

4.2. Variables Reference

4.2.1. yeedu-connection.properties

Metadata DB

VariableDescriptionDefault ValueRequired
YEEDU_DEPLOY_LOCAL_POSTGRESEnable local Postgres deploymenttrueYes
YEEDU_PG_DBName of the Postgres databaseyeeduYes
YEEDU_PG_USERUsername for Postgres connectionpostgresYes
YEEDU_PG_PASSWORDPassword for Postgres userpostgresYes
YEEDU_PG_HOSTNAMEHostname or IP address of the Postgres serverEndpoint Url of the serviceYes
YEEDU_PG_PORTPort number for the Postgres server5432No
YEEDU_PG_SSL_ENABLEDEnable SSL encryption for Postgres connectionfalseNo

Messaging Service

VariableDescriptionDefault ValueRequired
YEEDU_DEPLOY_LOCAL_RABBITMQEnable local RabbitMQ deploymenttrueYes
YEEDU_MQ_USERUsername for RabbitMQ connectionguestYes
YEEDU_MQ_PASSWORDPassword for RabbitMQ userguestYes
YEEDU_MQ_PORTPort number for RabbitMQ5672No
YEEDU_MQ_UI_PORTPort number for RabbitMQ management UI15672No
YEEDU_MQ_UI_HOSTNAMEHostname for RabbitMQ management UIEndpoint Url of the serviceYes
YEEDU_MQ_HOSTNAMEHostname or IP address of the RabbitMQ serverEndpoint Url of the serviceYes
YEEDU_MQ_VHVirtual host for RabbitMQ"/"No
YEEDU_MQ_SSL_ENABLEDEnable SSL encryption for RabbitMQ connectionfalseNo

Redis Cache

VariableDescriptionDefault ValueRequired
YEEDU_DEPLOY_LOCAL_REDISEnable local Redis deploymenttrueYes
YEEDU_REDIS_PASSWORDPassword for RedisadminNo
YEEDU_REDIS_PORTPort number for Redis6379No
YEEDU_REDIS_HOSTNAMEHostname or IP address of the Redis serverEndpoint Url of the serviceYes
YEEDU_REDIS_SSL_ENABLEDEnable SSL encryption for Redis connectionfalseNo

LDAP Service

VariableDescriptionDefault ValueRequired
YEEDU_DEPLOY_LOCAL_LDAPEnable local LDAP deploymenttrueYes
YEEDU_AUTH_LDAP_ORGANISATIONLDAP organization nameyeeduYes
YEEDU_AUTH_LDAP_DOMAINLDAP domainyeedu.comYes
YEEDU_AUTH_LDAP_ADMIN_PASSWORDPassword for LDAP administratorNdbk5LgbYes
YEEDU_AUTH_LDAP_HOSTNAMEHostname or IP address of the LDAP serverEndpoint Url of the serviceYes
YEEDU_AUTH_LDAP_PORTPort number for LDAP server389No
YEEDU_AUTH_LDAP_BASE_DNBase DN for LDAPdc=yeedu,dc=comYes
YEEDU_AUTH_LDAP_BIND_DNBind DN for LDAPcn=admin,dc=yeedu,dc=comYes
YEEDU_AUTH_LDAP_BIND_PASSWORDPassword for LDAP bind userNdbk5LgbYes
YEEDU_AUTH_LDAP_SSL_ENABLEDEnable SSL encryption for LDAP connectionfalseNo

REST-API

VariableDescriptionDefault ValueRequired
YEEDU_RESTAPI_PORTPort number for REST API server8080No
YEEDU_RESTAPI_HOSTNAMEHostname or IP address of REST API serverEndpoint Url of the serviceYes
YEEDU_SECRET_KEYSecret key for authentication and encryptionyeeduNo
YEEDU_RESTAPI_LOG_LEVELLog level for REST API server (e.g., INFO, DEBUG)INFONo
YEEDU_RESTAPI_SSL_ENABLEDEnable SSL encryption for REST API connectionfalseNo
YEEDU_RESTAPI_RELICA_COUNTNumber of replicas/instances for REST API server1No

History Server

VariableDescriptionDefault ValueRequired
YEEDU_HISTORY_SERVER_WEB_PORTPort number for History Server web interface10000No
YEEDU_HISTORY_SERVER_WEB_HOSTNAMEHostname for History Server web interfacehistoryserver.yeeduNo

Monitor

VariableDescriptionDefault ValueRequired
YEEDU_GRAFANA_HOSTNAMEHostname or IP address of Grafana serverEndpoint Url of the serviceYes
YEEDU_GRAFANA_PORTPort number for Grafana3000No
YEEDU_GRAFANA_USERNAMEUsername for Grafana loginYSU0000No
YEEDU_GRAFANA_PASSWORDPassword for Grafana loginYSU0000No
YEEDU_GRAFANA_LDAP_USER_GROUP_CNLDAP user group Common Name (CN) for Grafanacn=yeedu-user,ou=groups,dc=yeedu,dc=comNo
YEEDU_GRAFANA_LDAP_USER_BASE_DNLDAP user base DN for Grafanaou=users,dc=yeedu,dc=comNo
YEEDU_GRAFANA_LDAP_GROUP_SEARCH_BASE_DNLDAP group search base for Grafanaou=groups,dc=yeedu,dc=comNo

InfluxDB

VariableDescriptionDefault ValueRequired
YEEDU_INFLUXDB_HOSTNAMEHostname or IP address of InfluxDB serverEndpoint Url of the serviceYes
YEEDU_INFLUXDB_PORTPort number for InfluxDB8086No
YEEDU_INFLUXDB_DBName of the InfluxDB databaseinfluxNo
YEEDU_INFLUXDB_USERNAMEUsername for InfluxDB loginadminNo
YEEDU_INFLUXDB_PASSWORDPassword for InfluxDB loginadminNo

4.2.2. yeedu-system-config.properties

Deployment Parameters

VariableDescriptionDefault ValueRequired
YEEDU_DEPLOYMENT_MODEDeployment modedockerYes

System Object Storage Configuration

VariableDescriptionDefault ValueRequired
YEEDU_SYSTEM_CLOUD_PROVIDERCloud provider for object storage-Yes
YEEDU_SYSTEM_PROJECT_IDProject ID for object storage-Yes
YEEDU_SYSTEM_OBJECT_STORAGEObject storage bucket or container name-Yes
YEEDU_SYSTEM_CLOUD_CREDENTIALS_FILE_PATHFile path to cloud provider credentials (JSON)-Yes
YEEDU_SYSTEM_OBJECT_STORAGE_ENCRYPTION_ENABLEDEnable object storage encryption-Yes
YEEDU_SYSTEM_SPARK_EVENTS_RETENTION_DAYSRetention period for spark events90Yes

System Container Registry Configuration

VariableDescriptionDefault ValueRequired
YEEDU_SYSTEM_DOCKER_REGISTRY_PROVIDERDocker registry provider-Yes
YEEDU_SYSTEM_DOCKER_REGISTRY_URLDocker registry URL-Yes
YEEDU_SYSTEM_DOCKER_REGISTRY_CREDENTIALS_FILE_PATHFile path to Docker registry credentials (JSON)-Yes

Kubernetes Parameters

VariableDescriptionDefault ValueRequired
YEEDU_SYSTEM_KUBERNETES_NAMESPACENamespace for KubernetesyeeduNo
YEEDU_SYSTEM_KUBERNETES_STATIC_IPStatic IP address for NGINX in Kubernetes10.128.15.238No
note

"Required" indicates whether the variable is required for Yeedu setup

4.3. Setup Ingress in Provided Namespace

Run the following command to setup Nginx Ingress Controller:

Execute the setup ingress script ./setup-ingress.sh, it will deploy the ingress.

After the ingress is created, obtain the IP address:

kubectl get ingress -n $YEEDU_SYSTEM_KUBERNETES_NAMESPACE

4.4. Deploy Yeedu Control Plane on Kubernetes

Execute the Yeedu Control Plane setup script yeedu-core-services.sh. Run ./yeedu-core-services.sh --help for more information. This script installs kubectl, Helm, Helmfile CLI, psql, rabbitmqadmin, and Redis CLI's on the machine, adapting to the machine's architecture and OS and setup up Yeedu Control Plane on Kubernetes.

Run the following command to start the Yeedu Control Plane on Kubernetes:

  • Start the services
./yeedu-core-services.sh start
  • Stop the services
./yeedu-core-services.sh stop
  • Restart the services
./yeedu-core-services.sh restart
  • Clean the services and delete data
./yeedu-core-services.sh clean

After executing these commands, the script generates necessary secrets, configmaps, deployments, pods, and services to run Yeedu Services on Kubernetes. Access the Yeedu RestAPI at the configured YEEDU_RESTAPI_HOSTNAME URL with HTTPS TLS termination provided by the ingress.

Below is the output when we run the Yeedu Control Plane setup script


📝 Log file is available at: /home/ma0804/.yeedu/deployment/logs/deploy_2024-02-16-14-44-30.log



██╗░░░██╗███████╗███████╗██████╗░██╗░░░██╗░░░██╗░█████╗░
╚██╗░██╔╝██╔════╝██╔════╝██╔══██╗██║░░░██║░░░██║██╔══██╗
░╚████╔╝░█████╗░░█████╗░░██║░░██║██║░░░██║░░░██║██║░░██║
░░╚██╔╝░░██╔══╝░░██╔══╝░░██║░░██║██║░░░██║░░░██║██║░░██║
░░░██║░░░███████╗███████╗██████╔╝╚██████╔╝██╗██║╚█████╔╝
░░░╚═╝░░░╚══════╝╚══════╝╚═════╝░░╚═════╝░╚═╝╚═╝░╚════╝░

🚀 This script is used to setup Yeedu core services. With this, we will be deploying the following Yeedu services:
* yeedu-init - Initializes confs and Cloud-Formation-Engine
* yeedu-metadata-db - PostgreSQL container which stores metadata of Yeedu
* yeedu-restful-api - RestAPI which will act as an interface
* yeedu-rabbitmq3 - RabbitMQ to stream messages in queues
* yeedu-reactors-cosi - Reactors to start and stop workflow jobs
* yeedu-reactors-monitor - Monitor workflows
* yeedu-spark-history-server - Spark History Server
* yeedu-spark-history-server-web - Nginx on history server
* yeedu-redis - Redis Cache for Auth service
* yeedu-ldap - LDAP used for authorization
* yeedu-reactors-logs-collector - Container to sync reactor logs with bucket
* yeedu-telegraf - Container to export machine metrics
* yeedu-influxdb - InfluxDB to store all machine metrics
* yeedu-grafana - Dashboards created for every machine on metrics

🚀 Setting up prerequisites...
🐳 Docker version:
Docker version 25.0.3, build 4debf41
🐳 docker-compose version:
docker-compose version 1.29.2, build 5becea4c
⌨️ Kubectl Version:
Client Version: v1.28.2
⎈ Helm Version:
v3.12.3+g3a31588
🌀 Helmfile Version:
v0.144.0
✨ envsubst version:
envsubst (GNU gettext-runtime) 0.19.8.1
🌈 jq version:
jq-1.6
🐘 psql version:
psql (PostgreSQL) 16.2 (Ubuntu 16.2-1.pgdg20.04+1)
💾 redis cli version:
redis-cli 7.0.0 (git:35c054a8)
🐇 rabbitmq server version:
3.8.2-0ubuntu1.5
✔️ Prerequisites setup completed.


🚀 Setting up Yeedu Variables
🔧 Creating .env file...
✔️ Successfully created .env file.
🌐 Sourcing .env file and yeedu-env.sh script...
✔️ Successfully sourced .env file and yeedu-env.sh script.
📝 Saving Yeedu environment variables in .env file...
✔️ Successfully saved Yeedu environment variables in .env file.
⚙️ Configuring deployment mode-specific settings...
📝 Generating Kubernetes values.yaml from template...
✔️ Successfully configured Kubernetes deployment mode.
✔️ Successfully set the docker-compose path.
🔍 Checking for config file "./.env"...
✔️ Config file ".env" exists.


🚀 Running on deployment mode: aks
✅ YEEDU_ENABLE_GRAFANA_MONTORING is set to true.
✅ YEEDU_ENABLE_SCHEDULER is set to true.
✅ YEEDU_RUN_INIT_SERVICE is set to true.
✅ YEEDU_DEPLOY_LOCAL_RABBITMQ is set to true.
✅ YEEDU_DEPLOY_LOCAL_REDIS is set to true.
✅ YEEDU_DEPLOY_LOCAL_LDAP is set to true.

🔧 Performing operation ./yeedu-core-services.sh in environment dev
🚀 Performing operation start on services yeedu-rabbitmq3 yeedu-metadata-db yeedu-redis yeedu-ldap and yeedu-restful-api yeedu-api-gateway yeedu-reactors-cosi yeedu-reactors-monitor yeedu-spark-history-server yeedu-spark-history-server-web yeedu-reactors-logs-collector yeedu-vault yeedu-ui yeedu-telegraf yeedu-influxdb yeedu-grafana yeedu-airflow-webserver yeedu-airflow-scheduler yeedu-airflow-worker yeedu-airflow-triggerer yeedu-airflow-init flower yeedu-init
📦 Below are the versions being deployed:
🔹 YEEDU_LDAP_VERSION: 1.5.0
🔹 YEEDU_APACHE_SPARK_VERSION: 3.2.2
🔹 YEEDU_RABBIT_MQ_VERSION: 3-management
🔹 YEEDU_TELEGRAF_VERSION: 1.28.2
🔹 YEEDU_HISTORY_SERVER_WEB_VERSION: 1.0.0
🔹 YEEDU_CLI_VERSION: v4.5.4-rc2
🔹 YEEDU_METADATA_DB_VERSION: v2.6.2-rc32
🔹 YEEDU_CLOUD_FORMATION_ENGINE_VERSION: v2.5.15-rc3
🔹 YEEDU_GRAFANA_VERSION: 8.0.2
🔹 YEEDU_REACTIVE_ACTORS_VERSION: v4.9.9-rc5
🔹 YEEDU_RESTFUL_API_VERSION: v4.7.4-rc41
🔹 YEEDU_INFLUXDB_VERSION: 1.8-alpine
🔹 YEEDU_APACHE_SPARK_HISTORY_SERVER_VERSION: v3.2.2-history-server
🔹 YEEDU_UI_VERSION: v1.0.0-rc57
🔹 YEEDU_REDIS_VERSION: 6.0.16
🔹 YEEDU_VAULT_VERSION: test-10



🚀 Setting up in Kubernetes...
Validating Kubernetes Configuration..

🔍 Checking CPU cores...
💻 Required CPU cores: 16
💻 Actual CPU cores: 16
✅ CPU cores meet the requirement

🔍 Checking memory...
🧠 Required memory: 32864112 Ki
🧠 Actual memory: 65728236 Ki
✅ Memory meets the requirement

🚀 Starting Kubernetes deployments...
🔐 Creating Docker registry secret...
🚀 Using Azure credentials.
secret/yeedu-image-pull-secret created
✅ Docker registry secret created successfully.

configmap/yeedu-cloud-credential-json created
configmap/yeedu-docker-registry-credential-json created
configmap/yeedu-aws-retention-json created
configmap/yeedu-azure-retention-json created
configmap/yeedu-gcp-retention-json created
configmap/yeedu-ldap-files created
configmap/yeedu-rabbitmq-files created
configmap/yeedu-redis-files created
configmap/yeedu-grafana-config-files-influxdb created
configmap/yeedu-grafana-config-files-ldap created
configmap/yeedu-grafana-config-files-all created
configmap/yeedu-grafana-config-files-grafana-home-dashboard created
configmap/yeedu-grafana-config-files-ini created
configmap/yeedu-grafana-config-files created
configmap/yeedu-telegraf-config-files created
configmap/yeedu-vault-config-files created

Affected releases are:
yeedu-init-third-party (charts) UPDATED
yeedu-ldap (charts) UPDATED
yeedu-metadata-db (charts) UPDATED
yeedu-rabbitmq3 (external-charts/rabbitmq-cluster-operator) UPDATED
yeedu-redis (external-charts/redis) UPDATED

Upgrading release=yeedu-init-third-party, chart=charts
Release "yeedu-init-third-party" does not exist. Installing it now.
NAME: yeedu-init-third-party
LAST DEPLOYED: Fri Feb 16 14:44:56 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-init-third-party
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:44:56

To learn more about the release, try:
$ helm status yeedu-init-third-party
$ helm get all yeedu-init-third-party

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: -n yeedu-demo

Listing releases matching ^yeedu-init-third-party$
yeedu-init-third-party yeedu-demo 1 2024-02-16 14:44:56.38635391 +0530 IST deployed yeedu-0.1.0

Upgrading release=yeedu-metadata-db, chart=charts
Upgrading release=yeedu-ldap, chart=charts
Upgrading release=yeedu-rabbitmq3, chart=external-charts/rabbitmq-cluster-operator
Upgrading release=yeedu-redis, chart=external-charts/redis
Release "yeedu-metadata-db" does not exist. Installing it now.
NAME: yeedu-metadata-db
LAST DEPLOYED: Fri Feb 16 14:45:02 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-metadata-db
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:45:02

To learn more about the release, try:
$ helm status yeedu-metadata-db
$ helm get all yeedu-metadata-db

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-metadata-db -n yeedu-demo

Listing releases matching ^yeedu-metadata-db$
yeedu-metadata-db yeedu-demo 1 2024-02-16 14:45:02.955963265 +0530 IST deployed yeedu-0.1.0

Release "yeedu-ldap" does not exist. Installing it now.
NAME: yeedu-ldap
LAST DEPLOYED: Fri Feb 16 14:45:02 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-ldap
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:45:02

To learn more about the release, try:
$ helm status yeedu-ldap
$ helm get all yeedu-ldap

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-ldap -n yeedu-demo

Listing releases matching ^yeedu-ldap$
yeedu-ldap yeedu-demo 1 2024-02-16 14:45:02.836906619 +0530 IST deployed yeedu-0.1.0

Release "yeedu-rabbitmq3" does not exist. Installing it now.
NAME: yeedu-rabbitmq3
LAST DEPLOYED: Fri Feb 16 14:45:04 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: rabbitmq-cluster-operator
CHART VERSION: 3.10.7
APP VERSION: 2.6.0

** Please be patient while the chart is being deployed **

Watch the RabbitMQ Cluster Operator and RabbitMQ Messaging Topology Operator Deployment status using the command:

kubectl get deploy -w --namespace yeedu-demo -l app.kubernetes.io/name=rabbitmq-cluster-operator,app.kubernetes.io/instance=yeedu-rabbitmq3

Listing releases matching ^yeedu-rabbitmq3$
yeedu-rabbitmq3 yeedu-demo 1 2024-02-16 14:45:04.46965117 +0530 IST deployed rabbitmq-cluster-operator-3.10.7 2.6.0

Release "yeedu-redis" does not exist. Installing it now.
NAME: yeedu-redis
LAST DEPLOYED: Fri Feb 16 14:45:03 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: redis
CHART VERSION: 18.6.2
APP VERSION: 7.2.3

** Please be patient while the chart is being deployed **

Redis&reg; can be accessed on the following DNS names from within your cluster:

yeedu-redis-master.yeedu-demo.svc.cluster.local for read/write operations (port 6379)
yeedu-redis-replicas.yeedu-demo.svc.cluster.local for read-only operations (port 6379)



To get your password run:

export REDIS_PASSWORD=$(kubectl get secret --namespace yeedu-demo yeedu-redis -o jsonpath="{.data.redis-password}" | base64 -d)

To connect to your Redis&reg; server:

1. Run a Redis&reg; pod that you can use as a client:

kubectl run --namespace yeedu-demo redis-client --restart='Never' --env REDIS_PASSWORD=$REDIS_PASSWORD --image docker.io/bitnami/redis:7.2.3-debian-11-r2 --command -- sleep infinity

Use the following command to attach to the pod:

kubectl exec --tty -i redis-client \
--namespace yeedu-demo -- bash

2. Connect using the Redis&reg; CLI:
REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h yeedu-redis-master
REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h yeedu-redis-replicas

To connect to your database from outside the cluster execute the following commands:

kubectl port-forward --namespace yeedu-demo svc/yeedu-redis-master 6379:6379 &
REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h 127.0.0.1 -p 6379

Listing releases matching ^yeedu-redis$
yeedu-redis yeedu-demo 1 2024-02-16 14:45:03.024669353 +0530 IST deployed redis-18.6.2 7.2.3


UPDATED RELEASES:
NAME CHART VERSION
yeedu-init-third-party charts
yeedu-metadata-db charts
yeedu-ldap charts
yeedu-rabbitmq3 external-charts/rabbitmq-cluster-operator 3.10.7
yeedu-redis external-charts/redis 18.6.2


Validating PostgreSQL connection...
Checking if the database exists
Database yeedu exists on the PostgreSQL server 🐘.
✅ Connected to PostgreSQL server 🐘.

🔒 Validating Redis connection...
PONG
✅ Connected to Redis server 🔑.

Validating RabbitMQ connection...
✅ Connected to RabbitMQ server and virtual host / exists.

Affected releases are:
yeedu-grafana (charts) UPDATED
yeedu-history-server (charts) UPDATED
yeedu-influxdb (charts) UPDATED
yeedu-init (charts) UPDATED
yeedu-reactors-cosi (charts) UPDATED
yeedu-reactors-log-sync (charts) UPDATED
yeedu-reactors-monitor (charts) UPDATED
yeedu-restapi (charts) UPDATED
yeedu-ui (charts) UPDATED
yeedu-vault (charts) UPDATED

Upgrading release=yeedu-init, chart=charts
Release "yeedu-init" does not exist. Installing it now.
NAME: yeedu-init
LAST DEPLOYED: Fri Feb 16 14:48:12 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-init
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:12

To learn more about the release, try:
$ helm status yeedu-init
$ helm get all yeedu-init

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: init-yeedu -n yeedu-demo

Listing releases matching ^yeedu-init$
yeedu-init yeedu-demo 1 2024-02-16 14:48:12.163209325 +0530 IST deployed yeedu-0.1.0

Upgrading release=yeedu-reactors-cosi, chart=charts
Upgrading release=yeedu-influxdb, chart=charts
Upgrading release=yeedu-grafana, chart=charts
Upgrading release=yeedu-reactors-monitor, chart=charts
Upgrading release=yeedu-history-server, chart=charts
Upgrading release=yeedu-vault, chart=charts
Release "yeedu-reactors-monitor" does not exist. Installing it now.
NAME: yeedu-reactors-monitor
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-reactors-monitor
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-reactors-monitor
$ helm get all yeedu-reactors-monitor

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-reactors-monitor -n yeedu-demo

Listing releases matching ^yeedu-reactors-monitor$
Release "yeedu-grafana" does not exist. Installing it now.
NAME: yeedu-grafana
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-grafana
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-grafana
$ helm get all yeedu-grafana

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-grafana -n yeedu-demo

Listing releases matching ^yeedu-grafana$
yeedu-reactors-monitor yeedu-demo 1 2024-02-16 14:48:20.900815042 +0530 IST deployed yeedu-0.1.0

yeedu-grafana yeedu-demo 1 2024-02-16 14:48:20.804799253 +0530 IST deployed yeedu-0.1.0

Release "yeedu-reactors-cosi" does not exist. Installing it now.
NAME: yeedu-reactors-cosi
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-reactors-cosi
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-reactors-cosi
$ helm get all yeedu-reactors-cosi

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-reactors-cosi -n yeedu-demo

Listing releases matching ^yeedu-reactors-cosi$
yeedu-reactors-cosi yeedu-demo 1 2024-02-16 14:48:20.8960508 +0530 IST deployed yeedu-0.1.0

Release "yeedu-history-server" does not exist. Installing it now.
NAME: yeedu-history-server
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-history-server
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-history-server
$ helm get all yeedu-history-server

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-history-server -n yeedu-demo

Listing releases matching ^yeedu-history-server$
yeedu-history-server yeedu-demo 1 2024-02-16 14:48:20.773401496 +0530 IST deployed yeedu-0.1.0

Release "yeedu-influxdb" does not exist. Installing it now.
NAME: yeedu-influxdb
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-influxdb
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-influxdb
$ helm get all yeedu-influxdb

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-influxdb -n yeedu-demo

Listing releases matching ^yeedu-influxdb$
yeedu-influxdb yeedu-demo 1 2024-02-16 14:48:20.613711707 +0530 IST deployed yeedu-0.1.0

Release "yeedu-vault" does not exist. Installing it now.
NAME: yeedu-vault
LAST DEPLOYED: Fri Feb 16 14:48:20 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-vault
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:48:20

To learn more about the release, try:
$ helm status yeedu-vault
$ helm get all yeedu-vault

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-vault -n yeedu-demo

Listing releases matching ^yeedu-vault$
yeedu-vault yeedu-demo 1 2024-02-16 14:48:20.749720578 +0530 IST deployed yeedu-0.1.0

Upgrading release=yeedu-restapi, chart=charts
Upgrading release=yeedu-reactors-log-sync, chart=charts
Release "yeedu-reactors-log-sync" does not exist. Installing it now.
NAME: yeedu-reactors-log-sync
LAST DEPLOYED: Fri Feb 16 14:49:33 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-reactors-log-sync
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:49:33

To learn more about the release, try:
$ helm status yeedu-reactors-log-sync
$ helm get all yeedu-reactors-log-sync

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-reactors-logs-sync -n yeedu-demo

Listing releases matching ^yeedu-reactors-log-sync$
yeedu-reactors-log-sync yeedu-demo 1 2024-02-16 14:49:33.992926056 +0530 IST deployed yeedu-0.1.0

Release "yeedu-restapi" does not exist. Installing it now.
NAME: yeedu-restapi
LAST DEPLOYED: Fri Feb 16 14:49:33 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-restapi
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:49:33

To learn more about the release, try:
$ helm status yeedu-restapi
$ helm get all yeedu-restapi

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-restapi -n yeedu-demo

Listing releases matching ^yeedu-restapi$
yeedu-restapi yeedu-demo 1 2024-02-16 14:49:33.988235087 +0530 IST deployed yeedu-0.1.0

Upgrading release=yeedu-ui, chart=charts
Release "yeedu-ui" does not exist. Installing it now.
NAME: yeedu-ui
LAST DEPLOYED: Fri Feb 16 14:50:16 2024
NAMESPACE: yeedu-demo
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Updated release : yeedu-ui
Release Namespace: yeedu-demo
Date Released: 2024-02-16 14:50:16

To learn more about the release, try:
$ helm status yeedu-ui
$ helm get all yeedu-ui

List the status of the Deployment using the command:
$ kubectl get all -l app.kubernetes.io/component-name: yeedu-ui -n yeedu-demo

Listing releases matching ^yeedu-ui$
yeedu-ui yeedu-demo 1 2024-02-16 14:50:16.792648707 +0530 IST deployed yeedu-0.1.0


UPDATED RELEASES:
NAME CHART VERSION
yeedu-init charts
yeedu-reactors-monitor charts
yeedu-grafana charts
yeedu-reactors-cosi charts
yeedu-history-server charts
yeedu-influxdb charts
yeedu-vault charts
yeedu-reactors-log-sync charts
yeedu-restapi charts
yeedu-ui charts


🚀 Finished Setting up Yeedu...

📝 Log file is available at: /home/ma0804/.yeedu/deployment/logs/deploy_2024-02-16-14-44-30.log