diff --git a/Standards/scs-0104-v2-standard-images.md b/Standards/scs-0104-v2-standard-images.md new file mode 100644 index 000000000..79dad001f --- /dev/null +++ b/Standards/scs-0104-v2-standard-images.md @@ -0,0 +1,71 @@ +--- +title: SCS Standard Images +type: Standard +status: Draft +track: IaaS +description: | + The SCS-0104 standard establishes guidelines for virtual machine images in Sovereign Cloud Stack (SCS) + environments, specifying mandatory as well as recommended images, ensuring interoperability and streamlined + deployments. It mandates that image upload via Glance must be allowed, ensuring flexibility for users. +--- + +## Introduction + +The [Sovereign Cloud Stack (SCS)](https://scs.community) provides standards for a range of cloud infrastructure types. +It strives for interoperable and sovereign cloud offerings which can be deployed and used by a wide range of organizations and individuals. + +To this end, SCS unifies the naming and sourcing of virtual machine images, and for certain images their presence is mandated or recommended. + +## Uploading custom images + +Image upload via Glance MUST be allowed based on a fair-use policy. + +## Mandatory image sources + +### Generic OS images + +For an OS image with `os_purpose=generic`, the `image_source` SHOULD come from the original vendor. +Specifically, the following forms are even REQUIRED: + +| os_distro | os_version | permissible `image_source` form(s) | +| --- | --- | ----| +| debian | [N]N | `https://cloud.debian.org/images/cloud/{codename}/...` | +| | | `https://cdimage.debian.org/cdimage/cloud/{codename}/...` | +| ubuntu | NN.NN | `https://cloud-images.ubuntu.com/releases/{codename}/...` | +| | | `https://cloud-images.ubuntu.com/{codename}/...` | + +### Official SCS CAPI images + +For each image whose name matches the regular expression + + ubuntu-capi-image( |-)v[0-9]\.[0-9]+(\.[0-9]+)? + +the `image_source` MUST have the form + + https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/... + +## Mandatory and recommended images + +The tables in this section show what images are required or recomended. + +Note that this standard does not prohibit any images, and neither +does it preclude the operator from providing any and all optional images, +so long as they do not violate above regulations on image sources. + +### Generic OS images + +| status | os_distro | os_version | os_purpose | +| --- | --- | --- | --- | +| required | `ubuntu` | latest LTS, no later than April 30 | `generic` | +| recommended | `ubuntu` | previous LTS | `generic` | +| recommended | `debian` | latest stable, no later than one month after release | `generic` | +| recommended | `debian` | previous stable | `generic` | + +Note: when a new LTS/stable version is released and the respective image added to the environment, +the images of any previous versions may or may not be kept. + +### Official SCS CAPI images + +| status | name scheme | +| --- | --- | +| recommended | `ubuntu-capi-image-v[0-9]\.[0-9]+(\.[0-9]+)?` |