openshift-client-tools

Error executing rhc setup - An unexpected error occurred: invalid character at “<!doctype ”

邮差的信 提交于 2021-01-28 01:44:37
问题 After Executing > rhc setup and then entering my hostname i always get this error message Steps that i've done: 1- installed Ruby 1.9.3 2- installed rhc using gem gem install rhc 3- Executed > rhc setup 回答1: It seems that this is some kind of bug. But, there is another way to manually generate SSH public-private key pairs and upload them to OpenShift 1- Generate new SSH keys C:\> ssh-keygen It will ask you where to save the key files just press "Enter" -> this will generate key-pairs with

List pods that are servicing a service

人盡茶涼 提交于 2020-11-29 10:21:47
问题 I am trying to get the list of pods that are servicing a particular service There are 3 pods associated with my service. I tried to execute the below command oc describe svc my-svc-1 I am expecting to see the pods associated with this service. but that does not show up. What command gets me just the list of pods associated with the service. 回答1: A service chooses the pods using the selector. Look at the selector for the service, and get the pods using that selector. For kubectl, the command

List pods that are servicing a service

久未见 提交于 2020-11-29 10:21:32
问题 I am trying to get the list of pods that are servicing a particular service There are 3 pods associated with my service. I tried to execute the below command oc describe svc my-svc-1 I am expecting to see the pods associated with this service. but that does not show up. What command gets me just the list of pods associated with the service. 回答1: A service chooses the pods using the selector. Look at the selector for the service, and get the pods using that selector. For kubectl, the command

OpenShift 4.2 Rest API documentation

谁都会走 提交于 2020-01-13 20:27:23
问题 Is there any link to find OpenShift 4.2 Rest API documentation? I could see latest that we have is for 3.11 https://docs.openshift.com/container-platform/3.11/rest_api/index.html. 回答1: OpenShift Rest API documentation is expected to be available once 4.3 is released. In the meantime, OpenShift 4.2 is built on top of Kubernetes 1.14; the 1.14 Rest API documentation is available at https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/. For OpenShift specific resources, if you're

Cannot git-clone an OpenShift application

空扰寡人 提交于 2020-01-02 03:53:27
问题 I just opened an OpenShift account, and went through this tutorial: https://www.openshift.com/blogs/any-version-of-nodejs-you-want-in-the-cloud-openshift-does-it-paas-style When I got to creating the app, I got the following error: erelsgl@erelsgl-H61MLC:~/mynode$ sudo rhc create-app mynode nodejs-0.6 Application Options ------------------- Namespace: erel Cartridges: nodejs-0.6 Gear Size: default Scaling: no Creating application 'mynode' ... done Waiting for your DNS name to be available ...

Pip install failed in openshift 3

久未见 提交于 2019-12-25 18:31:13
问题 I want to use the new platform Openshift 3 but I can't install lxml for Weblate with pip when build process is launch. In logs the last line is " Running setup.py install for lxml " but no more error How can I found what happened ? Thanks 回答1: Some of the packages around data analytics when compiled with compiler optimisations can chew up too much memory and hit the default memory limit for builds. Try following steps outlined in: Pandas on OpenShift v3 Is less likely, but just in case is the

Unable to push changes to git openshift

蓝咒 提交于 2019-12-25 06:58:22
问题 Hi guys I could do that but not anymore i.e. I could upload changes to openshift git. I have tried resetting git repo, push by force but no success. Here is the log that I get through: Amits-MacBook-Pro:api $ git push origin master --force Counting objects: 33, done. Delta compression using up to 4 threads. Compressing objects: 100% (32/32), done. Writing objects: 100% (33/33), 1.46 MiB | 0 bytes/s, done. Total 33 (delta 16), reused 0 (delta 0) remote: Postgres already stopped remote:

Openshift transfer app from one domain to another?

烈酒焚心 提交于 2019-12-25 06:39:38
问题 So I've got an app in one domain lets say it has the following url: http://app-domain1.rhcloud.com and I want to move it to my other domain so the url would be http://app-domain2.rhcloud.com is there a way of transferring the app domain with out pulling it down deleting the old app and re-uploading it to the new domain ? Both domains exist before I've started, I own the source domain and I'm shared but not the owner of the target domain. 回答1: Edit based on your edit: Assuming you only want to

Could not find a valid gem 'rhc'. SSL_connect server certificate verify failed on Windows, Unable to connect OpenShift Server

房东的猫 提交于 2019-12-24 16:22:16
问题 C:\>gem install rhc ERROR: Could not find a valid gem 'rhc' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz) tried with the following commands: gem sources -r https://rubygems.org gem sources -a http://rubygems.org But still same error exists when trying to setup rhc. rhc setup By following these steps rhc gem is installed

Error installing rhc: net-scp requires net-ssh (>= 2.6.5, runtime)

房东的猫 提交于 2019-12-24 12:44:17
问题 I'm trying to install Open shift's client tool to access apps on OpenShift. But I get the following error when I try to install rhc: Error installing rhc: net-scp requires net-ssh (>= 2.6.5, runtime) Couldn't find much help online to resolve this error. [I'm using an old MacBook running SnowLeopard.] Thanks. 回答1: Snow Leopard comes with net-ssh 2.0.4 installed. Try running sudo gem update net-ssh in terminal to update net-ssh, then try installing rhc again. You may want to just run sudo gem