Questions tagged [tarantool-cartridge]

Tarantool Cartridge allows you to easily develop Tarantool-based applications and run them on one or more Tarantool instances organized into a cluster.

Tarantool Cartridge streamlines the entire life cycle of developing applications: design, implementation, testing, CI/CD, maintenance.

Key features:

  • Automated cluster orchestration
  • Custom roles for an enhanced app feature set
  • Cluster app template for easy development and deployment
  • Built-in automated sharding
  • Integration with the Luatest framework
  • WebUI and API for cluster management
  • Tools for packing and deploying the apps
25 questions
6
votes
1 answer

What is the default password for connecting to tarantool cartridge application

I have a default application on tarantool cartridge (cluster). I want to connect to the cluster's router. I use the command: tarantoolctl connect admin:_password_@localhost:3301 Where can I find the default password?
Andrey V
  • 61
  • 4
6
votes
1 answer

How I can to get custom options in the `init` function of the Tarantool Cartridge role?

A Tarantool Cartridge role file has a function init. I want to get my custom options from the instance.yml file. But the opts variable doesn't have it. How I can do it?
3
votes
1 answer

How can I perform hot reload code in tarantool cartridge?

How can I perform hot reload code in tarantool cartridge without restarting application ?
2
votes
1 answer

How to rename fields in array in .lua

I'm new in .lua. I read the documentation, but didn't find the answer to my question. There is a space "company". Inside it's an "information" map. Inside this map is a "job" object and an array of "users" objects. The "users" array consists of 2…
Kirill Sereda
  • 469
  • 1
  • 10
  • 25
2
votes
1 answer

Why does my Tarantool Cartridge retrieve data from router instance sometimes?

I wonder why my tarantool cartridge cluster is not woring as it should. I have a cartridge cluster running on kubernetes and cartridge image is generated from cartridge cli cartridge pack, and no changes were made to the those generated…
1
vote
1 answer

Tarantool cartridge-springdata(spring data for tarantool) does not work when language is kotlin

We want to use tarantool in out project that is based on kotlin language and spring framework so we tried the spring-data project for tarantool which is cartridge-springdata. The example explained in cartridge-springdata does not work when language…
Milad Amery
  • 198
  • 1
  • 9
1
vote
2 answers

How to config Tarantool Cartridge cluster automatically?

I have an application developed on Tarantool Cartridge. My cluster consists of 12 Tarantool instances divided through 4 replica sets (some are routers, some are storages). Now starting setup this cluster from scratch, I configure this cluster…
peneksglazami
  • 52
  • 1
  • 7
1
vote
2 answers

Using Tarantool http as Nginx upstream server - got error 13: Permission denied

Have Nginx yum install Nginx Have Tarantool + Cartridge nginx.conf upstream tarantool_httpd { server 172.16.72.18:8082 max_fails=1 fail_timeout=15s; keepalive 32; } server { listen 80 default_server; listen [::]:80…
1
vote
1 answer

Custom response from Tarantool + Nginx

Have instance: Nginx in DMZ with TNT_nginx_upstream_module + Tarantool Cartridge as API server. When i have response with good result - it's 200 OK + JSON with data How to set other response? 400 Bad Request 403 Forbidden 404 Not found 410…
1
vote
1 answer

How to implement default config section for a custom Tarantool Cartridge role?

I'm implementing a role which can be configured. For the better user experience I'd like to make it's default configuration explicit so that a user could simply edit it in Cartridge WebUI. But cartridge.config_patch_clusterwide isn't suitable for…
Dmitry Sharonov
  • 471
  • 2
  • 12
1
vote
2 answers

How to create sharded-queue tube the right way?

Let's say we have Tarantool Cartridge based service, which stores posts made by users. When user makes a new post, it is inserted to corresponding space. Simultaneously into sharded-queue tube notify_friends is added task for notifying user friends…
Denis
  • 566
  • 1
  • 5
  • 8
1
vote
1 answer

Should I setup network address with the Tarantool Cartridge application with docker?

When I use the docker pack for an application, how should I configure network addresses?
0
votes
0 answers

Correct test in .lua

I'm new in lua. Sorry for too much text, but I really need help There is a space "company". Inside it's "information" map. Inside this map is a "job" object and an array of "users" objects. The "users" array consists of 2 objects. Each object has 4…
Kirill Sereda
  • 469
  • 1
  • 10
  • 25
0
votes
2 answers

How to use tarantool command in docker with multi container?

I have a test stand with Cartridge cluster. Stand start with docker-compose (use tarantool 2.10.3 docker-image with cartridge-cli inside). container-1: instance-1-1 instance-1-2 container-2: instance-2-1 instance-2-2 After starting all instances…
0
votes
1 answer

Helm install tarantool-operator 0.0.10 problem: 404 not found

I'm trying to install tarantool-operator according to the official documentation "Tarantool Cartridge on Kubernetes": https://www.tarantool.io/ru/doc/latest/book/cartridge/cartridge_kubernetes_guide/#using-minikube Execute command: minikube start…
1
2