Skip to content

Releases: SovereignCloudStack/cluster-stacks

openstack-scs-1-27-v4

22 May 10:37
Compare
Choose a tag to compare

Example cluster.yaml

apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
  name: cs-cluster
  namespace: my-tenant
  labels:
    managed-secret: cloud-config
spec:
  clusterNetwork:
    pods:
      cidrBlocks:
        - 192.168.0.0/16
    serviceDomain: cluster.local
    services:
      cidrBlocks:
        - 10.96.0.0/12
  topology:
    variables:
      - name: controller_flavor
        value: "SCS-2V-4-50"
      - name: worker_flavor
        value: "SCS-2V-4-50"
      - name: external_id
        value: "ebfe5546-f09f-4f42-ab54-094e457d42ec" # gx-scs
    class: openstack-scs-1-27-v4
    controlPlane:
      replicas: 1
    version: v1.29.3
    workers:
      machineDeployments:
        - class: openstack-scs-1-27-v4
          failureDomain: nova
          name: openstack-scs-1-27-v4
          replicas: 1

metal3-alpha-1-28-v0-sha-b08777e

20 May 09:44
Compare
Choose a tag to compare
Rename machineDeploymentClass to default-worker

Related to #77

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

openstack-alpha-1-29-v2

16 Apr 15:11
d14f656
Compare
Choose a tag to compare

Create Cluster Stack definition

apiVersion: clusterstack.x-k8s.io/v1alpha1
kind: ClusterStack
metadata:
  name: clusterstack
  namespace: my-tenant
spec:
  provider: openstack
  name: alpha
  kubernetesVersion: "1.29"
  channel: stable
  autoSubscribe: false
  providerRef:
    apiVersion: infrastructure.clusterstack.x-k8s.io/v1alpha1
    kind: OpenStackClusterStackReleaseTemplate
    name: cspotemplate
  versions:
    - v2
---
apiVersion: infrastructure.clusterstack.x-k8s.io/v1alpha1
kind: OpenStackClusterStackReleaseTemplate
metadata:
  name: cspotemplate
  namespace: my-tenant
spec:
  template:
    spec:
      identityRef:
        kind: Secret
        name: openstack

Create and apply cluster.yaml file to the management cluster:

apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
  name: cs-cluster
  namespace: my-tenant
  labels:
    managed-secret: cloud-config
spec:
  clusterNetwork:
    pods:
      cidrBlocks:
        - 192.168.0.0/16
    serviceDomain: cluster.local
    services:
      cidrBlocks:
        - 10.96.0.0/12
  topology:
    variables:
      - name: controller_flavor
        value: "SCS-2V-4-50"
      - name: worker_flavor
        value: "SCS-2V-4-50"
      - name: external_id
        value: "ebfe5546-f09f-4f42-ab54-094e457d42ec" # gx-scs
    class: openstack-alpha-1-29-v2
    controlPlane:
      replicas: 1
    version: v1.29.3
    workers:
      machineDeployments:
        - class: openstack-alpha-1-29-v2
          failureDomain: nova
          name: openstack-alpha-1-29-v2
          replicas: 3

openstack-wooctavia-1-27-v1

11 Apr 08:37
ddd47b2
Compare
Choose a tag to compare
Pre-release
Merge branch 'main' into feat/wooctavia

openstack-scs-1-28-v1

