Configurations#

SkyCluster Annotations#

Global Annotations#

 1skycluster.io/managed-by: skycluster
 2
 3# You can pause the reconciliation of the object and its
 4# offspring objects by setting this annotation to "true"
 5skycluster.io/pause: "true"
 6
 7# Often there is a need to use existing external managed resources
 8# such as a public network, an existing router, etc.
 9# You can specify the external resource ID using the following labels
10# skycluster.io/ext-Kind-Group-Version: <resource-name>
11# Due to the annotation key length limit, we only use the first word
12# of the api group. Please check examples below:
13
14# Azure:
15# For Azure, we may specify the resource group by:
16# this prevents creating, modifying or deleting the resource group
17# by SkyCluster. However, SkyCluster pull resource group information
18# and use them when creating other resources.
19skycluster.io/ext-ResourceGroup-azure-v1beta1: skycluster-manual
20
21# OpenStack:
22# For OpenStack providers, SkyCluster does not support
23# creating a public (external) network.
24# The network should exist before creating the provider,
25# hence you always need to specify the external subnet.
26skycluster.io/ext-os-public-subnet-name: ext-net
27# Other examples to specify other resources (openstack):
28# Specify a project (tennat)
29skycluster.io/ext-ProjectV3-identity-v1alpha1: <tenant-id>
30# Specify a network
31skycluster.io/ext-NetworkV2-networking-v1alpha1: <network-id>
32# Specify a subnet
33skycluster.io/ext-SubnetV2-networking-v1alpha1: <subnet-id>
34# Specify a router
35skycluster.io/ext-RouterV2-networking-v1alpha1: <router-id>

Provider ConfigMaps#

