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
1
vote
1 answer

OpenShift deployment - pod console logs are truncated

we are using OpenShift container platform (v3.11) for hosting our java application. We are writing application logs to standard pod console. However when I try to view pod logs or try to save logs to file, I am not getting complete log file instead…
Prathap
  • 1,023
  • 7
  • 19
  • 33
1
vote
1 answer

How to view previous wildfly server.log in openshift environment

Trying to identify the cause of restart of the wildfly application in a openshift POD: POD Describe shows no restart for the POD. oc logs xxx --previous does not find any entry. Wildfly log directory holds entry for the current server.log. I…
1
vote
2 answers

How the okd/openshift cluster can be used by multiple users simultaneously?

Problem Scenario: OKD cluster is having two cluster-admins: User1 and User2. If User1 connects to cluster using ssh and performs oc login and parallely User2 connects to the same cluster with new ssh session and performs oc login. Now when User1…
rakesh kotian
  • 232
  • 1
  • 5
  • 30
1
vote
1 answer

How to order the creation of objects in an Openshift template

I'm trying to create a template that allows an application to be promoted across several environments. Currently I create a project and then import the template into that, the template creates all the objects needed in the default namespace(the…
1
vote
1 answer

How to configure Jenkins with .NET Core in Openshift?

Openshift provides a standard Jenkins template with preinstalled tools allowing us to execute oc commands. If we want to build NodeJS apps we can install NodeJS plugin for Jenkins. If we want to build .NET apps we can use MSBuild plugin. But there's…
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
1 answer

How to config nginx as proxy server for nodejs pod using Openshift?

I am familiar with running nginx as proxy server but I am having hard time to put things together using openshift. I have nodejs app and want to use using nginx as proxy server. This is my nginx conf file. Should I replace server_name with service?…
user557657
  • 856
  • 1
  • 12
  • 35
1
vote
0 answers

Openshift Enterprise : Unable to connect to deployed app via browser

Deployed a java application in Openshift (3.9 and 3.11), but cannot reach the application via the browser. Created an REST API application image (OpenLiberty and openjdk 11) and pushed it to openshift docker-registry via a maven build. ImageStream…
funtoos
  • 295
  • 1
  • 4
  • 17
1
vote
1 answer

How can I specify Dockerfile build in buildConfig for OpenShift Online?

Openshfit details: Paid Professional version. Version Information: Been trying to create a build from a Dockerfile in Openshift. Its tough going. So I tried to use the existing templates in the Cluster Console. One of which is the Docker one. When…
Beezer
  • 1,084
  • 13
  • 18
1
vote
2 answers

OKD 3.11 Installation failed "Control plane pods didn't come up" "network plugin is not ready: cni config uninitialized"

OKD 3.11 Installation failed "Control plane pods didn't come up" Environment CentOS Linux release 7.6.1810 (Core) ansible 2.6.16 OKD 3.11 Docker version 1.13.1, build b2f74b2/1.13.1 Ansible inventory file ##Open shift master nodes # Create an…
arunvg
  • 1,209
  • 1
  • 20
  • 31
1
vote
1 answer

How to run docker-in-docker through Jenkins pipeline on Openshift platform?

I am trying to build the docker image in jenkins on openshift platform. But I am getting error like is unix://var/run/docker docker daemon running?
Dashrath Mundkar
  • 7,956
  • 2
  • 28
  • 42
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

Application pod deployment across different openshift clusters

I have openshift 3.9 installed in one AWS region ohio. I have jenkins installed in it. I have a pipeline code in where it will take Java code from GitHub bind with jboss and deployed it in project test within the same cluster. It works fine and I'm…
1
vote
1 answer

Deploying specific tagged image in openshift

Hi I am working on Openshift 3.9. Below is the piece of jenkins pipeline code stage('Build Image') { openshift.withCluster() { openshift.withProject(env.DEV_PROJECT) { def bcSelector =…
1
vote
0 answers

Openshift 3.11 + 503 response

I have setup my web application and I saw my POD was successfully deployed, I have created HTTPS and HTTP route of the service. But when I hit the API, it gives sometime success or sometime 503 status code. I do not see any issue in the POD and…
Shailendra Soni
  • 160
  • 2
  • 12