[Experimental] Ascode Worker Model

Description

Worker model can be defined ascode. That’s mean the definition of the worker model will be in a git repository, and each time you will push something, CDS will update it.

Prerequisite

Files

To be detected by CDS, your worker model files must be in this directory .cds/worker-models/

*: mandatory field

Docker

name: my-worker-model-name
description: my description
osarch: linux/amd64
type: docker
spec:
  image: myregistry.org/ns/myworkermodel:1.0
  username: foo
  password: bar
  envs:
    myvar: myvalue

Fields:

Openstack

name: my-worker-model-name
description: my description
type: openstack
osarch: linux/amd64
spec: 
  image: Ubuntu
  flavor: "b2-4"

Fields:

vSphere

name: my-worker-model-name
description: my description
osarch: linux/amd64
type: vsphere
spec:
  image: Ubuntu
  username: foo
  password: bar

Fields: