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
0
votes
1 answer

How to view openshift online node application logs locally?

I can view my node application logs in the OpenShift Online interface at: OpenShift > Applications > Deployments > [ pod_name ] > [ deployment_name ] > Logs How can I view them locally?
user1063287
  • 10,265
  • 25
  • 122
  • 218
0
votes
0 answers

I want to login to openshift from eclipse

I want to connect to openshift from eclipse by using rest client. By using browser i am able to login, but from elipse(STS) i am getting error. Exception in thread "main" com.openshift.client.OpenShiftEndpointException: Could not request…
0
votes
1 answer

Pass parameter dynamically while patching deployment config

I want to pass parameter dynamically while patching any deployment config oc patch dc/action-msa -p "$(cat msa-patch.yml)" --param service_account=msa-service-account spec: template: spec: serviceAccountName: ${service_account} …
0
votes
1 answer

Having trouble setting up an SSL cert on an OpenShift Node.js server

I am using the free tier deployment for a REST API with Node / Express. I already have the server up and running and it responds to requests over just HTTP. I'm trying to follow this guide to setup the certs using certbot:…
0
votes
1 answer

open shift can't find buildconfig

When I run oc get bc, I got "no resource found". I have no problem to get results on other commands, e.g. oc get dc, oc status. The build process was kicked off by Jenkins. What am I missing here?
rickcoup
  • 275
  • 1
  • 5
  • 20
0
votes
0 answers

Openshift - Environment Variable - Integer/Float

How do I set an integer or float value to the deployment config environment variable or in a configmap. I am getting the java.lang.NumberFormatException: For input string: "${KEYCLOAK_PORT_VAR}".
0
votes
2 answers

Openshift deploy same tag from image stream

I have in openshift a deployment-config that will poll changes in the image stream & starts a new deployment whenever a new image is available. I have a requirement where I need to restart/redeploy same tag from the imagestream. I can achieve this…
user2700022
  • 489
  • 3
  • 19
0
votes
2 answers

Openshift - Environment variable getting evaluated to hostname

I want to pass an environment variable that should get evaluated to the hostname of the running container. This is what I am trying to do oc new-app -e DASHBOARD_PROTOCOL=http -e ADMIN_PASSWORD=abc@123 -e…
0
votes
1 answer

how to patch a route with an alternate backend

I have been trying to patch a route in openshift that has an alternate backend. I have tried: oc patch route/image-mirror-poc --patch '{"spec":{"alternateBackends": "kind:Service" "name:image-mirror-poc-blue" "weight:75"}}' Error: Error from…
Chris Bolton
  • 2,162
  • 4
  • 36
  • 75
0
votes
0 answers

Why we cannot change the template category from OpenShift console?

We have template with tags=database,redis but this is not listing under database catagory; instead listing under "Other" category. I saw below method but not sure this is correct way for production clusters.…
0
votes
1 answer

Adding storage leads to stuck deployment on openshift pod

I have been trying to add storage volumes on one of my pods. When I add the storage, it gets stuck deploying. I had set the strategy type to rolling but later changed it to recreate. The error I get on events is; No nodes are available that match…
0
votes
1 answer

Need to add the ability of instantiation of pod in Openshift with additional PVC

I would like to add PVC dynamically without rebuilding the image. Does anyone know about some practice how to do that?
0
votes
1 answer

Openshift (oc) login to registry keeps on failing - how to start the Docker daemon?

After starting a command prompt, I normally start with login in to openshift with this command: $ oc login https://api.starter-us-west-1.openshift.com --token= Works fine. Up till now I then connected to the docker registry of Openshift with…
tm1701
  • 7,307
  • 17
  • 79
  • 168
0
votes
1 answer

Error duiring configuring cicd to github for jenkins pipeline in minishift?

I have installed openshift in my Mac OS sierra 10. I have started it using minishift start. I am able to successfully create a node application and configured a jenkins tool chain for it. when I tried to run the pipeline manually it worked. But…
0
votes
1 answer

Failed to create superuser in django on OpenShift

I'm trying to set up a django app on the OpenShift. Trying to create superuser, having entered username, email and passwords I get a following error: TypeError: object supporting the buffer API required Is it some package missing? Am I doing…