The Digital Garage (OpenShift Container Platform): Offer Free One Month Plan


Digital Garage: PaaS powered by Docker, Kubernetes, and Openshift. Build and run applications on a platform designed by industry leaders for linux containers.
官网:https://thedigitalgarage.io/

简介

  • 仅需邮箱注册;
  • 验证邮件中,提供coupon code,可开1 free months of 1 GiB tier, which includes 1 GiB of Memory, 1 CPU/Core, and 5GB of SSD Storage.
  • 基于CloudSigma主机,速度不错;
  • 采用OpenShift相同的控制面板,部署的速度比OpenShift快得多;
  • 应用命名原则:Route名.Project序号.apps.thedigitalgarage.io,比如gp-test-588ce70b.apps.thedigitalgarage.io



网络性能测试

个人测试:全天大多数时候轻松跑1080P-4K

使用

采用OpenShift Container Platform的服务平台,部署过程基本一样,在前篇http://shui.azurewebsites.net/2017/10/31/openshift-enterprise-3/中已经说明过,这里不再赘述。仅做些补充和优化。

请查看前文之后,再往下看!

测试应用:gp-test-588ce70b.apps.thedigitalgarage.io:443
不想签发证书的,可以直接使用我对*.apps.thedigitalgarage.io签发的内容,修改应用地址server_name即可。
https://raw.githubusercontent.com/yulahuyed/goproxy-vps/digitalgarage/digitalgarage

增加应用配置

应用默认创建配置:250M CPU, 400M RAM。
Applications–>Deployments–>应用–>Edit Resource Limits

设置成Request和Limit都为1 core, 1G RAM。

Save,回到Deployments页面,删除掉所有旧版本的应用,否则会因为旧版本应用已使用部分CPU和RAM,提示Quota limit has been reached,无法完成部署。

安装证书

FireFox中,有时通过FoxyProxy插件获取证书可能有点慢,可以直接访问应用的HTTPS地址,如https://gp-test-588ce70b.apps.thedigitalgarage.io,添加。

添加完成之后,会显示404 page not found,看到这个提示,说明应用已经部署好了。

删除Docker Image

每次部署Docker Image,都会将Docker Image拉取下来,多了命名还被提示重复,所以可以把一些多余的删掉。可别把正在运行的应用对应的Image删除了,否则在更新应用的时候会出现找不到Image的错误。
Builds–>Images–>选中Image–>Delete

Tips:
如果要删除应用,删除Deployment、Service、Route即可。
直接删除Pods,会自动重新创建一个Pods;删除全部Deployment应用版本,也会自动重新创建一个新版本。

3 Replies to “The Digital Garage (OpenShift Container Platform): Offer Free One Month Plan”

  1. Application is not available

    The application is currently not serving requests at this endpoint. It may not have been started or is still starting.

    Possible reasons you are seeing this page:

    The host doesn’t exist. Make sure the hostname was typed correctly and that a route matching this hostname exists.
    The host exists, but doesn’t have a matching path. Check if the URL path was typed correctly and that the route was created using the desired path.
    Route and path matches, but all pods are down. Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.

    这个会被删账号吗?

    1. 提示的蛮全的。可以查看route<--serviece<--pod指向是否都正确,以及pod是否正常运行。或者重建一遍。一般非恶意注册或使用,都没啥问题。

Leave a Reply

Your email address will not be published. Required fields are marked *