aKubernetes

1

Download Template Files

git clone https://gitlab.com/obsidian.systems/tradecraft-docs.git

2

Create ConfigMaps

Modify these 3 files with the proper values for your setup:

  • tradecraft-config.yaml

  • tradecraft-ui-common-config.yaml

  • tradecraft-ui-backend-config.yaml

Suggested considerations:

... specific instructions coming soon.

The config files can reference environment variables which you’ll likely want to supply through Kubernetes secrets, like so:

kubectl apply -f tradecraft-secret.yaml

Now go ahead and create the ConfigMaps on Kubernetes:

kubectl apply -f tradecraft-config.yaml
kubectl apply -f tradecraft-ui-common-config.yaml
kubectl apply -f tradecraft-ui-backend-config.yaml
3

Create Deployment

Create a Deployment to start the Tradecraft containers:

kubectl apply -f tradecraft-deployment.yaml
4

Create Service

To expose the deployment on the host we need a Service:

kubectl apply -f tradecraft-service.yaml
5

Create Ingress

Finally, depending on how you expose things to the web, you probably need an Ingress. For example, if you use Traefik:

kubectl apply -f tradecraft-ingress.yaml

Last updated

Was this helpful?