Questions tagged [openshift]

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

7609 questions
41
votes
2 answers

What is the different between openshift deploymentconfig and kubernetes deployment

After far as I know: deploymentconfig → replicationcontroller → pod vs. deployment → replicaset → pod Otherwise, do these two resources have additional differences? The more detail the better.
Weiwei Jiang
  • 617
  • 2
  • 6
  • 6
39
votes
4 answers

How to use naked GoDaddy domain with OpenShift hosting?

Desired Behaviour I have a GoDaddy domain name and am using OpenShift for hosting. I would like the following to be true: a) user enters www.mysitename.com > user sees mysitename.com b) user enters www.mysitename.com/about.html > user sees…
user1063287
  • 10,265
  • 25
  • 122
  • 218
36
votes
13 answers

Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift

I am having issues with committing changes to my gear. I have tried to run rhc setup, I also deleted my .ssh folder and executed rhc setup again but that also didnt work. Not sure what changed but it worked couple of hours ago. >git push -u…
special0ne
  • 6,063
  • 17
  • 67
  • 107
33
votes
31 answers

django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded

The scenario is, I cloned the Django code for OpenShift-V3 from here . When I ran the code with python manage.py runserver, I got this error: django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded; Error…
user7139313
32
votes
1 answer

Deploying Ruby on Rails - Is there a good alternative for Heroku?

I'm starting a new small venture, a POC if you would like, and I want to deploy my Rails application for free somewhere. I found that there is Heroku, are there another options?
Oz Ben-David
  • 1,589
  • 1
  • 16
  • 26
31
votes
6 answers

How to restart pod in OpenShift?

I updated a file (for debug output) in a running pod, but it isn't getting recognized. I was going to restart the pod to get it to take but I only see oc stop and not oc start or oc restart. How would I force a refresh of files in the pod? I am…
Elijah Lynn
  • 12,272
  • 10
  • 61
  • 91
31
votes
2 answers

How to include script and run it into kubernetes yaml?

It is how to run simple batch in kubernetes yaml (helloworld.yaml): ... image: "ubuntu:14.04" command: ["/bin/echo", "hello", "world"] ... In Kubernetes i can deploy that like this: $ kubectl create -f helloworld.yaml Suppose i have a batch script…
smftr
  • 923
  • 3
  • 17
  • 31
30
votes
3 answers

Share persistent volume claims amongst containers in Kubernetes/OpenShift

This may be a dumb question but I haven't found much online and want to clarify this. Given two deployments A and B, both with different container images: They're deployed in two different pods(different rc, svc etc.) in a K8/OpenShift…
Donovan Muller
  • 3,822
  • 3
  • 30
  • 54
27
votes
5 answers

Looking for PaaS providers recommendations

I want to develop our new project using a PaaS provider. I'll be developing primary in PHP, but would like that the service can provide other languages too (and add-ons available too, like MongoDB, Memcached, redis, etc). I've seem some PaaS as…
Guillermo
  • 864
  • 4
  • 12
  • 20
27
votes
5 answers

Openshift: How to remote access MySQL?

So I just finished setting up a JBoss application server gear on Openshift and I attached a MySQL and phpmyadmin cartridges. My question is if there is a way to remote access to the database server using an app like MySQL Workbench?
Stephen Rodriguez
  • 1,037
  • 1
  • 12
  • 22
25
votes
7 answers

Openshift Nginx permission problem [nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)]

I am currently running into a problem trying to set up nginx:alpine in Openshift. My build runs just fine but I am not able to deploy with permission being denied with the following error 2019/01/25 06:30:54 [emerg] 1#1: mkdir()…
relief.melone
  • 3,042
  • 1
  • 28
  • 57
25
votes
2 answers

what's the difference between openshift route and k8s ingress?

I'm new to openshift and k8s. I'm not sure what's the difference between these two terms, openshift route vs k8s ingress ?
Feng Xi
  • 1,005
  • 2
  • 11
  • 30
24
votes
4 answers

Difference between API versions v2beta1 and v2beta2 in Horizontal Pod Autoscaler?

The Kubernetes Horizontal Pod Autoscaler walkthrough in https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ explains that we can perform autoscaling on custom metrics. What I didn't understand is when to use the…
Ajay Maity
  • 740
  • 2
  • 8
  • 17
24
votes
3 answers

Kubernetes ConfigMap size limitation

Though resourceQuotas may limit the number of configmaps in a namespace, is there any such option to limit the size of the individual configmap? I will not like some user to start uploading large text files as configmaps. What is the max size of…
Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73
24
votes
4 answers

What is a good way to deploy secret Java key stores in an OpenShift environment?

We have a Java web application that is supposed to be moved from a regular deployment model (install on a server) into an OpenShift environment (deployment as docker container). Currently this application consumes a set of Java key stores (.jks…
Jan Thomä
  • 13,296
  • 6
  • 55
  • 83