provider-vm.yaml

  1apiVersion: v1
  2kind: ConfigMap
  3metadata:
  4  name: azure-canadaeast-default
  5  namespace: skycluster-system
  6  labels:
  7    skycluster.io/managed-by: skycluster
  8    skycluster.io/config-type: provider-vars
  9    skycluster.io/provider-name: azure
 10    skycluster.io/provider-region: canadaeast
 11    skycluster.io/provider-zone: default
 12data:
 13  image-ubuntu-18.04-sku: 18_04-lts-gen2
 14  image-ubuntu-18.04-offer: UbuntuServer
 15  image-ubuntu-18.04-version: 18.04.202401161
 16  image-ubuntu-18.04-publisher: Canonical
 17  image-ubuntu-20.04-sku: 20_04-lts-gen2
 18  image-ubuntu-20.04-offer: 0001-com-ubuntu-server-focal
 19  image-ubuntu-20.04-version: 20.04.202406140
 20  image-ubuntu-20.04-publisher: Canonical
 21  image-ubuntu-22.04-sku: 22_04-lts-gen2
 22  image-ubuntu-22.04-offer: 0001-com-ubuntu-server-jammy
 23  image-ubuntu-22.04-version: 22.04.202406140
 24  image-ubuntu-22.04-publisher: Canonical
 25  flavor-small: "Standard_B2s"
 26  flavor-medium: "Standard_B2ms"
 27  flavor-large: "Standard_B4ms"
 28  flavor-xlarge: "Standard_B8ms"
 29  flavor-x.8G: "Standard_B2ms"
 30  flavor-x.16G: "Standard_B4ms"
 31  flavor-x.32G: "Standard_B8ms"
 32  # The default zone is not applicable in Azure
 33  # Azure has restrictions on the availability of
 34  # certain instance types, images, public IPs and other resources
 35  # in certain zones, so we don't specify a default zone
 36  # We just need to make sure the location (region) supports the requirement
 37  # and let Azure pick the zone for us.
 38  default-zone: default
 39---
 40apiVersion: v1
 41kind: ConfigMap
 42metadata:
 43  name: azure-canadacentral-default
 44  namespace: skycluster-system
 45  labels:
 46    skycluster.io/managed-by: skycluster
 47    skycluster.io/config-type: provider-vars
 48    skycluster.io/provider-name: azure
 49    skycluster.io/provider-region: canadacentral
 50    skycluster.io/provider-zone: default
 51data:
 52  image-ubuntu-18.04-sku: 18_04-lts-gen2
 53  image-ubuntu-18.04-offer: UbuntuServer
 54  image-ubuntu-18.04-version: 18.04.202401161
 55  image-ubuntu-18.04-publisher: Canonical
 56  image-ubuntu-20.04-sku: 20_04-lts-gen2
 57  image-ubuntu-20.04-offer: 0001-com-ubuntu-server-focal
 58  image-ubuntu-20.04-version: 20.04.202406140
 59  image-ubuntu-20.04-publisher: Canonical
 60  image-ubuntu-22.04-sku: 22_04-lts-gen2
 61  image-ubuntu-22.04-offer: 0001-com-ubuntu-server-jammy
 62  image-ubuntu-22.04-version: 22.04.202406140
 63  image-ubuntu-22.04-publisher: Canonical
 64  flavor-small: "Standard_B2s"
 65  flavor-medium: "Standard_B2ms"
 66  flavor-large: "Standard_B4ms"
 67  flavor-xlarge: "Standard_B8ms"
 68  flavor-x.8G: "Standard_B2ms"
 69  flavor-x.16G: "Standard_B4ms"
 70  flavor-x.32G: "Standard_B8ms"
 71  # The default zone is not applicable in Azure
 72  # Azure has restrictions on the availability of
 73  # certain instance types, images, public IPs and other resources
 74  # in certain zones, so we don't specify a default zone
 75  # We just need to make sure the location (region) supports the requirement
 76  # and let Azure pick the zone for us.
 77  default-zone: default
 78---
 79apiVersion: v1
 80kind: ConfigMap
 81metadata:
 82  name: azure-centralus-default
 83  namespace: skycluster-system
 84  labels:
 85    skycluster.io/managed-by: skycluster
 86    skycluster.io/config-type: provider-vars
 87    skycluster.io/provider-name: azure
 88    skycluster.io/provider-region: centralus
 89    skycluster.io/provider-zone: default
 90data:
 91  image-ubuntu-18.04-sku: 18_04-lts-gen2
 92  image-ubuntu-18.04-offer: UbuntuServer
 93  image-ubuntu-18.04-version: 18.04.202401161
 94  image-ubuntu-18.04-publisher: Canonical
 95  image-ubuntu-20.04-sku: 20_04-lts-gen2
 96  image-ubuntu-20.04-offer: 0001-com-ubuntu-server-focal
 97  image-ubuntu-20.04-version: 20.04.202406140
 98  image-ubuntu-20.04-publisher: Canonical
 99  image-ubuntu-22.04-sku: 22_04-lts-gen2
