Questions tagged [openshift]

This tag doesn't currently have an excerpt. Help contribute by writing one

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

How can I extract certain qualified nodes from a yaml document and add to a new document using PyYAML?

I'm new with both Python and YAML (great with Javascript and JSON) and I need to construct a subset of a YAML file. In particular, I want to generate a .yaml file that can be used to create a new ...
svenyonson's user avatar
  • 1,835
0 votes
0 answers
7 views

Why does my nginx pod crash when using openshift code ready containers (crc)

I installed crc, and immediatly after creating a cluster, i run the following command: oc new-app nginx When i check the status of my pods, it says it crashed. If I look into the pod logs, it has ...
Nathan Wilcox's user avatar
0 votes
0 answers
11 views

The PVC is stuck in a pending state in the Azure OpenShift cluster

After provisioning an OpenShift cluster using the steps outlined in https://learn.microsoft.com/en-us/azure/openshift/tutorial-create-cluster and successfully deploying my application, I attempted to ...
Naren's user avatar
  • 1
0 votes
0 answers
24 views

Fluent bit on OpenShift 4 - can't read from /var/log/

I am experiencing an issue with the installation of FluentBit as a DaemonSet on my Openshift 4.13 cluster. The scenario is the following one. We are using the official helm chart from Fluentbit, which ...
LucaFerraro's user avatar
-3 votes
0 answers
33 views

OpenShift Local error: operation failed: Unable to find a satisfying virtiofsd

I successfully installed OpenShift Local (OSL) on a Ubuntu 23.10 laptop using these instructions. $ crc setup INFO Using bundle path /home/user0/.crc/cache/crc_libvirt_4.14.1_amd64.crcbundle INFO ...
jtalics's user avatar
  • 87
1 vote
0 answers
13 views

Using Multiple Spring Cloud Gateway Pods on OpenShift

We have a Spring Cloud Gateway project that is made of multiple smaller projects. We are using Netflix Eureka Server, Spring Cloud Gateway, and multiple microservices. We balance our load on all ...
Ahmed Tawila's user avatar
  • 1,018
1 vote
0 answers
16 views

RejectedExecutionException when running Kafka + Netty in OpenShift

We're developing a stateful Kafka application in Kotlin designed to consume records from two topics and produce records to another topic. The application runs as a statefulset in OpenShift with three ...
HaavardG's user avatar
  • 221
-1 votes
0 answers
41 views

AzureDevops OpenShift Service Connection Persisting Connection

We use OpenShift extension in Azure devops to process YAML and release services to OpenSHift Cluster. Our Agent Pool has 3 agents. We have 4 Clusters, each having a unique service connection defined. ...
user804401's user avatar
  • 1,996
0 votes
0 answers
23 views

Minishift Start Failure: Error - Timed Out Waiting for the Condition

I'm encountering an issue while trying to start Minishift, and I would appreciate any guidance or insights to resolve it. Error Details: Starting Minishift FAIL, Error: timed out waiting for the ...
Hamza Gbada's user avatar
0 votes
1 answer
19 views

I need a api endpoint to get the logs of a pod and parameters that needs to be passed to that endpoint in openshift

i have tried this endpoint-------->https://url/api/v1/namespace/pods/podname/log with bearer token (that i got from login command in OpenShift )in postman but it is returning 404 error I need run ...
Sahithi Thummuru's user avatar
0 votes
0 answers
17 views

how to patch config map in openshift cluster to add the root.pem cert in the existing configmap. Goal is to add the cert in existing cm

how to patch config map in openshift cluster to add the root.pem cert in the existing configmap. Goal is to add the cert in existing cm in below format apiVersion: v1 data: ca-bundle.crt: | -----BEGIN ...
Yasir's user avatar
  • 1
0 votes
1 answer
27 views

Performing shutdown actions when the pod is the last in a cluster

TL;DR How can I tell that the Spring Boot application that is currently receiving a graceful termination in a Kubernetes (Openshift) environment is the last surviving pod in a clustered application in ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
1 vote
0 answers
30 views

Add health.html check endpoint to Angular application

I need to add healthcheck endpoint to my angular application using health.html, which should respond with HTTP 200 and the 'Healthy' string. I already defined port and path regarding readinessProbe, ...
Cpui's user avatar
  • 23
1 vote
0 answers
21 views

How to run Kafka Streams with Ktor

I'm deploying a Kafka Streams application to OpenShift, and I'm using Ktor + Netty as the server framework. I'm facing a problem where it seems like the Netty server (or Ktor application) blocks the ...
hermanjakobsen's user avatar
0 votes
0 answers
8 views

Unable to connect to Mongo with NestJS + Mongoose on Openshift

I’m trying to deploy a NestJS service that connects to a Mongo instance using Mongoose. I’m able to get the connection from VS Code, from a container hosted on my machine and from a devcontainer, but ...
Yanosh's user avatar
  • 368
0 votes
0 answers
21 views

ArgoCD ignoreDifferences not working for openshift machinesets with kyverno mutation

