latest working template with single control node #3

Merged
zramsay merged 7 commits from zach/tnt into main 2024-07-30 12:40:31 +00:00
7 changed files with 20 additions and 20 deletions
Showing only changes of commit 509db9eb5e - Show all commits

View File

@ -1,8 +1,8 @@
---
# default context is used for stack orchestrator deployments, for testing a custom context name can be usefull
#k8s_cluster_name: rnt-cad-cluster
#k8s_cluster_name: tnt-cad-cluster
k8s_cluster_name: default
k8s_cluster_url: rnt-cad-cluster-control.realitynetwork.store
k8s_cluster_url: tnt-cad-cluster-control.realitynetwork.store
k8s_taint_servers: true
k8s_acme_email: "{{ support_email }}"

View File

@ -13,5 +13,5 @@ firewalld_add:
sources:
- 10.42.0.0/16
- 10.43.0.0/16
- 142.93.110.163/32
- 147.182.158.116/32
- 165.227.34.121/32
- 167.99.181.37/32

View File

@ -11,5 +11,5 @@ firewalld_add:
sources:
- 10.42.0.0/16
- 10.43.0.0/16
- 142.93.110.163/32
- 147.182.150.60/32
- 165.227.34.121/32
- 167.99.182.224/32

View File

@ -13,5 +13,5 @@ firewalld_add:
- name: trusted
sources:
- 147.182.150.60/32
- 147.182.158.116/32
- 167.99.182.224/32
- 167.99.181.37/32

View File

@ -6,14 +6,14 @@ nginx_proxy_send_timeout: 1200
nginx_proxy_connection_timeout: 75
nginx_sites:
- name: rnt-console
url: rnt-console.realitynetwork.store
- name: tnt-console
url: tnt-console.realitynetwork.store
upstream: http://localhost:8080
template: basic-proxy
ssl: true
- name: rnt-daemon
url: rnt-daemon.realitynetwork.store
- name: tnt-daemon
url: tnt-daemon.realitynetwork.store
upstream: http://localhost:9473
configs:
- rewrite ^/deployer(/.*)? https://webapp-deployer.pwa.realitynetwork.store permanent

16
hosts
View File

@ -1,14 +1,14 @@
[all]
rnt-daemon ansible_host=142.93.110.163
rnt-cad-cluster-control ansible_host=147.182.150.60
rnt-cad-cluster-worker ansible_host=147.182.158.116
tnt-daemon ansible_host=165.227.34.121
tnt-cad-cluster-control ansible_host=167.99.182.224
tnt-cad-cluster-worker ansible_host=167.99.181.37
[so]
rnt-daemon
tnt-daemon
[rnt_cad]
rnt-cad-cluster-control k8s_node_type=bootstrap
rnt-cad-cluster-worker k8s_node_type=agent k8s_pod_limit=1024 k8s_external_ip=147.182.158.116
[tnt_cad]
tnt-cad-cluster-control k8s_node_type=bootstrap
tnt-cad-cluster-worker k8s_node_type=agent k8s_pod_limit=1024 k8s_external_ip=167.99.181.37
[k8s:children]
rnt_cad
tnt_cad