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
0
votes
0 answers

How to edit the master-config.yaml when using oc cluster up

I'm using oc cluster up to create a local test environment for my project and I need to add a CORS rule to the master-config.yml. When I start my cluster using oc cluster up a directory called openshift.local.clusterup is created in the same…
0
votes
1 answer

Retaining same IP and hostname though AWS snapshot while launching new instance

I have created a snapshot of an instance and while launching the instance from this image i want to retain the same ip and hostname as that of the old instance. Is it possible in AWS? After launching the instance the ip and hostname got…
0
votes
1 answer

Push using passphrased SSH key

I have a Pod on OpenShift 3.11 (Kubernetes 1.11). From that POD I need to push to a GitHub Repository using a passphrased SSH-Key. Now I can create a secret just fine: apiVersion: v1 data: known_hosts: Yml... passphrase: abcde... …
abergmeier
  • 13,224
  • 13
  • 64
  • 120
0
votes
1 answer

Pod failure and recovery events

We are listening to multiple mailboxes on a single pod but if this pod goes down due to some reason need the other pod that is up to listen to these mailboxes. In order to keep recieving emails. I would like to know if it is possible to find if a…
0
votes
1 answer

openshift baremetal VS vm for production

Does it make sense to run open shift 3 / okd on bare metal or on virtual machines What would be the pros and cons of each? would it not affect overall performance if it runs on virtual machines?
0
votes
0 answers

Create dockercfg secret via template

I'm trying to create a secret for a private docker repository. This secret should be packaged in a template and the access data should be passed through template parameters. In principle I need a YAML template variant for the following oc command:…
endian
  • 4,761
  • 7
  • 32
  • 54
0
votes
0 answers

I want to login to openshift from eclipse

I want to connect to openshift from eclipse by using rest client. By using browser i am able to login, but from elipse(STS) i am getting error. Exception in thread "main" com.openshift.client.OpenShiftEndpointException: Could not request…
0
votes
1 answer

How to create custom haproxy IP address based routes in the openshift haproxy router

I have an OKD 3.11 cluster up and running with the openshiftrouter configured. However now, I need to use the openshift haproxy router to add my own routes without essentially mapping the route to a service. for example, I need to add a route that…
user1722908
  • 535
  • 2
  • 9
  • 21
0
votes
0 answers

"oc process" converting special characters "&" and ">" into unicode

I am trying to create openshift deployment config using below template - $ cat test-template.yaml apiVersion: template.openshift.io/v1 kind: Template metadata: annotations: description: This pod will run IO on underlined PVC. name:…
va1bhav
  • 365
  • 1
  • 5
  • 21
0
votes
1 answer

Using openshift along with unix pipes

I was wondering if it would be possible to pipe some json/yaml into an oc comand similar to this: cat some.yaml|oc update
0
votes
1 answer

How can i disable the automatic build triggered from build configuration in openshift?

I am trying to create a cicd pipeline with openshift. Initially, when creating the application using 'oc new-app' command, it automatically triggers the build. How i need to disable the initial build other than deleting or cancel the build?
0
votes
0 answers

OpenShift App deployment methods need some clarifications

So I’m having troubles understanding the Openshift app deployment methods as to where should I use the different options when doing Oc new-app —name=test Docker-image=registry.example.com/test:4.7 I know this should be used when you are trying to…
0
votes
1 answer

How to give a container root permission (serviceaccount) before starting the build

Openshift does not allow to run containers as root, but you can do this by creating a service account: oc adm policy add-scc-to-user anyuid -z useroot and then patching the deployment configuration, this will consequently deploy a new replication…
0
votes
1 answer

Having trouble setting up an SSL cert on an OpenShift Node.js server

I am using the free tier deployment for a REST API with Node / Express. I already have the server up and running and it responds to requests over just HTTP. I'm trying to follow this guide to setup the certs using certbot:…
0
votes
0 answers

Imagestream in openshift

What is the concept of imagestream in.openshift How is it connected to a docker image .. I am trying to deploy an angular project into minishift But i cant quite understand what is a image stream
Janier
  • 3,982
  • 9
  • 43
  • 96