The machineSet im deploying has the keyword CLUSTERID injected in several places of the manifest. Kyverno will mutate each instance of the word for the actual cluster name. if i deploy it "...
nsalfos's user avatar
  • 23
1 vote
2 answers
64 views

Getting the name of the pod where the code is running

I am trying to get the name of the pod from which response is coming, instead of getting the name of the pod, I am getting the name of the worker node in which the pod is present. I have also included ...
anoop kothapally's user avatar
0 votes
0 answers
37 views

OpenShift Base64Decode issues

I'm facing this weird issue where the files I added to OpenShift secret and mounted on a volume gets corrupted or base64decoded wrong and doesn't work. Did anyone ever encounter this kind of issue? ...
Mantas Kazlauskas's user avatar
0 votes
1 answer
34 views

Name or service not known when Java Application call an external hostname define in openshift

My Java application needs to call another application with specific URL construct with specific format (ex : aaa.bbb.my-other-application.com). On OpenShift where my java application is deployed and ...
Broshet's user avatar
  • 137
0 votes
1 answer
117 views

Deploying next.js to openshift using nginx / docker [closed]

I'm getting an nginx 403 forbidden when deploying to openshift using docker and nginx when using default next.js export type. If I do next.config.js output: 'export, I get the website, but run into a ...
Before The Empire's user avatar
0 votes
0 answers
13 views

How to access /tmp/contrast.log file in openshift?

Integrating Contrast security in deployment . In the openshift website under pod > Logs, it says: "Contrast not enabled. Check log for details - /tmp/contrast.log" Where I can find this /...
IpU's user avatar
  • 11
0 votes
0 answers
16 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 ...
Zhao Li's user avatar
  • 5,036
1 vote
1 answer
136 views

Next.js static chunks 503 service unavailable issues when refreshing pages. Intermittent

Working in a static export next.js website with the following next config. Edit: it looks like the 503s are nginx 503s related to serving the files. I can post nginx config as needed. const nextConfig ...
Before The Empire's user avatar
0 votes
0 answers
30 views

Helm Chart to copy content to emptyDir

I am using helm chart for deployment in openshift and I have different stages for deployment on different environment. I want to upload a .js file based on the container during the helm install/...
prmdpsn56's user avatar
0 votes
0 answers
24 views

application restart multiple times on openshift pod and no error logs

Trying to deploy my application after upgrading springboot 2.7.13 / spring 5.4/junit 5/gradle 7.2 & tomcat 9.81, but the openshift pod is restarting on loop, there are no error specific to the pod ...
KVL's user avatar
  • 95
0 votes
1 answer
43 views

Spring doesn't get env variable from Openshift

I have Spring Boot Application that is automatically deployed to Openshift when I commit some change to Git. I need to externalize the datasource config. I'm trying to use envonriment variables as ...
santhiago017's user avatar
1 vote
1 answer
67 views

Dockerfile permission denied error (Streamlit / OpenShift)

I used this template Dockerfile from https://docs.streamlit.io/knowledge-base/tutorials/deploy/kubernetes to create a container. The build runs through and is passed, but the container/pod shows an ...
teq508's user avatar
  • 51
0 votes
1 answer
23 views

Openshift S2I not overriding scripts in the image after build

I am currently using s2i v1.3.9-dirty on my MAC to build image of my Java Application. I want to override the builder image's scripts. Thus, I have created .s2i/bin directory inside my local ...
raghav's user avatar
  • 351
0 votes
1 answer
47 views

Problems upgrading Postgresql in Gitlab from PG12 to PG13

I am currently trying to update gitlab with Helm on an Openshift 4.11 from 15.11.13 to 16.1.5 and need to upgrade my Postresql database too. Unfortunately its running into a problem. gitlab-studio-...
overstacker258's user avatar
0 votes
0 answers
21 views

Unable to pass environment variables within hotrod-client.properties in OpenShift

I have an application that is deployed in Redhat Openshift. The application also uses hotrod client to connect to RedHata Data Grid in Openshift. I have hotrod-client.properties in my application ...
Mishal Ahmed's user avatar
0 votes
2 answers
23 views

Add internal webhook on Openshift when creating a new project or namespace

I'm not talking about creating a webhook from git/gitlab/argocd, what I want is when Openshift will create a new-project, it will call a webhook (or script or procedure), so it's execute only once. ...
uniwinux's user avatar
0 votes
0 answers
22 views

Keycloak as Docker image stuck in admin console Openshift

I create a Keycloak docker image and deploy it in Openshift as image container. It stucks in admin UI keep facing 403 forbidden from login-status-iframe endpoint. This is my keycloak.conf: http-...
b0w92's user avatar
  • 65
0 votes
0 answers
19 views

2 Pods picking up same database row with event triggers

Same Spring boot application is running on 2 pods. Application has scheduler running with a cron job and picking up data from database ( JDBC Connection - JPA) . Both the pods are fetching same row ...
arpit aggarwal's user avatar
-2 votes
0 answers
48 views

Upgrade podman version in RHEL 8

