Questions tagged [openshift]

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

7609 questions
367
votes
10 answers

Using env variable in Spring Boot's application.properties

We are working on a Spring Boot web application, and the database we are using is MySQL; the setup we have is we first test it locally (means we need to install MySQL on our PC); then we push to Bitbucket; Jenkins automatically detects the new…
S M
  • 3,699
  • 3
  • 10
  • 5
221
votes
14 answers

How can I debug "ImagePullBackOff"?

All of a sudden, I cannot deploy some images which could be deployed before. I got the following pod status: [root@webdev2 origin]# oc get pods NAME READY STATUS RESTARTS AGE arix-3-yjq9w 0/1 …
Devs love ZenUML
  • 11,344
  • 8
  • 53
  • 67
158
votes
7 answers

rhc setup gives error `no such file dl/import`

I'm installing openshift client tools as described: https://developers.openshift.com/en/getting-started-windows.html#client-tools. On step 'Setting up Your Machine' I got error: rhc setup …
Vladimir Balandin
  • 3,854
  • 3
  • 17
  • 15
143
votes
11 answers

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in simple terms?

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in Kubernetes/ Openshift by referring to documentation? What is the difference between both in simple terms?
104
votes
11 answers

Can I use my existing git repo with openshift?

Is it necessary to have git repo on openshift only? I already have bitbucket / github git repo and would prefer to push there only. Can I simply hook into it so that openshift gets intimation ? Or for simplification, I push only at github, but when…
Jigar Shah
  • 2,576
  • 6
  • 31
  • 53
94
votes
7 answers

OpenShift rhc setup using multiple accounts

I have two accounts on Openshift platform. How can I setup my computer so that I can manage both of them with rhc? I cannot find any relevant option in the command line arguments.
lunr
  • 5,159
  • 4
  • 31
  • 47
78
votes
7 answers

How does docker compare to openshift?

Docker and OpenShift are both frameworks to implement a PaaS service. How do they compare in architecture and features?
w00t
  • 17,944
  • 8
  • 54
  • 62
63
votes
21 answers

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

I download from https://github.com/luciddreamz/laravel Laravel for openshift then upload over my repository over github. This code for connect to database not work. The problem is that load variable from .env file that locate in root of project for…
hjvcghcghchg
  • 715
  • 1
  • 6
  • 9
54
votes
2 answers

What does "#!/bin/env" mean (at the top of a node.js script)?

I found serval node.js projects that have this at top of their app.js (as in this openshift program): #!/bin/env node What does this mean? How does this work? Where is it useful?
hh54188
  • 14,887
  • 32
  • 113
  • 184
54
votes
1 answer

HTTPS request in NodeJS

I am trying to write a NodeJS app which will talk to the OpenShift REST API using the request method in the https package. Here is the code: var https = require('https'); var options = { host: 'openshift.redhat.com', port: 443, path:…
ssb
  • 7,422
  • 10
  • 36
  • 61
53
votes
7 answers

Using Keycloak behind a reverse proxy: Could not open Admin loginpage because mixed Content

so I have a problem getting keycloak 3.2.1 to work behind kong (0.10.3), a reverse proxy based on nginx. Scenario is: I call keycloak via my gateway-route via https://{gateway}/auth and it shows me the entrypoint with keycloak logo, link to admin…
Dominik
  • 2,801
  • 2
  • 33
  • 45
52
votes
10 answers

Wordpress JsonAPI - /wp-json/ was not found on this server

I am using the following plugin Json Rest API. To test the plugin the documentation states that I should just use: $ curl -i http://testpress-maxximus.rhcloud.com/wp-json/ HTTP/1.1 404 Not Found Date: Sat, 24 May 2014 07:01:21 GMT Server:…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
47
votes
8 answers

Helm: could not find tiller

I'm getting this error message: ➜ ~ helm version Error: could not find tiller I've created tiller project: ➜ ~ oc new-project tiller Now using project "tiller" on server "https://192.168.99.100:8443". Then, I've created tiller into tiller…
Jordi
  • 20,868
  • 39
  • 149
  • 333
44
votes
1 answer

Can I connect one service account to multiple namespaces in Kubernetes?

I have couple of namespaces - assume NS1 and NS2. I have serviceaccounts created in those - sa1 in NS1 and sa2 in NS2. I have created roles and rolebindings for sa1 to do stuff within NS1 and sa2 within NS2. What I want is give sa1 certain access…
rahul
  • 3,018
  • 4
  • 29
  • 28
42
votes
5 answers

Separate back-end and front-end apps on same domain?

We are building a fully RESTful back-end with the Play Framework. We are also building a separate web front-end with a different technology stack that will call the RESTful API. How do we deploy both apps so they have the same domain name, with some…
Erich
  • 2,509
  • 2
  • 21
  • 24
1
2 3
99 100