Questions tagged [openshift]
OpenShift is a commercial enterprise-ready container platform built on top of Kubernetes which allows you to run containerized applications
7,732
questions
-1
votes
0
answers
7
views
nifi with openshift: pod restarting intermittently
I have nifi running in openshift, and observe that after some time of operation a dialog box pops up on nifi UI, containing following message, and pod restarts.
Application is not available The ...
0
votes
0
answers
6
views
var partition storage issue in openshift cluster
In my openshift cluster i have one bastion server, in which/var partition space is consumed 100% & when it reaches 100% it got it self available 2gb.how and why please explain the impact on ...
0
votes
0
answers
34
views
docker container poi excel generation throws java.lang.UnsatisfiedLinkError
Have async code to generate excel report using apache poi and at some line of code, below error is thrown, it dint give me more details on what line is causing the issue
@Configuration
@EnableAsync
...
0
votes
1
answer
16
views
Multi Pod Cloud Environment Spring Boot application change log level at runtime
I have an application used spring boot + log4j2 running on openshift more than 2 pods.
However, our logging configuration changing after sprint boot initalized i mean , reconfigure. So, i do not use ...
0
votes
0
answers
14
views
OpenShift REST API to trigger clusters upgrade in an effort to automate cluster upgrade process [closed]
Wondering if developers have experience in OpenShift cluster upgrade automation?
I'm looking at the automation feasibility to manage OpenShift clusters upgrade through REST API.
My OpenShift clusters ...
0
votes
0
answers
8
views
failed to get filesystem from image: error removing bin to make way for new symlink: unlinkat //bin/sh: permission denied
I'm trying to build a Docker image for my Spring Boot app using a CloudBees CI pipeline. Since I'm unable to use Docker due to permissions issues, I've decided to use Kaniko to build the image. ...
0
votes
0
answers
17
views
Kubernetes - oauth2-proxy - Keycloak OIDC - OAuth2CodeParser error - CODE_TO_TOKEN_ERROR code already used for userSession and client
I installed on Kubernetes (OpenShift) an application (application A) which is using OAuth authentication.
The authentication is done server-side - the backend application is making the handshake with ...
0
votes
1
answer
20
views
Is there a way to restart all running pods in a OpenShift cluster through the CLI?
I need to restart a bunch of pods at once and I need to do it through the CLI.
I've been looking through the OpenShift commands and documentation and haven't been able to find any commands that would ...
0
votes
0
answers
17
views
Issues with Crystal Report Runtime Installation in OpenShift Container Server
I'm having trouble installing the Crystal Report Runtime on OpenShift Container Server. I've tried a few methods, but I haven't been successful yet. I might need some help from someone who is familiar ...
0
votes
0
answers
11
views
Zeebe Brokers and Gateway communication on VM's and OpenShift architecture
My configuration is that Zeebe brokers are on VM’s and the Gateway and Operate are in the OpenShift k8s cluster.
I need to establish connection between my brokers and Gateway. Is it possible to do ...
0
votes
0
answers
23
views
Openshift Pipelines (Tekton) failing after upgrade [closed]
We have a number of Openshift pipelines which were running fine, that have started failing following a cluster upgrade from Openshift 4.12.23 to 4.12.54
The pipelines all give the following error:
...
0
votes
1
answer
15
views
How to correctly use the AND operator in Prometheus to join two queries?
I'm trying to combine two PromQL queries to create alerts and automations in our Openshift clusters, but I'm running into a problem when using the AND operator. The idea is to apply a taint when ...
0
votes
2
answers
31
views
Helm must override values yaml file
I have structure similar to the following example:
values.yaml
config:
value: "unset"
values-dev.yaml
config:
value: "development"
values-prod.yaml
config:
value: "...
0
votes
1
answer
21
views
OpenShift build error: couldn't find remote ref master
I have an OpenShift buildconfig that refers to a Git repository under bc.spec.source as follows:
git:
uri: ssh://openshift@my-server/my-repo
ref: master
When I clone the repository outside ...
0
votes
1
answer
21
views
Configuring restartPolicy for a container in a multi container pod
In my kubernetes yaml(in openshift env) I have defined two containers.
Also, spec section has restartPolicy set as Always.
spec:
restartPolicy: Always
I want one of the container to have ...
0
votes
0
answers
25
views
How come my git-clone task is failing in the OpenShift pipeline?
I am currently working on a project where I have to set up a pipeline and add tasks. I was able to add a cleanup task, a git-clone task, flake8 task, and a nose task and it was working perfectly fine ...
-1
votes
1
answer
26
views
May Kubernetes restart java container if java heap size exceeds allowed from -XX:MaxRAMPercentage
If I understand correctely -XX:MaxRAMPercentage sets the maximum java heap size for a JVM.
If I run JVM container in Kubernetes and have -XX:MaxRAMPercentage=60.0 with the following configuration:
...
0
votes
1
answer
10
views
OKD: After Creating Persistent Memory for a Cluster image registry not reachable
My Cluster Setup:
Baremetal
OKD 4.15
1 Bootstrap : Fedora CoreOS 4CPU 16 RAM 120 GIB Storage 192.168.4.x
3 Control : Fedora CoreOS 4CPU 16 RAM 120 GIB Storage 192.168.4.x
2 Compute : Fedora CoreOS ...
0
votes
0
answers
13
views
OpenShift Operators clash over InstallModeType
OpenShift V4.12, have four operators installed in namespace openshift-operators, however they clash over there required InstallModeType. When the default global operator-group within the namespace is ...
0
votes
0
answers
10
views
OpenShift Pods failing to be deleted when Job is deleted
On OpenShift V4.12 the cronjob 'collect-profiles' within the namespace 'openshift-operator-lifecycle-manager' starts a job every 15 minutes. The cronjob has a setting of
successfulJobsHistoryLimit: ...
-1
votes
1
answer
32
views
OpenShift Client Python - Extracting resource details
So I'm following the OpenShift Client Python docs and I can use a script I created to successfully list resources like pods, jobs, deployments etc.
I'm trying to understand how to extract some more ...
0
votes
0
answers
24
views
Red Hat OpenShift Local installation on Windows 11 fails with message "requires the Windows 10 Fall Creators Update (version 1709) or newer"
I'm being unable to install latest OpenShift Local in Windows 11 laptop.
I've administrator privileges in the machine.
Installer shows error:
"Red Hat OpenShift Local requires the Windows 10 Fall ...
0
votes
1
answer
37
views
How to check if a container image is signed in Openshift?
I have an openshift cluster. I have an image which I know is not signed. I want to check whether if an image is signed or not manually? Is there a command for this? I tried commands like these:
podman ...
0
votes
1
answer
30
views
Openshift nginx proxy_pass not redirecting from current host to another
This is my DockerFile
FROM docker-enterprise.net/developers-nginx/nginx1.22/rhel8/nginx-rhel8:latest
USER root
RUN mkdir /.ionicsecurity && \
chmod 775 /.ionicsecurity && \
...
1
vote
0
answers
54
views
Tekton, npm ci, and "npm ERR! EMFILE: too many open files, open '/root/.npm/_cacache/"
I'm using an incredibly simple pipeline to build my angular App. I run it on an openshift cluster.
these are the two tasks:
tasks:
- name: fetch-source
params:
- name: url
...
0
votes
0
answers
27
views
Why does openshift ingress not allow router annotations?
Small question for you.
I have just setup a dev openshift cluster in the cloud and I am trying to create an ingress yaml to define router settings. I basically just want to stop the default redirect ...
0
votes
0
answers
21
views
How to use Prometheus to gather custom metrics from multiple pods in Openshift
Right off the bat, my tech knowledge of OpenShift is pretty limited so please forgive any incorrect use of terminology here.
Let's say I have a site that is called MySite. We want to expose some ...
-1
votes
0
answers
36
views
UML representation of containerized services [duplicate]
Almost all diagrams illustrating service solutions on platforms like Kubernetes/OpenShift are not standardized in any way. As there is not much reference material available for UML modeling I would ...
0
votes
0
answers
16
views
Verify encryption of rest secrets [etcd] in Openshift v4
I got this instruction on how to encrypt at rest of Openshift 4 secrets.
https://docs.openshift.com/container-platform/4.14/security/encrypting-etcd.html
But there's no verification provided. Only ...
0
votes
0
answers
18
views
The [dot_product] similarity can only be used with unit-length vectors error when running container as non root
I have the following code (fragment):
# 6. index documents to Elasticsearch
kb = ElasticsearchStore(
es_connection=es,
index_name=index_name,
embedding=emb_func,
...
0
votes
1
answer
19
views
Using OpenShift template to conditionally include/exclude certain resources during apply
I am using Ansible to automate the oc process -f allresources.yaml | oc apply -f - command. Inside of allresources.yaml template, I have my routes, services, etc... I want to add an additional but ...
0
votes
0
answers
9
views
Permission denied When deploy Splash in OpenShift
I run Splash in Docker local it log like this :
2023-12-05 09:16:41+0000 [-] Log opened.
2023-12-05 09:16:41.584101 [-] Xvfb is started: ['Xvfb', ':657831265', '-screen', '0', '1024x768x24', '-...
0
votes
0
answers
35
views
Pulumi and Golang to apply a subscription manifest onto a OpenShift Cluster
I am a newbie in using Pulumi. I am trying to use module github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/operators and when I do go get github.com/pulumi/pulumi-kubernetes/sdk/v4/go/...
0
votes
1
answer
23
views
Can't login on deployed APS app, problem with authenticating
I have some trouble with the logging in to my APS Hubs Browser app after I have deployed it to OpenShift.
What I see when I try the app: type URL, get to the home screen, click login, we have SSO so ...
0
votes
1
answer
31
views
How do I configure multi-tenant Kafka-backed Knative channels in an Openshift?
Goal:
We want to support multiple environments in the same Openshift. We use the service mesh control plan and namespaces defined in the member rolls, as the boundaries for each environment. Each ...
0
votes
1
answer
28
views
Pipeline is skipping task when it shouldn't?
I have an Openshift/Tekton pipeline. I have a task that outputs a true/false passed result if certain tests pass:
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: test-repo
spec:
results:
...
0
votes
0
answers
24
views
tagging an image with two tags in docker hub and openshift
I'm trying to tag an image with the latest tag and a version tag in my ci, I'm using the following commands:
oc new-build . --name=$app-$version_tag --strategy=docker --to=$registry/$organization/$...
0
votes
2
answers
34
views
Openshift TLS edge termination not working with Payara server
Problem
I have a jsf web application deployed in Payara community edition server (v5.2020.6).
I have this application deployed in azure openshift by importing a deployment config yaml inside an ...
0
votes
1
answer
135
views
API call for Openshift (e.g. 4.14) to get token using Postman
I am trying to get via API call token for using it in Openshift so I can be authenticated/authorized and execute more API calls
a) As URL I used "https://oauth-openshift.apps.domain/oauth/...
-1
votes
1
answer
27
views
ImagePullBackOff deploying application in OpenShift using Helm Chart
I have a Remix App which is running successfully using Docker. Then, using OpenShift and HelmChart, I'd like to deploy the application in OpenShift. However, I am getting the error ImagePullBackOff ...
1
vote
1
answer
51
views
Select Python interpreter from remote OpenShift
I am looking for a way to connect to OpenShift from PyCharm Pro. I can select SSH, but I shouldn't configure ssh on my container. I can only use oc rsh.
Is there a way to run remote Python from ...
0
votes
1
answer
45
views
Deploying an Angular Application to OpenShift via GitLab [closed]
My company utilizes OpenShift for application deployment. As per guidance from my senior, the recommended approach involves utilizing GitLab as an intermediate step. The process entails creating and ...
0
votes
0
answers
43
views
.NET core 7 windows authentication exception when deployed
I have an .NET core application that uses windows authentication. Locally it works fine. However when application is deployed to an openshift platform I get this error after trying to sign in.
An ...
0
votes
0
answers
23
views
FileNet domain creation was successful, but still not able to find the directory configuration after login to FileNet ACCE
Issue:
FileNet domain creation was successful, but still not able to find the directory configuration after login to FileNet ACCE through default admin account. This admin account was created/used ...
0
votes
0
answers
25
views
Openshift - Impala Connection issue
I have written Python App to connect to Impala cluster using Impyla libraries and it was able to extract the data locally. When I deploy the same code in OCP I get the error as:
File "/usr/lib64/...
0
votes
0
answers
57
views
Handling filesystem permission errors with mounted volumes in openshift 4
We have little experience with Openshift, and we have a question/problem with permissions on mounted persistent volume that we would appreciate people's input with.
Please note that all of what we ...
0
votes
0
answers
26
views
Long Execution Time for dotnet restore in OpenShift Build Pipeline
During our build pipeline execution on OpenShift, we've encountered a significant delay specifically with the dotnet restore command in the Dockerfile. This delay is causing notable slowdowns in our ...
1
vote
1
answer
41
views
Can I use ConfigMaps as Pipelines params in Openshift?
I've got several pipelines which need to connect to a Windows VM through SSH. The SSH connection information is mostly fixed, it doesn't change unless we need to change the VM for some reason, it ...
0
votes
1
answer
105
views
Building and serving Angular apps with environment variables
I am deploying a Angular app through openshift container where I have different environments(Dev,QAT, Prod) to deploy.
I am using this CLIENT_ID in my code base with environment.CLIENT_ID to access ...
1
vote
1
answer
238
views
NGINX : Static resources missing. Server response code 304
I'm posting here because I'm struggling to get my head around what seems to be a simple issue. The setup is the following :
Angular application uses static resources (such as fonts).
The angular app ...