Questions tagged [openshift]
The openshift tag has no usage guidance.
36
questions
0
votes
0
answers
3
views
Does Tekton Triggers support HTTP GET requests?
Does anyone know if Tekton event listeners and triggers work with HTTP GET requests?
Going off of this guide: https://tekton.dev/docs/getting-started/triggers/
I tried to create a binding that doesn't ...
0
votes
0
answers
23
views
How to configure a prometheus installation of openshift to include the labels of node role in the exporter?
We want to alert based on cpu requests only on worker nodes
namespace_cpu:kube_pod_container_resource_requests:sum{kubernetes_node_role=~"worker"}
gives no datapoints and
namespace_cpu:...
1
vote
0
answers
36
views
Opentelemetry-operator running as root on Openshift/Kubernetes
I need this opentelemetry-operator to run as non-root on the /,
https://github.com/open-telemetry/opentelemetry-operator/blob/main/autoinstrumentation/java/Dockerfile
I need to change the permission ...
0
votes
0
answers
3k
views
runc create failed: unable to start container process: exec: no such file or directory
I am trying to deploy a containerized webapp on Openshift by a helm chart. When I deploy the app I get the following error in the pod logs -
Events:
Type Reason Age ...
0
votes
0
answers
15
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
100
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
150
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?
1
vote
0
answers
37
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
99
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
353
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
386
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
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 ...
3
votes
2
answers
3k
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
250
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 ...
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 ...
1
vote
1
answer
449
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
4k
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
191
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
135
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
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?
1
vote
1
answer
348
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
293
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
9k
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
671
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
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
│ │ │ ...
1
vote
0
answers
35
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
138
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
644
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
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.
1
vote
1
answer
509
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
82
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
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 ...
1
vote
1
answer
105
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
71
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
902
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 ...