Common Commands
rhc-tail-files 查看指定app的log信息
help
Displays a list of common commands to use
ctl_app
control your application
ctl_app start
ctl_app stop
ctl_app restart
ctl_app status
ctl_all
Similar to ctl_app but controlls application and deps like mysql in one command
ctl_all start
ctl_all stop
ctl_all restart
ctl_all status
export
Prints out all available environment variables and their current values which you may use in your application
rm
Removes a file or directory
Use this with care
Remove a file:
rm file
Remove a directory and all files and directories under it
rm -rf <dir>
tail_all
Displays the last entries in your log files as they are written to
You can hit <ctrl>-c to exit this command
ls
List files and directories
ps
List running applications
kill
Kill running applications using the process id found by calling ps
Be careful when using this command as it should only be used to kill runaway processes, otherwise it is preferable to stop them using the appropriate command such as ctl_app stop
mysql
Opens an interactive MySQL shell
mongo
Opens an interactive MongoDB shell
quota
Lists your application's current disk usage
分享到:
相关推荐
openshift平台oc命令练习手册
NULL 博文链接:https://modun.iteye.com/blog/1595857
在 OpenShift Express 上... 使用play命令代替activator 您将无法使用本快速入门中提供的openshift_deploy便捷脚本 在“逐步示例”中进行操作时:使用 Play 发行版中的computer-database,而不是使用play-scala-intr
基础使用命令登录创建新项目查看当前项目下pod查看project进入project将一个服务映射出域名oc expose svc svcname –hostna
1.OpenShift云计算课程介绍v 2PaaS和aaS对lhN 3HCA程目考试介绍.v 4C280平程结构介个绍v 5程等习实验环境软件部署山 6.C280实验环境介绍.v 7.openshift-allinone-install.flv 8.openshift-快速安装后的配置操作.f 9....
openshift-起源 OpenShift 原点导数
Pass平台openshift工具包,用于搭建Pass平台,安装后通过openshift start 命令启动
关于 OPENSHIFT CONTAINER PLATFORM 更新服务 1.2. OPENSHIFT CONTAINER PLATFORM 升级频道和发行版本 1.3. 使用WEB控制台更新集群 第 2 章 通过 WEB 控控制制台台将将集集群群更更新新为一一个个新新的的次次版...
在使用线上的openshift时,也就是redhat自己的openshift,而不是自己搭的私有环境,这个时候需要使用oc命令进行一些操作等等
openshift-java-client, OpenShift REST API的Java客户端 OpenShift客户端 OpenShift REST API的Java客户端。 它几乎提供了 rhc-* 命令行 工具( 。创建/重命名域,创建/销毁应用程序,列出应用程序,列出可用墨盒,...
本人在试验环境,搭建openshift平台,编写的笔记总结文档。文档分步编写了搭建过程中的主要操作步骤,仅供参考!
开源容器云OpenShift
spring cloud + openshift example
创建 Play 应用程序,将其添加到 Git (git init) 下载现有的存储库(由 OpenShift 预先配置)。 必要之恶。 您的终端回滚中的 Your_uuid(和所有其他员工),只需复制粘贴即可。 git remote add origin ssh://...
Author Graham Dumpleton provides the knowledge you need to make the best use of the OpenShift container platform to deploy not only your cloud-native applications, but also more traditional stateful ...
安装OpenShift时相对应的Ansible包及ansible3.9和3.10的hosts配置和Dockerfile文件
第 1 章 将 OPENSHIFT CONTAINER PLATFORM 3 迁迁移移到到 4 1.1. 关于将 OPENSHIFT CONTAINER PLATFORM 3 迁移到 4 1.2. 规划迁移 1.3. 将应用程序工作负载从 OPENSHIFT CONTAINER PLATFORM 3.7 迁移到 4.4 1.4. ...
openshift-toolkit, 代码示例的集合,帮助你开始使用 OpenShift openshift工具包代码示例的集合,帮助你开始使用 OpenShift解决方案备份和恢复功能自定义 Autoscaler同步注册表为引导断开安装安装一组文档和剧本,...
OpenShift-3-Technical-Architecture,红帽的OpenShift平台,基于Kubernetes哦
A fast-paced, practical guide for using OpenShift to deploy your own open source Platform-as-a-Service Overview Discover what the cloud is, tear through the marketing jargon, and go right to the ...