Skip to content

Latest commit

 

History

History
93 lines (77 loc) · 2.06 KB

File metadata and controls

93 lines (77 loc) · 2.06 KB

Run Example

UPDATE

In this example, a server (Original Server) inside the cluster connects to a database inside the cluster. To access data of the original server, another server(Access Server) inside the cluster is used. The aceess server can be accessed from outside the cluster. The access server will communicate to the original server to retrieve data and sends it to the user.

ClusterOverviewSimple
ClusterOverview

Requirements

Installation

Docker
  • Run task deployDocker

Nerdctl
  • Run task deployNerd

Docker behind VPN
  • Run task deployDockerVPN

Nerdctl behind VPN
  • Run task deployNerdVPN

Uninstallation

Docker
  • Run task removeDocker

Nerdctl
  • Run task removeNerd

Docker behind VPN
  • Run task removeDockerVPN

Nerdctl behind VPN
  • Run task removeNerdVPN

Using VPN

Using inside a VPN is currently only working with a work around: When running kubectl commands prepend wsl

  1. Start Rancher Desktop with vpn disabled

  2. Enable VPN

  3. Test connection with wsl kubectl get all

What happened

  1. For the original and access Server, a Dockerimage got created into a locale image repository

  2. The helm chart inside openapi_helm_chart got installed

  3. The Server and Database started and connected to each other

  4. When using a vpn the helm commands got routed through the wsl vpn kit

Test

At http://localhost:5030/guest there is a list of invited guests

If localhost is not working run

kubectl get servie

Use the External Ip of the openapi-server-access-service instead of localhost