Questions tagged [openshift]
The openshift tag has no usage guidance.
37
questions
0
votes
0
answers
12
views
Missing values: gaps during deployments
Some context:
I have little experience with ci/CD and manage a fast paced growing application since it saw the light of the day for the first time. It is composed by several microservices at different ...
1
vote
1
answer
22
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'...
4
votes
1
answer
56
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?
0
votes
0
answers
31
views
Openshift: Worker nodes /dev/mapper/docker_data filling up
I have a openshift cluster, my nodes move to a not ready state, and i always get the alert that my filesystem is filling up /dev/mapper/docker_data. how can i clean up the space in the worker nodes?
I ...
0
votes
0
answers
17
views
Manually delete OpenShift cluster; terraform files missing
I have an IPI installed OpenShift cluster in AWS, but I have somehow lost the terraform files associated with that install. I can't run openshift-install destroy cluster without them.
How would I best ...
0
votes
0
answers
7
views
How do you set up an OpenShift build config so that triggered builds are deleted automatically when completed?
So I create OpenShift build config, then run a build. And it completes successfully.
How do I set it up so that completed builds are automatically deleted? Because after I run several builds, they ...
0
votes
0
answers
328
views
Error: EACCES: permission denied, open '/opt/app-root/src/.config/yarn'
I'm getting the below error when spinning up my node.js container, on my openshift cluster:
Error: EACCES: permission denied, open '/opt/app-root/src/.config/yarn'
at Object.openSync (fs.js:498:3)
at ...
0
votes
0
answers
9
views
Renewing and pushing certificates on Linux virtual machines and Openshift containers
We use Venafi application which renews the certificate on the Linux virtual machines(VMs), then we export the certificate's public key, send it to other teams who update their records. My work place(...
1
vote
0
answers
21
views
How do you find allowed HTTP methods in openshift deployment
In classical application deployment, one could query the web server with HTTP method "OPTIONS" to discover allowed HTTP methods
On an openshift application deployement, how could we get that ...
1
vote
1
answer
47
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 ...
1
vote
1
answer
120
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 ...
1
vote
0
answers
64
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 ...
1
vote
4
answers
519
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 ...
2
votes
1
answer
962
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....
1
vote
1
answer
96
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 ...
2
votes
2
answers
2k
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
1
answer
381
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 - ...
1
vote
1
answer
2k
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
1
answer
153
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
1
answer
93
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 ...
1
vote
1
answer
669
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
1
answer
284
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
1
answer
180
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 ...
3
votes
1
answer
4k
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
1
answer
427
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 ...
4
votes
1
answer
3k
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
0
answers
26
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
1
answer
99
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
2
answers
544
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
1
answer
4k
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
1
answer
481
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
1
answer
69
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
0
answers
34
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
1
answer
94
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
1
answer
64
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
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 ...
6
votes
2
answers
824
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 ...