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

Configure multiple paths for an Openshift Route

I'd like to define in Openshift one route with multiple paths, each path forwarding to a different service. For example /pathA would forward requests to ServiceA , whilst /pathB would forward requests to ServiceB. Is this possible in OpenShift? If…
theAsker
  • 527
  • 3
  • 14
10
votes
0 answers

Migrating to Openshift Online Stuck

I'm migrating my podcast site, but build is pending for more than an hour. oc get events  19:09:02 LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON …
user864279
  • 129
  • 4
9
votes
0 answers

Openshift 3 - Build stuck in pending state

I have been using Openshift 3 seamlessly to build and deploy a Node.js application for several months. Since yesterday, new builds of the same app systematically fail because they are stuck forever in the Pending state, with the "Started status: not…
Ety
  • 334
  • 5
  • 13
6
votes
2 answers

Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (0) (SQLDriverConnect) when connecting to Azure SQL database from Python running in OpenShift

Only when trying to connect to my Azure DB from Python 3.7 running in a OpenShift container (FROM rhel7:latest) I see the following error: sqlalchemy.exc.DBAPIError: (pyodbc.Error) ('IM004', "[IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle…
6
votes
4 answers

Openshift Route is not load balancing from Service pods

I have tried before on Openshift Origin 3.9 and Online. I have deployed a simple hello world php app on Openshift. It has a Service and a Route. When I call the route, I am getting expected output with Hello world and the Pod IP. Let's call this pod…
John Seen
  • 701
  • 4
  • 15
  • 31
5
votes
2 answers

Connect to openshift 3 mongodb from remote?

How do I connect to my Openshift 3 MongoDB with https://mongobooster.com/ from my local mac? The credentials from the pod do not work. Pod: nodejs-mongo-persistent-1-rt6ch Connected to MongoDB at:…
fabian
  • 5,433
  • 10
  • 61
  • 92
4
votes
2 answers

Does kubernetes Deployment automatically create the service like openshift DeploymentConfig does?

I created a deployment using kubernetes Deployment in openshift cluster. i expected it to create the service for all the container ports like openshift DeploymentConfig does. but i did not find any service created by the kubernetes Deployment. does…
dsingh
  • 571
  • 2
  • 7
  • 17
4
votes
2 answers

Deploy Spring Microservices on Openshift

I need to deploy a few microservices on the Openshift. These microservices are implemented using Spring Cloud. I use Spring Eureka for service discovery/load-balancing && Spring Zuul for service routing. From what I understand, Openshift already…
theAsker
  • 527
  • 3
  • 14
4
votes
2 answers

Openshift container as root user

Hi Iam working on CICD implementation on openshift 3.9. I have a jenkins pod running in openshift. Iam running selenium scripts in jenkins and below is the error which iam getting like missing a package Running…
4
votes
1 answer

Openshift 3 FREE- custom domain

I am trying to migrate my app from Openshift 2 FREE to Openshift 3 FREE. I've managed to do everything, but the custom domain. In OpenShift it was very easy - add an alias to the app + modify some CNAME records in your domain. Now I do not find it…
supertramp
  • 169
  • 1
  • 14
4
votes
0 answers

OpenShift v3.1: Create app from an image from a remote repository

How do you have to create an application from an image which is pulled from a remote repository. So I have an image pulled from the repo ec2.xxx:5000. docker pull ec2.xxx:5000/myimage The pull was successfully. When I perform docker images I see…
user5558501
3
votes
1 answer

Why openshift creates two secrets when I create a serviceaccount

I have created a serviceaccount with edit permission on openshift: oc create serviceaccount gitlab-ci oc policy add-role-to-user edit system:serviceaccount:test-project:gitlab-ci but when I check the secrets, I see two secrets regarding the…
Yashar
  • 2,455
  • 3
  • 25
  • 31
3
votes
2 answers

start pod with root privilege on OpenShift

I have an image that requires root privilege to start. Now I'm trying to deploy it on OpenShift. this is the deployment yaml I used to deploy it apiVersion: apps/v1 kind: Deployment metadata: name: xyz annotations: …
3
votes
1 answer

openshift 3.11 oc command : error: Error loading config file ".kube/config": yaml: line 11: could not find expected ':'

In a okd cluster installed using https://github.com/openshift/origin/tree/release-3.11 After the okd installation the oc command was working fine but after somedays, I'm facing a weird issue with oc command i.e running any oc command in the cluster…
3
votes
0 answers

Unable to redeploy the certificates post-expiry in openshift 3.11

I have deployed openshift(okd) 3.11 using : https://github.com/openshift/openshift-ansible/tree/release-3.11 I would want to produce a scenario where certificates expire and test how the renewal certificates can be done. Hence I have set following…
Rakesh Kotian
  • 175
  • 3
  • 20
1
2 3
14 15