Setup with k8s

Let's get started. Set up Atena in 5 minutes! ⏱️

Pre-requisite ⚡️

Ensure that all the requirements are installed in your system. Follow requirements if you haven’t installed yet.

Step 1: Clone the atena-setup-docker repo

Execute the following command to clone Atena setup repo:

$ git clone https://github.com/mchl-labs/atenadb-k8s-setup.git

Step 2: Run the Atena container

Execute the following command to run Atena container. Together with Atena we will set up Prometheus and Grafana for metrics and monitoring.

💡: Atenadb provides metrics and monitoring with no config needed. Everything is managed by Atena.

$ kubectl apply -f .

This command fetches Atena Docker Image from Docker Hub and sets up everything you need for you.

Step 2: Verify if Atena container is running or not:

$ kubectl get po,svc,deploy

You should see atena pod RUNNING. If it isn't already RUNNING wait a few seconds allowing k8s to set it up.

Step 4: Testing your setup

💡: Remember, Atena CLI always connects to AtenaDb server at localhost:5001. This choice is for security reasons. So, in k8s you need to forward Atenadb port to localhost:5001 with kubectl in order to connect.

Run the Atena CLI and log in with default credentials (USERNAME="Admin" PASSWORD="Admin"). Then start explore...

⚠️ RECOMMENDATION: Once you have logged in, change your default Admin password immediately.

Congrats! Everything is set up 🎉

Explore and enjoy Atena db with Atena CLI or with your favourite programming language thanks to our drivers.

Optional: Step 5: Metrics and Monitoring

Take a look at the metrics and monitoring section

What is next?

Now that we have Atena DB set on your local environment, let's do something with it.

Please make sure you read the Basics chapter to understand better how the project is set and what is included to make your developing experience as smooth as possible.