Questions tagged [openshift]

This tag doesn't currently have an excerpt. Help contribute by writing one

7609 questions
24
votes
4 answers

Deploying a local django app using openshift

I've built a webapp using django. In order to host it I'm trying to use openshift but am having difficulty in getting anything working. There seems to be a lack of step by steps for this. So far I have git working fine, the app works on the local…
Oliver Burdekin
  • 1,098
  • 2
  • 17
  • 36
24
votes
1 answer

How to configure Django on OpenShift?

I recently tried to export a Django project on OpenShift, but fruitlessly. The only solutions I found were "prebuilt" ones (such as https://github.com/openshift/django-example). I spent some hours trying to adapt it to my project but I always got an…
Antoine Pinsard
  • 33,148
  • 8
  • 67
  • 87
23
votes
6 answers

What server URL should be used for the `oc login` command when using OpenShift's PaaS?

What do I provide for the server URL in the oc login tool, when using the OpenShift PaaS? I'm trying to migrate my OpenShift Online v2 app to v3, following the instructions for PHP apps linked to from OpenShift's Migration Center. That page says to…
echristopherson
  • 6,974
  • 2
  • 21
  • 31
22
votes
2 answers

What is the "kube-system" namespace for?

In a default openshift install, there is an unused project titled kube-system. It seems like openshift-infra is for things like metrics, default is for the router and registry, and openshift is for global templates. What is the kube-system project…
thisguy123
  • 939
  • 1
  • 9
  • 31
21
votes
5 answers

How to solve liquibase waiting for changelog lock problem in several pods in OpenShift cluster?

We are supporting several microservices written in Java using Spring Boot and deployed in OpenShift. Some microservices communicate with databases. We often run a single microservice in multiple pods in a single deployment. When each microservice…
Alex Crazy
  • 232
  • 1
  • 2
  • 12
21
votes
1 answer

OpenShift: How to connect to postgresql from my PC

I have an openshift app, and I just installed a postgresql DB on the same cartridge. I have the postgresql DB installed but now I want to connect to the DB from my PC so I can start creating new tables. Using port forwarding I found my IP for the…
user2705169
  • 223
  • 1
  • 3
  • 6
20
votes
3 answers

What is the benefit of putting multiple containers in a pod?

What's the benefit of having multiple containers in a pod versus having standalone containers?
Ciaodown
  • 529
  • 5
  • 15
19
votes
4 answers

tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.security.selinux'

I am installing Openshift Origin All-in-One Server using below links https://docs.openshift.org/latest/getting_started/administrators.html#downloading-the-binary after download when i did tar -xf…
ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74
19
votes
1 answer

Openshift v3 - update image stream to fetch changes from external docker registry

I'm seeming to run into a simple problem and have the feeling I'm missing something essential. I'm having a private docker image registry at our company, which hosts all the docker images we develop. This registry is constantly updated during our…
berlinguyinca
  • 803
  • 1
  • 9
  • 16
19
votes
9 answers

Application 'appname' failed to start (port 8080 not available) on open shift node app

I have written a node restify server in coffee and I can't seem to get it running. While deploying I get the following error: Waiting for application port (8080) become available ... after which I do get the following error Application 'appname'…
philip_nunoo
  • 920
  • 3
  • 10
  • 21
19
votes
5 answers

JDK 8 support at DIY cartridge in OpenShift

I know WildFly cartridge doesn't have JDK support, but can I somehow install Java 8 at experimental DIY cartridge? java-1.7.0 is the latest version available at /usr/lib .
juanignaciosl
  • 3,435
  • 2
  • 28
  • 28
19
votes
1 answer

How to test an openshift application on local host

I recently start playing with Openshift and I am wondering if there is a way to deploy ( test) your application on local host before you upload it on openshift. Thing is that every time I make change on the code, it takes some time to push it to…
panipsilos
  • 2,219
  • 11
  • 37
  • 53
18
votes
3 answers

Cannot determine if job needs to be started: Too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skew

I've created and pushed a cron job to deployment, but when I see it running in OpenShift, I get the following error message: Cannot determine if job needs to be started: Too many missed start time (> 100). Set or decrease…
nelion
  • 1,712
  • 4
  • 17
  • 37
18
votes
5 answers

permission denied, mkdir in container on openshift

I have a container with nodejs and pm2 as start command and on OpenShift i get this error on startup: Error: EACCES: permission denied, mkdir '/.pm2' I tried same image on a Marathon hoster and it worked fine. Do i need to change something with…
ivoba
  • 5,780
  • 5
  • 48
  • 55
17
votes
6 answers

How to obtain the enable admission controller list in kubernetes?

AFAIK, the admission controller is the last pass before the submission to the database. However I cannot know which one is enabled, Is there a way to know which one is taking effect? Thanks.
Weiwei Jiang
  • 617
  • 2
  • 6
  • 6