100  image-ubuntu-22.04-offer: 0001-com-ubuntu-server-jammy
101  image-ubuntu-22.04-version: 22.04.202406140
102  image-ubuntu-22.04-publisher: Canonical
103  flavor-small: "Standard_B2s"
104  flavor-medium: "Standard_B2ms"
105  flavor-large: "Standard_B4ms"
106  flavor-xlarge: "Standard_B8ms"
107  flavor-x.8G: "Standard_B2ms"
108  flavor-x.16G: "Standard_B4ms"
109  flavor-x.32G: "Standard_B8ms"
110  # The default zone is not applicable in Azure
111  # Azure has restrictions on the availability of
112  # certain instance types, images, public IPs and other resources
113  # in certain zones, so we don't specify a default zone
114  # We just need to make sure the location (region) supports the requirement
115  # and let Azure pick the zone for us.
116  default-zone: default
117---
118apiVersion: v1
119kind: ConfigMap
120metadata:
121  name: gcp-global
122  namespace: skycluster-system
123  labels:
124    skycluster.io/managed-by: skycluster
125    skycluster.io/config-type: provider-vars
126    skycluster.io/provider-name: gcp
127    skycluster.io/provider-region: global # will be global if not provided
128    skycluster.io/provider-zone: default # will be default if not provided
129data:
130  image-ubuntu-22.04: "projects/ubuntu-os-cloud/global/images/family/ubuntu-2204-lts"
131  image-ubuntu-20.04: "projects/ubuntu-os-cloud/global/images/family/ubuntu-2004-lts"
132  image-ubuntu-18.04: "projects/ubuntu-os-cloud/global/images/family/ubuntu-1804-lts"
133---
134apiVersion: v1
135kind: ConfigMap
136metadata:
137  name: gcp-us-east1-default
138  namespace: skycluster-system
139  labels:
140    skycluster.io/managed-by: skycluster
141    skycluster.io/config-type: provider-vars
142    skycluster.io/provider-name: gcp
143    skycluster.io/provider-region: us-east1
144    skycluster.io/provider-zone: default
145data:
146  default-zone: b
147---
148apiVersion: v1
149kind: ConfigMap
150metadata:
151  name: vars-gcp-us-east1-b
152  labels:
153    managed-by: skycluster
154    skycluster/config-type: provider-vars
155    provider-name: gcp
156    provider-region: us-east1
157    provider-zone: b
158data:
159  flavor-small: "e2-small"
160  flavor-medium: "e2-medium"
161  flavor-large: "e2-standard-2"
162  flavor-xlarge: "e2-standard-4"
163  flavor-x.8G: "e2-standard-2"
164  flavor-x.16G: "e2-highmem-2"
165  flavor-x.32G: "e2-highmem-4"
166---
167apiVersion: v1
168kind: ConfigMap
169metadata:
170  name: vars-gcp-us-west1-default
171  labels:
172    managed-by: skycluster
173    skycluster/config-type: provider-vars
174    provider-name: gcp
175    provider-region: us-west1
176    provider-zone: default
177data:
178  default-zone: b
179---
180apiVersion: v1
181kind: ConfigMap
182metadata:
183  name: vars-gcp-us-west1-b
184  labels:
185    managed-by: skycluster
186    skycluster/config-type: provider-vars
187    provider-name: gcp
188    provider-region: us-west1
189    provider-zone: b
190data:
191  flavor-small: "e2-small"
192  flavor-medium: "e2-medium"
193  flavor-large: "e2-standard-2"
194  flavor-xlarge: "e2-standard-4"
195  flavor-x.8G: "e2-standard-2"
196  flavor-x.16G: "e2-highmem-2"
197  flavor-x.32G: "e2-highmem-4"
198---
199apiVersion: v1
200kind: ConfigMap
201metadata:
202  name: vars-savi-scinet-default
203  labels:
204    managed-by: skycluster
205    skycluster/config-type: provider-vars
206    provider-name: savi
207    provider-region: scinet
208    provider-zone: default
209data:
210  flavor-small: m1.small
211  flavor-medium: "m1.medium"
212  flavor-large: "n1.medium"
213  flavor-xlarge: "p2.large"
214  flavor-x.8G: "n1.medium"
215  flavor-x.16G: "o1.medium"
216  flavor-x.32G: "p1.medium"
217  keypair: "skycluster-key"
218  image-ubuntu-22.04: "Ubuntu-22-04-Jammy"
219  image-ubuntu-20.04: "Ubuntu-20-04-focal"
220  image-ubuntu-18.04: "Ubuntu-18-04-bionic"
221  default-zone: default
222---
223apiVersion: v1
224kind: ConfigMap
225metadata:
226  name: vars-savi-vaughan-default
227  labels:
228    managed-by: skycluster
229    skycluster/config-type: provider-vars
230    provider-name: savi
231    provider-region: vaughan
232    provider-zone: default
233data:
234  flavor-small: "m1.small"
235  flavor-medium: "m1.medium"
236  flavor-large: "n1.medium"
237  flavor-xlarge: "m1.large16"
238  flavor-x.8G: "n1.medium"
239  flavor-x.16G: "o1.medium"
240  flavor-x.32G: "p1.medium"
241  keypair: "skycluster-key"
242  image-ubuntu-22.04: "Ubuntu-22-04-Jammy"
243  image-ubuntu-20.04: "Ubuntu-20-04-focal"
244  image-ubuntu-18.04: "Ubuntu-18-04-bionic"
245  default-zone: default
246---
247apiVersion: v1
248kind: ConfigMap
249metadata:
250  name: vars-aws-us-east-1-default
251  labels:
252    managed-by: skycluster
253    skycluster/config-type: provider-vars
254    provider-name: aws
255    provider-region: us-east-1
256    provider-zone: default
257data:
258  image-ubuntu-24.04: "ami-0980c117fa7ebaffd"
259  image-ubuntu-22.04: "ami-07543813a68cc4fe9"
260  image-ubuntu-20.04: "ami-0f81732f07ce19b1c"
261  image-ubuntu-18.04: "ami-03025bb25a1de0fc2"
262  default-zone: use1-az1
263---
264apiVersion: v1
265kind: ConfigMap
266metadata:
267  name: vars-aws-us-east-1-use1-az1
268  labels:
269    managed-by: skycluster
270    skycluster/config-type: provider-vars
271    provider-name: aws
272    provider-region: us-east-1
273    provider-zone: use1-az1
274data:
275  flavor-small: "t2.small"
276  flavor-medium: "t2.medium"
277  flavor-large: "t2.large"
278  flavor-xlarge: "t2.xlarge"
279  flavor-x.8G: "t2.large"
280  flavor-x.16G: "t2.xlarge"
281  flavor-x.32G: "t2.2xlarge"
282---
283apiVersion: v1
284kind: ConfigMap
285metadata:
286  name: vars-aws-us-east-1-use1-az2
287  labels:
288    managed-by: skycluster
289    skycluster/config-type: provider-vars
290    provider-name: aws
291    provider-region: us-east-1
292    provider-zone: use1-az2
293data:
294  flavor-small: "t2.small"
295  flavor-medium: "t2.medium"
296  flavor-large: "t2.large"
297  flavor-xlarge: "t2.xlarge"
298  flavor-x.8G: "t2.large"
299  flavor-x.16G: "t2.xlarge"
300  flavor-x.32G: "t2.2xlarge"
301---
302apiVersion: v1
303kind: ConfigMap
304metadata:
305  name: vars-aws-ca-central-1-default
306  labels:
307    managed-by: skycluster
308    skycluster/config-type: provider-vars
309    provider-name: aws
310    provider-region: ca-central-1
311    provider-zone: default
312data:
313  image-ubuntu-24.04: "ami-0e5eefaa7cc5ad3cc"
314  image-ubuntu-22.04: "ami-0de67a2642184f666"
315  image-ubuntu-20.04: "ami-0e0ac272cd74bdb14"
316  image-ubuntu-18.04: "ami-0a7d5421816e931c8"
317  default-zone: cac1-az1
318---
319apiVersion: v1
320kind: ConfigMap
321metadata:
322  name: vars-aws-ca-central-1-cac1-az1
323  labels:
324    managed-by: skycluster
325    skycluster/config-type: provider-vars
326    provider-name: aws
327    provider-region: ca-central-1
328    provider-zone: cac1-az1
329data:
330  flavor-small: "t2.small"
331  flavor-medium: "t2.medium"
332  flavor-large: "t2.large"
333  flavor-xlarge: "t2.xlarge"
334  flavor-x.8G: "t2.large"
335  flavor-x.16G: "t2.xlarge"
336  flavor-x.32G: "t2.2xlarge"
337---
338apiVersion: v1
339kind: ConfigMap
340metadata:
341  name: vars-aws-ca-central-1-cac1-az2
342  labels:
343    managed-by: skycluster
344    skycluster/config-type: provider-vars
345    provider-name: aws
346    provider-region: ca-central-1
347    provider-zone: cac1-az2
348data:
349  flavor-small: "t2.small"
350  flavor-medium: "t2.medium"
351  flavor-large: "t2.large"
352  flavor-xlarge: "t2.xlarge"
353  flavor-x.8G: "t2.large"
354  flavor-x.16G: "t2.xlarge"
355  flavor-x.32G: "t2.2xlarge"
356---