I currently have 4.4.1 version installed and I want to upgrade it to 4.6.0 and the version of RHEL is 8.6. I have searched but did not find useful articles regarding this. Any help is appreciated
inavis's user avatar
  • 15
1 vote
0 answers
63 views

Python 3.10 on openshift with fips mode got error on pandarallel

run on docker with rhel 8 on openshift without root user this is the information about the OS that the docker is running NAME="Red Hat Enterprise Linux" VERSION="8.8 (Ootpa)" ID=&...
Omry Atia's user avatar
0 votes
2 answers
65 views

Helm template isn't outuput expected value in ConfigMap

I have the following template in config_map.yaml and helm values file. In the cm template I have the following: "VARKEY": {{.Values.VARKEY}} In the values file I have the following: "...
SeeMo's user avatar
  • 1
0 votes
0 answers
48 views

Velero- Restore partially fails for a specific namespace

so i am encountering the following issue, I want to backup and restore a specific namespace (demo) which i have on an openshift cluster. The backup is completed successfully but when i am trying to ...
Loopinfility's user avatar
0 votes
0 answers
15 views

Pact Broker pod won't start on OpenShift: bundler: failed to load command: puma `Integer': invalid value for Integer

I've installed pactfoundation/pact-broker image from our nexus on OpenShift. The pod stays in CrashLoopBackOff status with this error in the pod log: bundler: failed to load command: puma (/...
Cagin Uludamar's user avatar
1 vote
0 answers
24 views

Openshift Webhook Authenticator for External cluster Authentication (webhookTokenAuthenticator)

Im trying to setup webhook authenticator on Openshift. I was able to setup everything correctly on Kubernetes cluster - using --authentication-token-webhook-config-file=/etc/kubernetes/manifests/...
vijeth.ag's user avatar
  • 525
1 vote
1 answer
34 views

Openshift SecurityContextConstraints to access Host /proc/ dir

i am new to Openshift, i am deploying an daemonset, which creates a pod with one container in each node. i want to access respective nodes /proc/ directory from my pod. I have achieved it with pods ...
Kavin Kumar's user avatar
0 votes
0 answers
34 views

Is there any way to collect user specified audit logs of grafana (using grafana free version), loki and prometheus within openshift k8s cluster

I am working on a issue - Grafana audit log collection and publish . In this we need to get user specified audit logs . Is there anyway to do this . We are using (grafana free version) Since we are ...
Poojitha 's user avatar
0 votes
0 answers
60 views

SRVE0255E: A WebGroup/Virtual Host to handle /<context-name> has not been defined, when deployed on OpenShift

I have deployed WebSphere Traditional on RedHat OpenShift but I'm unable to get the admin console and my application as well. I could see that the server is running inside the pod. Attaching the yaml ...
jeevan08's user avatar
0 votes
0 answers
64 views

Monitor OpenShift Cluster and Applications using Managed Service for Prometheus

We have OpenShift cluster running on GCE instances which hosts various Applications and Middleware components i.e. Elasticsearch, Kafka, keyCloak, Micro Services (Java and Python based) and Camunda. ...
RAJ SINGH's user avatar
1 vote
1 answer
89 views

How to find the Openshift Cluster API address using rest api

how to find the the cluster api address using rest api. Like cluster ID can be collected from /apis/config.openshift.io/v1/clusterversions. thanks in advance
Kavin Kumar's user avatar
1 vote
0 answers
70 views

Delay in thread allocation with ExecutorService

We have been noticing intermittent latency issues when there is a burst of traffic (~60-80 tps) for one of the flows within our application. In each occurrence of the increased response time, it has ...
Mohit Agarwal's user avatar
0 votes
1 answer
30 views

cannot delete unknown replicaset

all: I got the following error when trying to delete an unknow replicaset. I asked my team and nobody claimed the ownership of this rs so i decided to delete it. but got this error. ➜ ~ oc get rs ...
condescendent's user avatar
0 votes
1 answer
99 views

In OpenShift how can we do URL rewriting for external requests

I tried to find information in the documentation of OpenShift, but could not discover how to use an OpenShift Route to perform URL rewriting. Do routes allow you to perform reverse-proxy like ...
jeevan08's user avatar
0 votes
0 answers
24 views

Hi All, Need your help in setting up Jenkins Job for housekeeping PV logs from OpenShift every 7 days

I'm trying below command to achieve the housekeeping job but it does not worked oc rsh $(oc get pods --field-selector=status.phase=Running -o custom-columns=:metadata.name | head -n 1) find /path/to/...
Pratik Purwar's user avatar
0 votes
1 answer
100 views

How to see Openshift total available resources

I would like to see total available resources for namespace on openshift. I can see (and calculate) requested and limits for my pods, but how to see how much in total is available for specific ...
Pistol's user avatar
  • 1
0 votes
0 answers
41 views

OpenShift Kafka brokers taking a long time to reboot

We have a Kafka cluster on OpenShift and a restart of a broker is taking quite a long time (~10 mins). We tried increasing the number of brokers from 8 to 10 as well as increasing the memory per ...
Mr. Discuss's user avatar

1
2 3 4 5
154