Skip to main content

Questions tagged [openshift]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Troubleshooting the 'View in Alertmanager' Button in MultiClusterObservability Email Notifications

This question concerns Openshift, but perhaps someone who simply deals with Kubernetes might be able to help. I have 2 clusters and on one of them I deployed Prometheus Alertmanager on Redhat ACM ...
Daveron's user avatar
1 vote
1 answer
246 views

How do I get a secret into a property file with openshift and kubernetes?

I am new to openshift and kubernetes. I have a secret in openshift and made it avaliable to the pod as an environment variable. What is the best practice to get that value into a properies file (java) ...
Nifle's user avatar
  • 113
2 votes
1 answer
114 views

Apex domain to point to an Openshift ROSA application

We have a ROSA (Openshift on AWS) cluster, working fine with all kinds of domains except one, which happens to be an apex of the Hosting Zone in our Route53. So, say, the domain is example.com and it'...
ptrk's user avatar
  • 151
4 votes
1 answer
203 views

How to get a list scaled down pods in OpenShift?

Besides making a list of pods and list of deployments and then comparing, is there a way in the cli and/or OCP console to list the scaled down pods?
JGS's user avatar
  • 43
1 vote
1 answer
110 views

Scheduling a build using Kubernetes

The doc https://docs.openshift.com/container-platform/3.9/dev_guide/cron_jobs.html provides details of creating a cron job. To start a scheduled task that executes a build every 10 mins I use the ...
blue-sky's user avatar
  • 111
1 vote
1 answer
446 views

Fluentd unable to read logs from all namespaces

I have a cluster installed on Openshift and used the Cluster Logging Operator and Elasticsearch Operator to enable logging on the cluster. On Kibana, I am only able to see the logs from certain ...
Vini's user avatar
  • 121
0 votes
0 answers
543 views

Auto start and stop of deployments and pods

I want to schedule the deployments according to different timings. Is it possible to configure in the deployment.yml files that the deployment should be scaled to 0 at some hour and scaled up again at ...
Vini's user avatar
  • 121
1 vote
4 answers
2k views

Passing replicas number into container

I have a statefulset with an init container which creates openshift objects upon scaling. I need to pass it the replicas number from the same yaml definition. However the replicas filed doesn't seem ...
flowerProgrammer's user avatar
5 votes
2 answers
4k views

Create service per pod in statefulset

I have a statefulset app which can have any number of replicas. The pods produced should be able to communicate to external comptures. Those pods must act statefully when clients communicate with them....
flowerProgrammer's user avatar
1 vote
1 answer
356 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 ...
Josiah's user avatar
  • 363
3 votes
2 answers
3k 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 ...
caxcaxcoatl's user avatar
1 vote
1 answer
455 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 - ...
caxcaxcoatl's user avatar
1 vote
1 answer
5k 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?
Vishwanath's user avatar
1 vote
1 answer
202 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 ...
onknows's user avatar
  • 111
0 votes
1 answer
161 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 ...
030's user avatar
  • 13.2k
1 vote
1 answer
1k 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?
030's user avatar
  • 13.2k
1 vote
1 answer
357 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 ...
anVzdGFub3RoZXJodW1hbg's user avatar
1 vote
1 answer
310 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 ...
Radiant's user avatar
  • 121
3 votes
1 answer
11k 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 (...
user16571's user avatar
1 vote
1 answer
763 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 ...
slm's user avatar
  • 232
4 votes
1 answer
4k 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 │   │   │ ...
Alexey Vinogradov's user avatar
1 vote
1 answer
156 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 ...
simbo1905's user avatar
  • 1,172
2 votes
2 answers
664 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 ...
Sudheej's user avatar
  • 123
2 votes
1 answer
5k 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.
AnoE's user avatar
  • 4,886
1 vote
1 answer
516 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.
Ishant Gaurav's user avatar
2 votes
1 answer
87 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. ...
ptrk's user avatar
  • 151
2 votes
0 answers
37 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 ...
Bendy's user avatar
  • 121
1 vote
1 answer
110 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 ...
DemiSheep's user avatar
  • 163
2 votes
1 answer
80 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 ...
DemiSheep's user avatar
  • 163
2 votes
1 answer
2k 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 ...
AnoE's user avatar
  • 4,886
6 votes
2 answers
913 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 ...
AnoE's user avatar
  • 4,886