Questions tagged [openshift-online]

OpenShift Online is a hosted version of OpenShift, a distribution of Kubernetes for the enterprise, provided by Red Hat.

For more information of OpenShift Online see:

43 questions
1
vote
1 answer

How to get the openshift deployment history from the commandine?

We are using Openshift Online Pro. I am wanting to document / script how to review openshift deployment revisions on the commandline to facilitate rolling back to specific revisions. On the Web Console there is a "History" tab for the deployment…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
1
vote
1 answer

deleted openshift online pro project has left a trace so cannot create project of same name

I am using OpenShift Online Pro and am following the DevOps with OpenShift book example about multiple project jenkins pipelines that starts at page 43. I am trying a second run through the example so I used the webconsole to delete all the…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
1
vote
1 answer

How to upload the images folder directly to an OpenShift 3 server?

I want to upload my images folder directly to my OpenShift server rather than keeping the images in my source code file. I also have few jars which are related to the company. How do I install those to OpenShift 3 server's m2 Maven repository?…
Karthik
  • 39
  • 5
0
votes
1 answer

Install Docker inside Jenkins 2.17

I'm running Jenkins version 2.176.3 on Openshift online. And I want to build a pipeline which uses Docker commands to build the image. When I tried to build it gives me an error saying Docker command not found. I think that is because I don't have…
Thisara Watawana
  • 344
  • 4
  • 15
0
votes
1 answer

Run Shiny applications on OpenShift Online using custom images

I'm new to OpenShift and currently exploring its functionalities using the OpenShift online. I created a simple R Shiny application and created the following Dockerfile to build a custom image in OpenShift. # Base image…
Thisara Watawana
  • 344
  • 4
  • 15
0
votes
1 answer

Deploying a Windows virtual machine on OpenShift Online (Starter Plan)

I would like to achieve exactly what is on this video of OpenShift: https://youtu.be/Kx110kqoHo0 (Deploying a Windows virtual machine on OpenShift). However on the dashboard of my free OpenShift Starter account, I cannot find the sub-menu "Virtual…
0
votes
1 answer

Creating Cron job in OpenShift online results in: admission webhook "validate.cron.create" denied the request: Prohibited resource for this cluster

I'm learning Openshift Online, I tried to create a cron job from either UI or CLI, both resulted in the below error: Error from server: admission webhook "validate.cron.create" denied the request: Prohibited resource for this cluster. I checked…
talkhouon
  • 21
  • 5
0
votes
1 answer

Writing to files in a OpenShift Online based app

I've started work on a little Discord bot hosted OpenShift Online, and I've gotten to the point where I'm trying to persist data across deployments. As far as I can tell, I should be able to create persistent volume, claim it and mount it in my…
0
votes
1 answer

Why is Openshift Online Starter refusing to activate a pod for over two weeks?

I have been using Openshift Online Starter for some time for a small project. However, for the last two weeks, the pods for my system (which was working fine earlier) have simply refused to start. The program builds ok, deploys ok, and then the…
ShankarG
  • 1,105
  • 11
  • 26
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

How to run openshift online in Command promt Mac

I have a free trail account of openshift online. I have created an node application and a jenkins pipeline, now I want to add this to github webhooks, so I want to create a webhook. Usually when I use minishift I use oc describe bc/mynode. but how…
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

deployment history is short in on openshift online pro

The command oc describe dc/backend is only showing the last three deployments. Due to a troublesome rollout, the last three deployments today were the same code. Is it possible to see a longer history of deployments to make it easier to see the one…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
0
votes
2 answers

How do I grant a user the ability to tag images in OpenShift Online Pro?

I have set up a collaborator account with the role "view". I now want to grant this user the ability to tag images using oc tag. Following these instructions I have: oc get clusterrole view -o yaml > role_edittags.yaml # 1. Update kind:…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
0
votes
1 answer

"Cannot find module" error message when deploying a node.js program on Heroku or RedHat Openshift Online

`Environment: DEV_MODE=false NODE_ENV=production DEBUG_PORT=5858 Launching via npm... npm info it worked if it ends with ok npm info using npm@5.6.0 npm info using node@v8.9.4 npm info lifecycle SuperCineBot@1.0.0~prestart:…
Yukinoe
  • 15
  • 3