Deploy A Private Kubernetes Cluster To The Cloud For Free


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.

1 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

    with your GitHub account
  1. From the Namespaces , page click deploy
  2. 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:

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 Dashboard Deploy from the Dashboard using a GitHub repository URL Deployed project dashboard

2 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. Sign up and log in using this page
  2. Select the OpenShift Online plan
  3. Confirm your subscription
  4. Wait for your account provisioning
  5. After receiving the provisioning email, refresh the page and open the Web Console
  6. Create a new project
  7. Download the oc CLI tool from this page, and add it to your PATH environment variable
  8. From the web dashboard, copy the login command, then execute it in your terminal
  9. 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

After log in, select the OpenShift Online plan Confirm your subscription Wait for your account provisioning After receiving the provisioning email, refresh the page and open the Web Console Create a new project Download the CLI tool From the web dashboard, copy the login command Execute the login command Deploy your Kubernetes project Deployed project dashboard


Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *