Kubernetes API Basics
The Kubernetes API provides a consistent interface to deploy and manage workload on the CloudFlow 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 CloudFlow Project. For more information on the steps to create a CloudFlow Project and get your Kubernetes API follow our Getting Started Guides.
Kubernetes API URL
Every project you create in CloudFlow will automatically generate a Kubernetes API endpoint. This is the URL you will use to communicate with CloudFlow when using kubectl. This endpoint is displayed in the CloudFlow console in Project Settings > Kubernetes.
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 CloudFlow 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 CloudFlow 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 CloudFlow you can use the kubectl describe command:
kubectl describe [pod name]
For more information on kubectl commands please see the Kubernetes Documentation