Skip to main content

Kubernetes API Basics

The Kubernetes API provides a consistent interface to deploy and manage workload on the Section Composable Edge Cloud. This guide will walk you through the basics.

Creating a Project

To get started using the Kuberenetes API you will first need to create an Section Project. For more information on the steps to create a Section Project and get your Kubernetes API follow our Getting Started Guides.

Kubernetes API URL

Every project you create in Section will automatically generate a Kubernetes API endpoint. This is the URL you will use to communicate with Section when using kubectl. This endpoint is displayed in the Section console in Project Settings > Kubernetes.

Kubernetes API URL

Use kubectl to Deploy a Container

Once you have created a Project and retrieved your Kubernetes API endpoint you can now deploy containers to the Section platform using the Kubernetes API. To do this please follow the Get Started with Kubernetes guide.

Get Logs

To print the logs for a container running on Section you can use the kubectl logs command:

kubectl logs [pod name]

For more information on kubectl commands please see the Kubernetes Documentation

Describe

To show details of a specific resource or group of resources running on Section you can use the kubectl describe command:

kubectl describe [pod name]

For more information on kubectl commands please see the Kubernetes Documentation