Remove an Openshift server from RHC

萝らか妹 提交于 2020-01-05 02:49:27

问题


I'm very confused about this rhc client. I always read about cartridge and apps on tutorials over the interwebs, but what I see when i try to setup rhc e a server.

I setup a server in this computer a few months ago. But I never used it. Now I created a new and personal account and I wanted to setup this computer to use rhc but my last setup is stuck there.

I tried to rund

rhc server remove <server-name> 

but it says the server is already in use. Asks me to change servers. But I only got one. When I try to add a new server with the url openshift.redhat.com it says it is already setup. Of course.

What do I have to do to remove the current installation and install a new server in this computer? And what exactly is an app and a cartridge in Openshift context?

Is there a different way to upload stuff to OpenShift without configuring RHC?!


回答1:


Remove your ~/.openshift directory and then re-run rhc setup. That will re-create the configuration file.



来源:https://stackoverflow.com/questions/32021976/remove-an-openshift-server-from-rhc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!