Deploy A Private Kubernetes Cluster To The Cloud For Free

Kubernetes as a Service
How to deploy and host your private or public Kubernetes cluster for learning, experimenting, testing and development purposes with managed Kubernetes namespace providers with a free plan such as Okteto Cloud, Red Hat OpenShift Online and KubeSail.

Okteto Cloud

Okteto Cloud is a development-oriented Kubernetes platform that helps developers boost their productivity while building cloud-native applications. It also provides several plans for production deployments for various project sizes.

You can deploy your Kubernetes projects from the web dashboard using Git repositories or Helm Charts. You can also deploy from the CLI using any Kubernetes tool.

Okteto provides a development container that can be used to build, test and run your applications as if you were in your local machine. Your local project files are kept synchronized with the remote development container, and the application and debugger ports are forwarded to localhost.

Getting started

  1. Log in with your GitHub account
  2. From the Namespaces, page click deploy
  3. Submit your GitHub repository URL

To deploy using the CLI, and configure access to your Okteto Cloud namespace and development container, follow the instructions in this page.

After setting up your credentials with the okteto namespace command, you can deploy and configure your applications using your favorite CLI tool such as kubectl.

Deploy command example:

kubectl apply -f

Quotas and Limits

  • 8 GB of memory
  • 5 GB of storage
  • 4 vCPU
  • 1 namespace
  • Sleeps after 24h of inactivity
  • The namespaces are deleted after 15 days of inactivity

Okteto - 1- Empty Dashboard
Okteto Dashboard
Okteto - 2- Deploy from the Cloud Dashboard
Deploy from the Dashboard using a GitHub repository URL
Okteto - 3- Deploy in progress
Deployed project dashboard

Red Hat OpenShift Online

OpenShift Online is Red Hat's public cloud application deployment and hosting platform that is based on a containerized infrastructure. It offers a free starter plan to deploy apps for learning, experimenting and development purposes or if you need a testing environment. It also provides a Pro plan with customizable resources to suite your projects production requirements.

Apart from deploying using Kubernetes and Helm Charts, you can also build and deploy an app using a git repository, Docker images, and Image Streams. Source code builders are available for Java, Node.js, Python, Ruby, .NET Core, PHP, Perl, Scala and Go.

Getting started

  1. Create a Red Hat Login using this page
  2. Navigate to the following page
  3. Select the OpenShift Online plan
  4. Confirm your subscription
  5. Wait for your account provisioning
  6. After receiving the provisioning email, refresh the page and open the Web Console
  7. Create a new project
  8. Download the oc CLI tool from this page, and add it to your PATH environment variable
  9. From the web dashboard, copy the login command, then execute it in your terminal
  10. You can now deploy your Kubernetes project using kubectl, oc, or any other Kubernetes tool

Quotas and Limits

  • 2 GB memory
  • 2 GB storage
  • 4 vCPU
  • 1 project
  • Up to 5 services
  • Up to 8 Pods
  • Up to 2 persistent storage volumes
  • Sleeps after 30 minutes of inactivity, and must sleep 18 hours in a 72-hour period
  • The project is destroyed automatically after 60 days, but you can redeploy it after this period

OpenShift Online - 1. Select the OpenShift Online plan
After log in, select the OpenShift Online plan
OpenShift Online - 2. Confirm your subscription
Confirm your subscription
OpenShift Online - 3. Wait for your account provisioning
Wait for your account provisioning
OpenShift Online - 4. After receiving the provisioning email, refresh the page and open the Web Console
After receiving the provisioning email, refresh the page and open the Web Console
OpenShift Online - 5. Create a new project
Create a new project
OpenShift Online - 6. Download the CLI tool
Download the CLI tool
OpenShift Online - 7. From the web dashboard, copy the login command
From the web dashboard, copy the login command
OpenShift Online - 8. Execute the login command
Execute the login command
OpenShift Online - 9. Deploy your Kubernetes project
Deploy your Kubernetes project
OpenShift Online - 10. Deployed project dashboard
Deployed project dashboard


You can deploy your Kubernetes projects with KubeSail for free or using a paid plan if you need more resources.

1. Getting started with KubeSail

Get started by copying the kubectl config then pasting it to your ~/.kube/config file. After that you can deploy your project using kubectl.

2. Project deployed to KubeSail