For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/public-cloud/containers-orchestration/managed-kubernetes/deploy-hello-world.md.

Deploying a Hello World application

View as Markdown

Find out how to deploy a Hello World application with the OVHcloud Control Panel and the OVHcloud API

Objective

Follow this quickstart guide to deploy a containerised Hello World application on your OVHcloud Managed Kubernetes Service cluster, using the OVHcloud Control Panel and the OVHcloud API.

In this guide, we’ll walk you through deploying a Hello World application on your OVHcloud Managed Kubernetes Service. You can manage your cluster either via the or the .

Requirements

  • You should have already created a cluster on the OVHcloud Managed Kubernetes service.
  • You will also need the kubectl command-line tool. You can find the detailed installation instructions for this tool on the Kubernetes official site.

OVHcloud Control Panel Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Managed Kubernetes Service

Warning

For API users, this guide assumes you are familiar with the . If you have never used it, you can find the basics here: First steps with the OVHcloud API.

Instructions

Getting your cluster information

Via the OVHcloud Control Panel
Via the OVHcloud API

Your clusters are listed on the Managed Kubernetes Service page.

Click on your cluster name to open its details page.

In this administration UI, you have several tabs included:

  • Service: A global view of your cluster, with important information like the status, API URL, and kubectl configuration file.

  • Node pools: The node pools of your cluster, with options for adding, configuring or removing them.

  • APIServer access: The possibility to configure the access to the API-server.

  • Audit Logs: Logs of your Kubernetes cluster’s control plane.

Configuring the default settings for the kubectl CLI

Please refer to the Configuring kubectl on an OVHcloud Managed Kubernetes cluster documentation for this part of the process.

Add a node pool

Via the OVHcloud Control Panel
Via the OVHcloud API

In the Node pools tab of the administration UI, click the Add a node pool button.

Enter a node pool name in the Name field.

Info

Only alphanumerical characters and "-" are allowed for the node pool name. You can’t use characters like “_”, “.” or "/" as a separator in a node pool name.

Choose a flavor (machine type) for your node pool, B2-7 for example.

Configure the number of nodes you want to add to your node pool, 3 for example with Autoscaling disabled.

Define the billing method: monthly or hourly, then confirm the creation.

Verify that your node pool is ready

Via the OVHcloud Control Panel
Via the OVHcloud API

In the Node pools tab, you can inspect the state of your node pools. The node pool you have just created should now be in an Installing or Deploying state. The node pool installation can take a minute, so feel free to take a short break, then try again until it's ready.

After its creation, click on the node pool name to list its node details.

Deploy your first application

You're now ready to deploy your first application in your OVHcloud Managed Kubernetes cluster.

For more details about this process, you can refer to the deploying an application documentation.

Go further

As you can see in the Kubernetes section of the , a lot of useful API endpoints exist to manage your Kubernetes clusters. Feel free to use the API endpoints depending on your use cases.

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Join our community of users.

Was this page helpful?