Questions tagged [openshift]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
12 views

How do I setup an OpenShift route that will allow both 80 and 443 traffic to my app?

I'd like to setup a route that will pass both 80 and 443 traffic to the same service in OpenShift. When I try to create a second route it errors out. I want this to be in a yaml like would be used ...
1
vote
2answers
48 views

What is the difference between a node and a machine on OpenShift?

OpenShift 4.2 documentation defines: Machines A fundamental unit that describes the host for a Node. A machine has a providerSpec, which describes the types of compute nodes that are offered ...
1
vote
1answer
38 views

CodeReady Container for OpenShift won't start on Windows 10

Two different things might happen: 1 - On the output, get the following messages ERRO unknown error occurred ERRO unknown error occurred ERRO unknown error occurred ERRO unknown error occurred 2 - ...
0
votes
1answer
39 views

What is the difference between a jail environment in linux and docker container?

I am curious about difference between a jail environment in linux and Docker. What separates these two technologies?
1
vote
1answer
63 views

OpenShift fails to deploy jenkins - connection refused

I am using the GitHub project elio/openshift-vagrant. vagrant up and then the script oc-up.sh gives me a master and two nodes. Ansible provision runs without problems. After provision I can login to ...
0
votes
1answer
29 views

How to solve `Error creating config for VM: Invalid JSON` in minishift?

minishift start was issued and openshift started: Login to server ... Creating initial project "myproject" ... Server Information ... OpenShift server started. The server is accessible via web ...
0
votes
1answer
124 views

What is the proper way to fix `error: did not detect an --insecure-registry argument on the Docker daemon` while running `oc cluster up`?

According to this blog one has to change the docker daemon: /usr/bin/dockerd --insecure-registry 172.30.0.0/16 -H fd:// but I wonder why the error occurs and how to fix it properly?
1
vote
1answer
121 views

elasticsearch-fluentd helm chart on Openshift 3.11 pod failing

I install a fluentd chart on OKD 3.11 with: helm install kiwigrid/fluentd-elasticsearch \ --name fluentd \ -f ../../tools/fluentd/values.yaml \ --namespace logging The pod is created, I can enter in ...
1
vote
1answer
96 views

Expose metrics for Kotlin using JMX_Exporter to prometheus

I am trying to use JMX_Exporter for my kotlin code to expose metrics to prometheus in order to show it in Grafana. I have gone through many articles and tried to understand how could it be done. I ...
1
vote
1answer
353 views

Scale number of pods in OpenShift from oc command line

I am new to Openshift , and want know how to change the number of pods of specific deployment from oc command line. I tried to do: oc scale dc name_of_deployment--replicas=2 Error from server (...
1
vote
1answer
178 views

Interacting with a Trident container (NetApp) via CLI within a Openshift/Kubernetes cluster?

Background We're currently using NetApps Trident PV (Persistent Volume) orchestrator to dynamically create volumes on our NetApp ONTAP clusters for Pods running within our Openshift/Kubernetes ...
3
votes
1answer
2k views

How to use same Helm dependency in many charts?

For example, I have this charts structure: ├── parentChart │   ├── charts │   │   ├── childChart1 │   │   │   ├── charts │   │   │   │   └── postgresql-3.11.6.tgz │   │   │   ├── Chart.yaml │   │   │ ...
1
vote
0answers
17 views

How to handle Webhook Endpoint that is behind an OAuth Redirect? [closed]

I am trying to connect a webhook from GitLab (external standalone) to Jenkins (a pod on Openshift) However, when anyone tries to log onto Jenkins, they are redirected to Openshift first, asked to ...
1
vote
1answer
69 views

declaratively mount a service account secret in OpenShift

I am using helm charts to deploy some webhook handlers. The handlers need to connect to the cluster they are running on to deploy the configuration within it. It works but one step is tricky to move ...
2
votes
2answers
330 views

Gitworkflow and testing short lived feature branches in Openshift/Kubernetes

Recently my team started adapting git workflow for agile-based delivery, we've been using JIRA, TeamCity and various other CI tools to complete the pipeline. The workflow works great for monolith or ...
2
votes
1answer
2k views

How to change a statefulset in OpenShift?

What's the best way to change a statefulset (e.g., modify the ENV parameters, modify PVCs) in OpenShift? oc edit statefulset xyz only allows to change the scaling, nothing else.
1
vote
1answer
382 views

How to implement the Load Balancing in Openshift ?

I have deployed my application on cloud using Openshift. I tried few blogs but could not find out the best ways to implement the Load Balancing . Please help.
2
votes
1answer
29 views

How to avoid an avalanche of images in Openshift when security patches keep coming in?

Our applications are based on tomcat, strictly speaking on tomcat base s2i image provided by RedHat. This is updated quite frequently, and we need to comply to some regulations and apply the updates. ...
2
votes
0answers
26 views

How to make fast JSON responses (or equivalent) between server app and front-end apps all running on OpenShift?

I have a system with 5 source data stores (mostly PostgreSQL databases) from which, I want to connect them all to containers running on OpenShift: A library of react applications who's components make ...
1
vote
1answer
80 views

What are the best logging/metrics reporting tools for use with OpenShift?

OpenShift includes EFK and I'm looking into using that or ELK, but there are so many options (found a link with 50+ options) that I'm trying to narrow down. Ideally something free/cheap. What is the ...
2
votes
1answer
53 views

How do I get Openshift to let Tomcat retain it's hosted site's changes

I have a pod in Redhat Openshift running Tomcat and inside Tomcat I have Ozone Widget Framework, my site hosted in Tomcat. I have executed the oc command to use my existing configuration so that my ...
2
votes
1answer
1k views

Multiple Kafka brokers behind a single OpenShift service?

Is it possible to have several brokers behind a single TCP/IP port? I.e., offer a single endpoint for Kafka clients, and having a scalable amount of brokers behind that? In my company, some people ...
6
votes
2answers
605 views

OpenShift configuration management

As far as I can tell, reading the OpenShift documentation, including https://github.com/openshift/training/, the officially published "standard" way to manage OpenShift configuration (about their ...