Questions tagged [openshift-client-tools]

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

329 questions
1
vote
1 answer

Is it possible to install openssl in openshift?

I have a script that encrypts the files that are created by my application. The script is a bat file, I am changing it to shell script because in openshift we use wildfly server in centOS and the script uses OpenSSL. My question is Is it…
1
vote
0 answers

Openshift idle a service using REST API

Is there a way to idle an OCP service using the Openshift REST API ? I know, that every oc command that runs from the client hits an api to perform the action requested. However - I don't see an information about the endpoint to call to idle a…
1
vote
1 answer

OpenShift deploy an application from private registry by using "oc new pp" command

In OpenShift, I want to deploy application by using docker image which its location is on the private docker registry. To do this I have written the following command from terminal by using OpenShift Container Platform Command Line Interface (oc…
fgul
  • 5,763
  • 2
  • 46
  • 32
1
vote
2 answers

Where can I download the OpenShift 4 CodeReady Containers VirtualBox crcbundle file?

I am trying to install Openshift4 locally on my computer and I am missing a file with the .crcbundle-extension. Could someone help me out on where to find this file or how to create it? I am talking about the following project on…
1
vote
1 answer

Adding Labels to Images with Openshift s2i Binary build

I would like to add some labels (commit hash, branch name,...) to images I create using Openshift source-to-image binary build. These labels will have naturally different values for every build. Currently oc start-build does not even support -e…
csviri
  • 1,159
  • 3
  • 16
  • 31
1
vote
1 answer

how to parameterize imagestreamtag in openshift YAML

I have more than ten builds in my openshift project. Each build has a version in its build config. On a new sprint, I need to update the version in each build config individually which is tedious. output: to: kind: ImageStreamTag …
CCNA
  • 388
  • 7
  • 17
1
vote
1 answer

monitor log of a pod with dynamic name

I need to automate monitoring log of pods of an app Monitoring a pod's log can be done using oc CLI oc log -f my-app-5-43j However, the pod's name changes dynamically over the deployments. If I want to automate the monitoring, like running a cron…
CCNA
  • 388
  • 7
  • 17
1
vote
3 answers

How to downgrade or uninstall Openshift Client

So currently I have version 3.9.14 of Openshift Client installed, I need to downgrade to version 3.9.0, but I don't know how to get 3.9.14 out of my system.
Lin0523
  • 171
  • 1
  • 1
  • 14
1
vote
1 answer

How do I stop an existing open shift Port Forward

With oc, I can portward a pod in open shift to get local access. oc get pods oc port-forward MY-POD-NAME 5555:5555 How do I stop it after I start it? I've searched through oc port-forward --help I don't see a way to get a list of all…
1
vote
1 answer

Failed to connect in Pod - Operation timed out when getting the response from pod

Download the file https://github.com/openshift/origin/blob/master/examples/hello-openshift/hello-pod.json and execute the following commands: oc cluster up oc create -f hello-pod.json oc get pod hello-openshift -o yaml |grep podIP it will return…
Diego
  • 413
  • 3
  • 14
1
vote
1 answer

OpenShift patch service port number

In OpenShift I'm trying to patch a service port number via OpenShift Client executable with this command but I get this error message. $ oc patch svc fabric-boot-sample -p '{"spec":{"ports":{"port":8090}}}' Error from server: cannot restore slice…
Seguy
  • 368
  • 2
  • 12
1
vote
2 answers

How to pull docker images from public registry and push it to private openshift?

I need to pull all images from an openshift template file, in my case it's openwhisk. I'm trying to deploy this project on a private network so I don't have access to docker's official repository from there and thus need to push the images myself. I…
1
vote
0 answers

Similar option for docker exec -u in openshift

I have a Jenkins pod running in OpenShift. I have enabled anyuid for my project as per http://appagile.io/2017/03/29/how-to-run-a-pod-as-root/. However, I'm unable to get the initial admin password due to the following issue
1
vote
2 answers

Openshift Configmap : create and update command

I am writing sample program to deploy into Openshift with configmap. I have the following configmap yaml in the source code folder so when devops is setup, Jenkins should pick up this yaml and create/update the configs. apiVersion: v1 kind:…
jack
  • 803
  • 3
  • 15
  • 26
1
vote
1 answer

Openshift v2 migration to Openshift V3

We had our platform hosted on Openshift v2 however due to budget and human resource constraints we were never able to migrate to Openshift v3. We now have the budget and resources in place, however, they are unable to locate our platform. It points…