Questions tagged [openshift-3]

Redhat rolled out Openshift version 3 which is having a totally different architecture than its earlier version referred as 'Openshift' or 'Openshift V2'.

Please check the details here.

All the queries on Openshift V2 or earlier are commonly tagged as 'openshift'. However, the same is no longer valid for Openshift V3. While Openshift V2 and V3 would co-exist for some time, it is more appropriate to tag all V3 related queries under this tag (Openshift-3).

215 questions
3
votes
3 answers

How can I mount a file with the contents of key/value of a ConfigMap without clearing the folder?

I created a deploymentconfig.yml to deploy an app and a want to mount a file which contents are stored in a ConfigMap. When mounting, the files in the folder that is mounted are replaced. The goal though is to only add/remove/overwrite a specific…
telion
  • 834
  • 1
  • 9
  • 34
3
votes
1 answer

Why is Openshift reporting a far greater container memory usage than the same Docker container running locally?

I have a Docker container that reports this resource usage when running locally: docker run -i --rm -p 8080:8080 my-application As you can see the container uses 10.6MiB: docker ps -q | xargs docker stats --no-stream CONTAINER ID …
codependent
  • 23,193
  • 31
  • 166
  • 308
3
votes
0 answers

jenkins pipeline error during build image with build war in openshift

We are implementing CICD pipeline in openshift 3.9. At a stage where I'm building a jboss image with war, I am getting an error. The pipeline is getting failed at the BUILD IMAGE WITH APP stage. It is getting successful runs sometimes and failures…
3
votes
1 answer

How to get information on latest successful pod deployment in OpenShift 3.6

I am currently working on making a CICD script to deploy a complex environment into another environment. We have multiple technology involved and I currently want to optimize this script because it's taking too much time to fetch information on each…
3
votes
1 answer

How to map requests to multiple ports in a pod in Openshift v3?

I have a web app that does http and ws requests. I am trying to deploy it to Openshift v3. Hence, I need my requests to be mapped to ports 80 and 90 in the pod. However: As mentioned in a related thread it is not possible for a route to expose…
StackExploded
  • 539
  • 7
  • 17
3
votes
1 answer

Deploying MYSQL stuck in pending

Been trying to deploy an mysql in openshift 3 online. And i get the following error. Any idea what's wrong with it?
root
  • 1,573
  • 3
  • 23
  • 38
3
votes
1 answer

Angular Cli Deployment on openshift 3

I'm trying to deploy angular cli project to openshift 3. It continuously failing the build with "Generic Build failure", no farther info on log. Can any one please walk me through the process if I'm wrong, and is there a way to deploy the compiled…
Dipankar Nath
  • 31
  • 1
  • 2
3
votes
1 answer

Openshift 3 App Deployment Failed: Took longer than 600 seconds to become ready

I have a problem with my openshift 3 setup, based on Node.js + MongoDB (Persistent) https://github.com/openshift/nodejs-ex.git Latest App Deployment: nodejs-mongo-persistent-7: Failed --> Scaling nodejs-mongo-persistent-7 to 1 --> Waiting up to…
fabian
  • 5,433
  • 10
  • 61
  • 92
3
votes
2 answers

OpenShift Online Next Gen "Unable to mount volumes for pod"

I'm trying to use a regular EBS persistent storage volume in OpenShift Online Next Gen, and getting the following error when attempting to deploy: Unable to mount volumes for pod…
Dashiel N
  • 309
  • 2
  • 13
2
votes
1 answer

How to auto restart OpenShift deployment on a weekly/daily basis?

I'm having a flask app that fetches data from external source only at application startup. I need to refresh app data, and the easiest way (without changing app logic) would be to daily restart deployment (scale pod to zero and up again). Is this…
diman82
  • 702
  • 8
  • 11
2
votes
1 answer

How to read a file on a remote server from openshift

I have an app (java, Spring boot) that runs in a container in openshift. The application needs to go to a third-party server to read the logs of another application. How can this be done? Can I mount the directory where the logs are stored to the…
Violetta
  • 509
  • 4
  • 12
2
votes
1 answer

DeploymentConfig replicas and Horizontal Pod Auto scaler

On Openshift 4, I did setup HPA(horizontal pod autoscaler) with min pods as 3, which guarantees that at least three pods up and running all the time. When I set replicas to zero in Deployment Config, no pods are running which is expecting since I…
Mallesh
  • 147
  • 1
  • 7
2
votes
0 answers

Binary build in OpenShift does not work but locally works

I have the following situation. I created a build in OpenShift: oc new-build --strategy docker --binary --docker-image centos:centos7 --name myapp And locally there is nothing fancy. I have a .war file and Dockerfile: FROM…
2
votes
0 answers

kube-service-catalog pods are in "CrashLoopBackOff" state when internet is disabled

Am trying to install opensource version of openshift origin i.e. OKD v3.11 without internet using ansible. During the complete installation process my internet is disabled on the environment. After the successful installation, I observe that the two…
2
votes
1 answer

openshift: mount directory is not getting populated with initial data from container

My openshift template with pv,pvc and deployment config is as follows: kind: Template apiVersion: v1 metadata: name: okd-static-server. labels: template: okd-static-server objects: - apiVersion: v1 kind: PersistentVolume metadata: name:…
user13384945
1
2
3
14 15