-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
executable file
·111 lines (110 loc) · 3.22 KB
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
apiVersion: 'cloud-burster.squarefactory.io/v1alpha1'
## Use suffixSearch to append a suffix when receiving an input.
## For example, if you use the name "cn-s-1" and the suffixSearch "example.com",
## the cloud-burster will search "cn-s-1.example.com", then "cn-s-1".
suffixSearch:
- '.example.com'
clouds:
- type: openstack
network:
name: 'net'
subnetCIDR: '172.28.0.0/20'
dns: 1.1.1.1
search: example.com
gateway: 172.28.0.2
hosts:
- name: 'host'
diskSize: 50
flavorName: 'd2-2'
imageName: 'Rocky Linux 9'
ip: 172.28.16.254
groupsHost:
- namePattern: cn-s-[1-50].example.com
ipCIDR: 172.28.0.0/20
ipOffset: 256
template:
diskSize: 50
flavorName: 'd2-2'
imageName: 'Rocky Linux 9'
authorizedKeys:
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUnXMBGq6bV6H+c7P5QjDn1soeB6vkodi6OswcZsMwH nguye@PC-DARKNESS4'
customConfig:
users:
- name: user
passwd: $6$rounds=4096$im4bWTNrEwWBTJy/$4xuVSLiNd56v9Pxk7tHehxgFDLgmqxod78qV0484ys.Duu1mXZ9dq4w1vIjrNOWh25ewWQ6N8E6MLxdvXxv3x1
postScripts:
git:
key: key
url: git@github.com:SquareFactory/compute-configs.git
ref: main
openstack:
# If you have the openrc.sh file, this corresponds to:
# identityEndpoint: OS_AUTH_URL
# username: OS_USERNAME
# password: OS_PASSWORD
# region: OS_REGION_NAME
# tenantID: OS_PROJECT
# tenantName: OS_PROJECT_NAME
# domainID: OS_PROJECT_DOMAIN_ID
identityEndpoint: https://auth.cloud.ovh.net/
username: user
password: password
region: GRA9
tenantID: tenantID
tenantName: 'tenantName'
domainID: default
- type: exoscale
network:
name: 'net'
subnetCIDR: '172.28.0.0/20'
dns: 1.1.1.1
search: example.com
gateway: 172.28.0.2
hosts:
- name: 'host'
diskSize: 50
flavorName: 'd2-2'
imageName: 'Rocky Linux 9'
ip: 172.28.16.254
groupsHost:
- namePattern: cn-s-[1-50].example.com
ipCIDR: 172.28.0.0/20
ipOffset: 256
template:
diskSize: 50
flavorName: 'd2-2'
imageName: 'Rocky Linux 9'
authorizedKeys:
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUnXMBGq6bV6H+c7P5QjDn1soeB6vkodi6OswcZsMwH nguye@PC-DARKNESS4'
## customConfig appends additional configs to the cloud config
customConfig:
users:
- name: user
passwd: $6$rounds=4096$im4bWTNrEwWBTJy/$4xuVSLiNd56v9Pxk7tHehxgFDLgmqxod78qV0484ys.Duu1mXZ9dq4w1vIjrNOWh25ewWQ6N8E6MLxdvXxv3x1
postScripts:
git:
key: key
url: git@github.com:SquareFactory/compute-configs.git
ref: main
exoscale:
apiKey: key
apiSecret: secret
zone: zone
- type: shadow
hosts:
- name: 'host'
diskSize: 50
flavorName: 'VM-A4500-7543P-R2'
imageName: 'https://example.exo.io/ubuntu/'
ram: 112
gpu: 1
shadow:
username: username
password: password
zone: zone
sshKey: sshkey
postScripts:
git:
key: key
url: git@github.com:SquareFactory/compute-configs.git
ref: main