Skip to content

Latest commit

 

History

History
 
 

external-db

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

This example creates an apitable from app modules

Configration

  1. Replace the kubeconfig certificate to config-k8s/kubeconfig with the appropriate one.
  2. Replace namespace, env, default_storage_class_name and other configurations according to the annotation instructions
  3. Replace all the regcred informations .

Useage

To run this example you need to execute:

$ terraform init
$ terraform plan
$ terraform apply

Run terraform destroy when you don't need these resources.

Instructions

graph TD;
  subgraph "APITable Infrastructure";
      Client -->|HTTP| gateway((Gateway));
      
  subgraph "Apitalbe app (k8s)";
      gateway -->|HTTP| backend-server;
      gateway -->|Web Socket| socket-server;
      gateway -->|HTTP| web-server;
      gateway -->|HTTP| room-server;
      room-server --> backend-server;
      gateway --> |HTTP| imageproxy-server;

  end    
      
  subgraph "Extenrnal db (pass cloud)";
      socket-server -->  |Web Socket| room-server;
      backend-server -->|Read/Write| mysql((MySQL));
      backend-server -->|Read/Write| redis((Redis));
      backend-server -->|Read/Write| S3((minio));
      room-server -->|Read/Write| mysql((MySQL));
      room-server -->|Read/Write| redis((Redis));
      room-server -->|Read/Write| mq((RabbitMQ));
      imageproxy-server -->|Read| S3((minio));
  end 

  end
Loading