7,742 questions
0
votes
0
answers
6
views
User projects metrics not visible in OpenShift Prometheus
I have created own project in openshift 4.13 cluster. I tried to monitor my project metrics but unable to do that.
Followed below steps:
Enabled user monitoring referred by https://docs.openshift.com/...
-1
votes
0
answers
12
views
SolrCloud in an enterprise Openshift environment
Preface:
I work in an international corporation with over 400,000 employees, 10,000 of them in IT alone. Needless to say, in such an environment, many things are highly structured and many ...
0
votes
0
answers
35
views
Azure function App not listing the function
I have below function which i am trying to deploy from azure devops cd pipeline
import os
import json
import logging
import azure.functions as func
from datetime import datetime, timedelta
from typing ...
0
votes
0
answers
13
views
connexion datasynapse openshift
I have an openshift cluster, and API deployed in openshift, the api should call datasynapse engine.
when I set DSDirectDataTransfer to false, the communication between the pod and datasynapse work ...
0
votes
0
answers
10
views
Openshift Alertmanager config for Slack channel
we are starting to use openshift alertmanager so that it sends us a report based on our config to slack channel. Right now we are using this config to send us a report
receivers:
- name: Default
...
0
votes
0
answers
15
views
No Mapping Rule matched - 3Scale
I am receiving 'No Mapping Rule matched' in my 3scale configuration, and i have no idea why.
In 3scale I have added the matching method as this:
POST
/one-time-password-sms/v0/send-code
In my API ...
0
votes
0
answers
15
views
How to do sparse-checkout in a buildConfig using OpenShift?
I have a mono-repo containing multiple projects.
I would like to prevent my build from having to download multiple MB just to throw them away, since Im only interested of building a single project. ...
0
votes
0
answers
28
views
RedHat DeveloperHub Error with integration with Microsoft Entra ID
Im configuring RHDH in CRC and in dev in my job
In my local, im facing this issue
Login failed; caused by Error: Sign in failed: User not found in the RHDH software catalog. Verify that users/groups ...
0
votes
0
answers
22
views
Which port is used through OC CLI in Openshift?
I need to ask for firewall rule to access to openshift via OC CLI. I guess destination will be worker nodes IPs. Which port I need to open?
0
votes
0
answers
43
views
Can we pass tls certificate secrets in helm template dynamically?
I am using a manifest driven deployment strategy where I run helm template command that generates the desired manifest for the application deployment.
As part of my deployment I have route.yaml which ...
-1
votes
0
answers
18
views
Access Statefulsets spesific pod externally on openshift
How to access spesific statefulsets pods by its unique names outside of openshift?
Please provide scalable solution.
I thought about 2 ways but I hope there is better and easier solution.
Path-based ...
0
votes
0
answers
30
views
Identify the openshift pod/deployment from which an http request came to another pod
I have a service that is deployed in openshift.
There is a specific http request that is only allowed to come from one specific other service, also deployed in openshift.
When I get the http request, ...
1
vote
0
answers
30
views
NuGet package validation during build
I'm trying to build .NET core 8 application with option DOTNET_NUGET_SIGNATURE_VERIFICATION set to true. I'm building in OpenShift S2I and using private NuGet repo (Artifactory).
If ...
0
votes
1
answer
15
views
How to get the IQN of a Storage Device for ISCI Configuration for an openshift cluster
I have a small baremetal openshift cluster and want to use ISCSI for creating and using PVs. As far as the documentation went i have activated and set up ISCSI on the worker nodes and configured it ...
0
votes
0
answers
18
views
Getting "Authentication failed" error for API call with USER_KEY on 3Scale
I have successfully created an API service on the OpenShift console, and it is functioning as expected. However, when I integrate it with 3Scale, I encounter a 403 Authentication failed error.
Here is ...
1
vote
1
answer
82
views
Loggers are not printing on OpenShift Console after deployment
I'm using Log4j - 2.22.1. version and wildfly- 31.0.1.Final
Loggers are printing in local But, while deploying it on openshift the loggers are not printing after the ear is deployed and i checked the ...
1
vote
1
answer
26
views
Go App deployment error on redhat openshift. CreateContainerError
status:
containerStatuses:
- name: go-drinkapp
state:
waiting:
reason: CreateContainerError
message: |
container create failed: time="2024-11-...
-1
votes
2
answers
70
views
How to pull source codes from TFS for building images in openshift pipeline
I have created one openshift pipeline as follows:
- name: fetch-repository
taskRef:
kind: ClusterTask
name: git-clone
params:
- name: URL
value: $(params.git-url)
- name: ...
0
votes
0
answers
29
views
Getting Error when starting Code ready start "ssh: handshake failed: read tcp 127.0.0.1:41804->127.0.0.1:2222: read: connection reset by peer" i
Host OS
NAME="Fedora Linux"
VERSION="40 (Server Edition)"
** crc version**
CRC version: 2.43.0+268795
OpenShift version: 4.17.1
MicroShift version: 4.17.1
virsh --version
Virsh ...
0
votes
0
answers
49
views
openshift db2 ssl remote database
I have a db2 instance in openshift. I can attach to this instance from my laptop with a ssl route.
I have the following issue when I want to create a remote database (from my laptop to openshift).
The ...
0
votes
0
answers
27
views
buildConfig fails with "error: build error: no FROM image in Dockerfile"
I'm new to Openshift and trying to build a simple docker image within OpenShift using buildConfig with inline Dockerfile. Here is the snippet from the buildConfig:
spec:
serviceAccount: builder
...
0
votes
0
answers
38
views
no accessMode defined DV nor on StorageProfile for my-storageclass StorageClass
I am creating a Plans for virtualization on my OKD with vCenter, I have created a StorageClass and a PersitentVolume before create migration plan. But the data volume return no accessMode defined DV ...
0
votes
0
answers
78
views
Spring boot @ConfigurationProperties not binding every property
I'm trying to figure out why some properties are not bound using @ConfigurationProperties.
I have a project using an external library which uses spring-kafka to set up a Kafka consumer.
This library ...
0
votes
0
answers
25
views
Openshift use Custom Maven setting file for springboot project
I'm trying to import springboot project from git. And try to update the buildConfig to have custom maven setting point to Nexus repo with credentials.
tried to config MAVEN_MIRROR_URL in buildConfig, ...
0
votes
0
answers
43
views
How can I give my rocker/shiny base image the permissions it requires on OpenShift?
I am having some issues deploying shiny apps on our OpenShift cluster. In order to find a minimal non-working example, I tried deploying the base image directly from its URL: docker.io/rocker/shiny:...
0
votes
1
answer
59
views
cURL to Openshift console to get access token (using OpenID Connect)
I am trying to get a username or access token of the user currently logged into OpenShift (here is a similar question) from the pod Terminal. I need to log all the commands that are executed in the ...
-3
votes
1
answer
181
views
not able to start Redhat CRC [closed]
I am not able to start the CRC container environment on my local machine. please help. below are the logs
$ crc start
INFO Using bundle path /home/ravi/.crc/cache/crc_libvirt_4.17.0_amd64.crcbundle
...
0
votes
0
answers
37
views
configure custom port in router for Istio Ingress gateway
I am trying to expose the custom-port 27190 in openshift service mesh. I have added the port in SMCP & updated the gateway to listen on 27190 port.
Please find my config:
(base) [root@m1305001 ~]# ...
1
vote
0
answers
53
views
OpenShift eventlistener not triggered by GitHub webhook
I'm trying to learn OpenShift from RedHat. Unfortunately I can't get the pipeline to run when I push changes to my repository in GitHub.
My pipeline is quite simple. It clones my git repository and ...
0
votes
1
answer
77
views
Azure Speech SDK node.js fails to verify certificate
I have an azure container running in openshift in premise cluster. the routes set for example is
https://speech.company.com
Now I have my node.js application hosted in same openshift (and also trying ...
0
votes
1
answer
36
views
Configuring active passive hub clusters
I'm trying to configure 2 of my openshift hub (acm) clusters to work in active passive mode.
My clusters are installed on-premis. (Servers inside my company).
I started with this documentation. From ...
0
votes
0
answers
32
views
Using NetworkPolicy with Maistra Istio
Maistra Istio creates the NetworkPolicy istio-mesh-basic in all istio-enabled namespaces. It looks like this:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
annotations:
...
...
0
votes
1
answer
116
views
How can I deploy PostgreSQL using the Stolon operator on OpenShift?
Please provide detailed steps and explanations for each configuration file and command. Explanation of stolon operator's working would also be helpful along with code reference.
I have followed the ...
0
votes
1
answer
144
views
ArgoCD Vault Plugin + Kustomize
I am using ArgoCD and Kustomize for my projects in a git repo.
I have this project based on kustomize, and I would like to have my secrets inside the project to be "read" by argocd-vault-...
1
vote
0
answers
108
views
CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. How to config the tornado server
I've been around this bug for a while and any help will be appreciated.
Im trying to deploy a panel/bokeh application on Openshift/K8s, The application seems to work correctly, however the browser ...
0
votes
0
answers
184
views
MSIS7012 : The same client browser session has made '6' requests in the last '1' seconds. Contact your administrator for details
We have a .Net application which we implemented ADFS WSFED init. Its working fine in local but when we deployed it to OpenShift we are facing this error.
I have added WtrealM,Wreply(Tried commenting ...
0
votes
1
answer
126
views
Using Tokens from an Azure Container Registry as pull-secrets in Redhat Openshift
I don't seem to be able to generate a usable secret with Tokens in ACR. The method outlined here:
https://learn.microsoft.com/en-us/azure/openshift/howto-use-acr-with-aro
only mentions the Access keys ...
0
votes
1
answer
18
views
Openshift : Retrieve Pod Name while deploying to update the same in App Dynamics for Metrics
I am trying to deploy my app in Openshift.
Let's say service name : abc
In openshift, pod gets deployed as "abc-RandomString1-RandomString2"
Now App Dynamics agent installation is done ...
0
votes
1
answer
29
views
Add application users to DataGrid 8.4 via Secrets automagically deployed
Context
I am deploying a Spring Boot 3 application that heavily relies on the @Cacheable annotation and must use Data Grid 8.4 (Infinispan 14) as distributed cache to accommodate Spring clustering.
...
0
votes
1
answer
148
views
How to exclude the configMap content from sync
The reference framework is Openshift/ArgoCD. I have an application defined in ArgoCD that, among other resources, contains a configMap that serves for certificate injection into the namespace:
...
0
votes
0
answers
33
views
How to login to db2u pod using rsh and execute db2 commands via shell script?
I have a script check.sh, which log in to db2u pod(oc rsh db2u-pod /bin/bash), then how to execute below such commands in a script, now my scripts ends after log in, cannot execute below commands
db2 ...
0
votes
1
answer
153
views
Connect to an external database over HTTP Proxy with .NET Core
My requirement is to connect to an external SQL Server database from my organization network. My .NET Core application is hosted in Openshift Container and it has to go through an internal Bluecoat ...
0
votes
1
answer
47
views
OpenShift pipeline - How to allow only one Pipeline run at a time?
Hi I am new to OpenShift and from what I can see if I go to a Pipeline and select start twice, immediately two PipelineRuns will run in parallel. This will cause a error because both run's pods will ...
0
votes
1
answer
85
views
Can we attach a init-container with strimzi kafka container? [closed]
Can we attach a init-container with strimzi kafka connect container? I want to copy some jars from another image (docker/my-sdk:9.1) to strimzi kafka connect container at runtime using init-container
...
0
votes
1
answer
48
views
helm template not working with tls string formatted key
I am working on helm template with some tls certificate, I am not able to create proper formatted .yml file
Details as below,
Values.yml is different for each environment so key string also change, so ...
0
votes
1
answer
70
views
PostgreSQL `aws_s3` Extension: SSL Certificate Verification Failed with Self-Signed Certificate
I'm attempting to import data into a PostgreSQL table from a CSV file stored in a NooBaa S3 bucket. I'm using the aws_s3 extension in PostgreSQL for this task. However, I'm encountering an SSL ...
-1
votes
1
answer
40
views
Airflow Scheduler Hanging When Run with Remote Database
I am Using Openshift to deploy decoupled units of Apache Airflow (version 2.8.3) each Scheduler and Webserver is running in separate deployments, in terms of the meta database I am using MySQL 8.3 ...
0
votes
0
answers
50
views
Store data files in Persistent Volume in Openshift ROSA
I have an API that accesses some data files ( size around 12 MB altogether) during its runtime. I am deploying this API into OpenShift ROSA. I need to store these files somewhere in a persistent ...
0
votes
1
answer
80
views
Permission Denied error in starting container
I’m encountering a permission denied error in OpenShift container where my Argo CD pod is failing to start. The error message indicates that the container failed due to permission issues. How can I ...
0
votes
0
answers
52
views
UID auto adjustment in Bitnami containers
I wonder how Bitnami ccreated containers able to change the ownership of directories in containers to always match Security Context Constraint in OpenShift environment. For example each Openshift ...