当我登录到openshift URL时,在URL/console/projects下,我可以看到所有proejcts以及创建它们的人和时间。
例如:
:
actually
created by assafav 22 days ago
aggrdep
created by INNATR 22 days ago
如何使用oc cli获取这些信息?
我试过"oc status -v“"oc describe all”
我正在使用版本:
oc v3.10.14
kubernetes v1.10.0+b81c8f8
openshift v3.11.51
kubernetes v1.11
我在OpenShift V3上设置了一个帐户,现在我正在尝试与oc CLI连接。我使用与web控制台相同的凭据,但无法登录,收到以下错误消息:
> oc login
Authentication required for https://api.starter-us-east-1.openshift.com:443 (openshift)
Username: my_login
Password:
error: The server was unable to respond - verify you have provided the correct host and port and
我已经安装了小型木桶和openshift客户端与自制。
但是,作为开发人员用户,我无法从openshift cli创建一个项目,无法触发构建,等等。我总是有权限错误:
Error from server (Forbidden): User "developer" cannot list all project.openshift.io.projectrequests in the cluster
Error from server (Forbidden): User "developer" cannot list authorization.openshift.
在我从Eclipse Java EE IDE for Web登录到Openshift之后,我得到了以下错误:
无法加载应用程序,盒式磁带和齿轮无法请求:javax.net.ssl.SSLException: java.lang.RuntimeException:无法生成DH密钥对
你知道我怎么才能修好吗?
我试过和
redis-cli -h $OPENSHIFT_REDIS_HOST -p $OPENSHIFT_REDIS_PORT
反应是
Could not connect to Redis at 127.5.216.130:16379: Operation timed out
是否有必要以某种方式为传入连接打开OpenShift端口?
谢谢
我已经创建了OpenShift帐户,我可以通过浏览器登录到OpenShift web控制台,但是我不能从eclipse连接。服务器类型设置为OpenShift 2,并选中“使用默认服务器”。我输入了用户名和密码的电子邮件地址,这与我在OpenShift网络控制台登录时使用的内容相同。
当我尝试登录时,我得到:
Your credentials are not authorized to access "https://openshift.redhat.com/broker/rest/user"
我一直在用Java编写Openshift客户端,我想知道CLI是否在内部调用REST服务,在这种情况下,我可以尝试直接使用REST服务。我使用的是Openshift 3.1
通过创建引用.conf文件的工厂,我通过以下方式连接到openshift。我正在从连接工厂创建连接。我想知道CLI是最优的,还是Java客户机最好。
final OpenShiftConnectionFactory connectionFactory = new OpenShiftConnectionFactory();
IOpenShiftConnection connection2 = new OpenShiftCo
我无法打开AWS Openshift webconsole...我可以执行oc cli命令... oc cluster-info
Kubernetes control plane is running at https://api.testopenshift.test.co.uk:6443
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. 当我尝试控制台时,我得到"Secure Connection failure PR_CONNECTION_RESET_
我已经在OpenShift的免费层上部署了我的第一个Node.js应用程序,它工作得很好。
当Node应用程序崩溃时,OpenShift会自动重新启动它,还是必须设置Forever.js?我试过设置它,但它不起作用。在运行node_modules/forever/bin/forever start app.js (working是app-root/repo,带有forever的本地副本)之后,我得到了以下输出:
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your s