Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section describes

...

the prerequisites for using the Managed Kubernetes Service on the ECMWF side of the European Weather Cloud (EWC) and explains how to get started.


Note
titleRequest access

This service is currently in a pilot

service

phase and

it is 

forms part of

the 

the validation

phase of

programme for the Managed Kubernetes Service at ECMWF

side

.

If you

want to have

need access, please open a ticket

at the

through the EWC Support Portal


Table of Contents

Pre-requisites

...

Before using the service

...

, the following conditions must be met:

  1. Request access to the

    ECMWF 

    ECMWF OpenStack

    API 

    API and

    received

    obtain the

    Openstack

    required OpenStack application credentials

    accordingly

    .

  2. Request access to the Kubernetes service via

    ticket on 

    the EWC Support Portal (this

    ensure also

    ensures the necessary permissions

    have been

    are granted).

  3. Available resources quota in the

    Ensure your OpenStack project has sufficient quota to

    deploy

    create the cluster (control plane and worker nodes).

Access via OpenStack command-line client

Once the

...

prerequisites are

...

satisfied, you can interact with the service using the OpenStack command-line client.

...

Setup steps

  1. If not

    yet done

    already installed, install the OpenStack command-line client.

  2. Install the Magnum

    python client plugin , e.g. via

    plugin using pip:

    • Code Block
      pip install python-magnumclient
  3. Make sure the environment is correctly setup for authenticating to OpenStack via the

    Configure your environment so it can authenticate against OpenStack using your application credentials (either by sourcing

    "openerc

    openrc.sh

    " file

    or by

    installing the "

    using a clouds.yaml

    "

    file)

    .

  4. Have registered a

    Ensure you have an

    SSH keypair

     on

    registered in your OpenStack project

Test your setup

Run the

...

following command to verify that the client and Magnum plugin are working correctly:

Code Block
openstack coe cluster list--help


If the

...

command returns without errors, you can proceed with creating and managing clusters as described in the cluster provisioning and management sections of this documentation

...

.

Access via Terraform/OpenTofu

The Kubernetes service can also be used

...

through Infrastructure-as-Code (IaC) tools such as Terraform or OpenTofu.

...

These tools

...

interact with

...

OpenStack API

...

services—including Magnum—via the terraform-provider-openstack plugin.

...


To get started with

...

IaC-based access,

...

refer to

...

the EWC documentation

...

page on “IaC via Terraform and

...

OpenTofu”.

...