diff --git a/cluster/applications/jarvis/application.yaml b/archive/jarvis/application.yaml similarity index 100% rename from cluster/applications/jarvis/application.yaml rename to archive/jarvis/application.yaml diff --git a/cluster/applications/jarvis/deployment.yaml b/archive/jarvis/deployment.yaml similarity index 100% rename from cluster/applications/jarvis/deployment.yaml rename to archive/jarvis/deployment.yaml diff --git a/cluster/applications/jarvis/httproute.yaml b/archive/jarvis/httproute.yaml similarity index 100% rename from cluster/applications/jarvis/httproute.yaml rename to archive/jarvis/httproute.yaml diff --git a/cluster/applications/jarvis/namespace.yaml b/archive/jarvis/namespace.yaml similarity index 100% rename from cluster/applications/jarvis/namespace.yaml rename to archive/jarvis/namespace.yaml diff --git a/boilerplates/traefik/dynamic/jarvis.yml b/boilerplates/traefik/dynamic/jarvis.yml new file mode 100644 index 0000000..a3c32ea --- /dev/null +++ b/boilerplates/traefik/dynamic/jarvis.yml @@ -0,0 +1,35 @@ +# ------------------------------------------------------------------------------ +# FILE: boilerplates/traefik/dynamic/jarvis.yml +# DESCRIPTION: Traefik dynamic config routing jarvis.local.mk-labs.cloud +# to Hermes Agent dashboard on astro-orbiter (10.1.71.130:9119) +# and jarvis-api.local.mk-labs.cloud to gateway (10.1.71.130:8642) +# ------------------------------------------------------------------------------ + +http: + routers: + jarvis: + rule: "Host(`jarvis.local.mk-labs.cloud`)" + entryPoints: + - websecure + tls: + certResolver: cloudflare + service: jarvis + + jarvis-api: + rule: "Host(`jarvis-api.local.mk-labs.cloud`)" + entryPoints: + - websecure + tls: + certResolver: cloudflare + service: jarvis-api + + services: + jarvis: + loadBalancer: + servers: + - url: "http://10.1.71.130:9119" + + jarvis-api: + loadBalancer: + servers: + - url: "http://10.1.71.130:8642"