21 Mar 14:32
61f0749
Compare
Choose a tag to compare
KaaS v1 migration (#36)

* Add ability to specify server groups

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Add ability to specify ssh key

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Delete useless metrics-server chart folder

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Remove unused values and variables

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Align templates to be exactly same as in KaaSv1

Also, move features from alpha to scs

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* K8s v1.28

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* fix(cluster-class): use secret and clouds name default 'openstack'

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* Ignore helm templating inside clusterclass patches enabledIf condition

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Get rid of prefix and testcluster from resource naming

Also, fix enabledIf for array variables

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Add support for diskless flavors

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Adapt class naming

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* feat(version): bump to 1.28.7

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* feat(kubernetes version): bump to 1.28.8

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* Apply suggestions from code review

The visibility of images changed to private

Co-authored-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>
Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

---------

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
Signed-off-by: Jan Schoone <schoone@osb-alliance.com>
Co-authored-by: Jan Schoone <schoone@osb-alliance.com>
Co-authored-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>

openstack-scs-1-27-v3

21 Mar 14:29
61f0749
Compare
Choose a tag to compare
KaaS v1 migration (#36)

* Add ability to specify server groups

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Add ability to specify ssh key

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Delete useless metrics-server chart folder

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Remove unused values and variables

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Align templates to be exactly same as in KaaSv1

Also, move features from alpha to scs

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* K8s v1.28

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* fix(cluster-class): use secret and clouds name default 'openstack'

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* Ignore helm templating inside clusterclass patches enabledIf condition

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Get rid of prefix and testcluster from resource naming

Also, fix enabledIf for array variables

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Add support for diskless flavors

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* Adapt class naming

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

* feat(version): bump to 1.28.7

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* feat(kubernetes version): bump to 1.28.8

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

* Apply suggestions from code review

The visibility of images changed to private

Co-authored-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>
Signed-off-by: Roman Hros <roman.hros@dnation.cloud>

---------

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
Signed-off-by: Jan Schoone <schoone@osb-alliance.com>
Co-authored-by: Jan Schoone <schoone@osb-alliance.com>
Co-authored-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>

openstack-alpha-1-29-v1

18 Mar 17:36
Compare
Choose a tag to compare
Pre-release
where is the branch?

Signed-off-by: Jan Schoone <schoone@osb-alliance.com>

openstack-alpha-1-28-v3

21 Feb 16:38
33f99e9
Compare
Choose a tag to compare

Follow our Quickstart Guide for detailed instructions on how to create a workload cluster with Cluster Stacks.

cluster.yaml

apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
  name: testcluster
  namespace: cluster
spec:
  clusterNetwork:
    pods:
      cidrBlocks:
        - 192.168.0.0/16
    serviceDomain: cluster.local
    services:
      cidrBlocks:
        - 10.96.0.0/12
  topology:
    variables:
      - name: controller_flavor
        value: "SCS-2V-4-50"
      - name: worker_flavor
        value: "SCS-2V-4-50"
      - name: external_id
        value: "ebfe5546-f09f-4f42-ab54-094e457d42ec" # gx-scs
    class: openstack-alpha-1-28-v3
    controlPlane:
      replicas: 1
    version: v1.28.6
    workers:
      machineDeployments:
        - class: capi-openstack-alpha-1-28
          failureDomain: nova
          name: capi-openstack-alpha-1-28
          replicas: 3

openstack-scs-1-27-v2

16 Jan 15:02
cbb9387
Compare
Choose a tag to compare

To use the CSO to download and install this ClusterClass you can apply the following resource:

apiVersion: clusterstack.x-k8s.io/v1alpha1
kind: ClusterStack
metadata:
  name: openstack-scs-1-27-v2
spec:
  provider: openstack
  name: scs
  kubernetesVersion: "1.27"
  channel: stable
  autoSubscribe: false
  noProvider: true
  versions:
    - v2

To create a cluster you need a secret to authenticate against your OpenStack provider:

apiVersion: v1
kind: Secret
metadata:
  name: openstack-scs-1-27-v2-cloud-config
data:
  cacert: <base64 of a CA that signs the openstack API endpoint>
  clouds.yaml: <base64 of the openstack clouds.yaml> # make sure that the name of the cloud is the same as the one referenced in openstackcluster.spec.cloudName

After that you can create your cluster with the normal Cluster-API cluster resource. Some cluster-class specific variables are mentioned in this example too, you can alter them to fit your needs. For the full list of possible variables you can check out the cluster-class resource unter .spec.variables

apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
  name: templatecluster
spec:
  clusterNetwork:
    pods:
      cidrBlocks:
        - 192.168.0.0/16
    serviceDomain: cluster.local
    services:
      cidrBlocks:
        - 10.96.0.0/12
  topology:
    variables:
      - name: controller_flavor
        value: "SCS-2V-4-50"
      - name: worker_flavor
        value: "SCS-2V-4-50"
      - name: external_id
        value: "ebfe5546-f09f-4f42-ab54-094e457d42ec"
      - name: dns_nameservers
        value: 
          - "9.9.9.9"
          - "8.8.8.8"
    class: openstack-scs-1-27-v2
    controlPlane:
      replicas: 1
    version: v1.27.8
    workers:
      machineDeployments:
        - class: capi-openstack-scs-1-27-v2-md-0-no1
          failureDomain: nova
          name: capi-openstack-scs-1-27-v2-md-0-no1
          replicas: 3

docker-ferrol-1-27-v2

28 Nov 22:07
Compare
Choose a tag to compare