Skip to content

Commit b573f6f

Browse files
committed
Define dev env for CCI2
1 parent c31ffbf commit b573f6f

File tree

6 files changed

+99
-1
lines changed

6 files changed

+99
-1
lines changed

environments/dev-cci2/ansible.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[defaults]
2+
3+
inventory = ../base/inventory,../singlenode/inventory,../ecmwf-base/inventory/,./inventory
4+
roles_path = ../../.ansible/roles
5+
collections_path = ../../.ansible/collections
6+
7+
host_key_checking = False

environments/dev-cci2/clouds.yaml

1 KB
Binary file not shown.
1.56 KB
Binary file not shown.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
#####
2+
# Configuration for the seed node (HA) or single node
3+
#####
4+
5+
# The ID of an existing network to create the node on
6+
# infra_network_id: "2692933e-244f-4a3b-aa18-4daaf3383838"
7+
# OR
8+
# The CIDR of the subnet that should be created
9+
infra_network_cidr: "192.168.0.0/24"
10+
# The ID of the external network to connect to via a router
11+
infra_external_network_id: "60b799f7-68ad-4385-9e2e-be923cdbfad0" # external-internet
12+
13+
# The fixed floating IP to associate with the machine
14+
# This IP must be pre-allocated to the project
15+
# For a single node deployment, this IP should have the wildcard ingress domain assigned to it
16+
#infra_fixed_floatingip: "136.156.140.50"
17+
# OR
18+
# The name of the floating IP pool to allocate a floating IP from
19+
#infra_floatingip_pool: "<floating ip pool>"
20+
# OR
21+
# The ID of a provisioning network that will be used to access the seed node
22+
#infra_provisioning_network_id:
23+
24+
# The image id of an Ubuntu 20.04 image to use for the node
25+
# N.B. This is populated automatically using community images by default
26+
# infra_image_id: "<image id>"
27+
28+
# The id of the flavor to use for the node
29+
# For a seed node for an HA cluster, 8GB RAM is fine (maybe even 4GB)
30+
# For a single node deployment, >= 16GB RAM is recommended
31+
infra_flavor_id: "68f1d374-441e-4f07-aa81-bd66f631b1b9" # 16cpu-16gbmem-30gbdisk
32+
33+
#####
34+
# Configuration for the HA cluster
35+
#####
36+
37+
# The fixed floating IP to associate with the load balancer for the ingress controller
38+
# This IP must be pre-allocated to the project and should have the wildcard ingress domain assigned to it
39+
#capi_cluster_addons_ingress_load_balancer_ip: "136.156.138.225"
40+
41+
# Storage settings for the management cluster
42+
capi_cluster_root_volume_type: "d6a82d3a-0ece-42ea-9aee-ffe768e5de22" # Ceph-HDD
43+
44+
# Storage settings for tenant clusters
45+
azimuth_capi_operator_capi_helm_root_volume_type: "d6a82d3a-0ece-42ea-9aee-ffe768e5de22" # Ceph-HDD
46+
47+
# Seperate etcd volume config
48+
49+
# Management Cluster
50+
# Default volume type for the etcd block device if 'Volume' type is used in management clusters
51+
capi_cluster_etcd_blockdevice_volume_type: "87bc5d37-08b0-46c3-9e94-f93fe2616b21" # Ceph-SSD
52+
53+
# Tenant Clusters
54+
# Default volume type for the etcd block device if 'Volume' type is used
55+
azimuth_capi_operator_capi_helm_etcd_blockdevice_volume_type: "87bc5d37-08b0-46c3-9e94-f93fe2616b21" # Ceph-SSD
56+
57+
# Reduce just in CCI2 to avoid affected other environments for now.
58+
capi_cluster_worker_flavor: "8cpu-8gbmem-30gbdisk"
59+
60+
#####
61+
# Ingress configuration
62+
#####
63+
# The base domain to use for ingress resources
64+
65+
ingress_tls_enabled: false
66+
certmanager_enabled: false
67+
68+
#zenith_sshd_service_load_balancer_ip: "136.156.138.51"
69+
70+
#####
71+
# Azimuth configuration
72+
#####
73+
74+
#azimuth_capi_operator_capi_helm_openstack_loadbalancer_provider: amphora
75+
#capi_cluster_addons_openstack_loadbalancer_provider: amphora
76+
77+
#####
78+
# Terraform State
79+
####
80+
81+
# The endpoint of the object store
82+
terraform_s3_endpoint: https://object-store.os-api.cci2.ecmwf.int/
83+
84+
# The bucket to put Terraform states in
85+
# NOTE: This bucket must already exist - it will not be created by Terraform
86+
terraform_s3_bucket: az-terraform-state
87+
88+
# Valero backup & recovery
89+
velero_s3_url: https://object-store.os-api.cci2.ecmwf.int/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[terraform_provision]
2+
localhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"

environments/ecmwf-base/inventory/group_vars/all/variables.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ azimuth_capi_operator_capi_helm_etcd_blockdevice_volume_az: "nova"
5959
# Ingress configuration
6060
#####
6161
# The base domain to use for ingress resources
62-
ingress_base_domain: "{{ capi_cluster_addons_ingress_load_balancer_ip | replace('.', '-') }}.sslip.io"
62+
#ingress_base_domain: "{{ capi_cluster_addons_ingress_load_balancer_ip | replace('.', '-') }}.sslip.io"
6363

6464
# Indicates if cert-manager should be enabled
6565
# Currently, TLS is enabled for ingress iff cert-manager is enabled

0 commit comments

Comments
 (0)