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 | ||
|---|---|---|
| ||
This service is currently in a pilot servicephase and it isforms part of thethe validation phase ofprogramme for the Managed Kubernetes Service at ECMWF side. If you want to haveneed access, please open a ticket at thethrough the EWC Support Portal |
| Table of Contents |
|---|
Pre-requisites
...
Before using the service
...
, the following conditions must be met:
Request access to the
ECMWFECMWF OpenStack
APIAPI and
receivedobtain the
Openstackrequired OpenStack application credentials
accordingly.
Request access to the Kubernetes service via
ticket onthe EWC Support Portal (this
ensure alsoensures the necessary permissions
have beenare granted).
- Available resources quota in the
Ensure your OpenStack project has sufficient quota to
deploycreate 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
If not
yet donealready installed, install the OpenStack command-line client.
Install the Magnum
python client plugin , e.g. viaplugin using pip:
Code Block pip install python-magnumclient
- 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
"openercopenrc.sh
" fileor by
installing the "using a clouds.yaml
"file)
.
- Have registered a
Ensure you have an
onregistered 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
...
...