openshift Questions

4

I have a node app that I'm trying to deploy to Open Shift. It's basic express, pretty much vanilla from the express generator. It runs locally. When I push to OpenShift I get the following error: ...
Gravois asked 27/11, 2014 at 14:8

2

Solved

I have an application deployed on OpenShift Container Platform v3.6. It consists of multiple services interconnected to each other. The frontend service calls a time consuming function of the bac...
Klaxon asked 14/12, 2017 at 11:56

3

Solved

My entity looks like @Entity public class Member { @Id private UUID id; @Column(name = "member_external_id", unique = true, nullable = false) private String memberExternalId; @Column(name = ...
Burchfield asked 5/11, 2014 at 3:18

4

Solved

My config map looks like this: apiVersion: v1 data: my-data.yaml |2- #data comes here kind: ConfigMap Is it possible to extract the content of my-data.yaml key via oc get configmap or any ...
Retread asked 5/5, 2020 at 9:6

3

Solved

Attempting to create a set of resources based on a file via oc create fails if they already exist. According to the docs here oc create should: Parse a configuration file and create one or more...
Examine asked 16/10, 2017 at 15:23

6

I have a spring boot application which I'm running inside docker containers in an openshift cluster. In steady state, there are N instances of the application (say N=5) and requests are load balanc...
Multivibrator asked 19/2, 2019 at 5:51

4

The Kubernetes Horizontal Pod Autoscaler walkthrough in https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ explains that we can perform autoscaling on custom met...
Vassalize asked 31/1, 2019 at 11:21

2

I have a PersistentVolumeClaims(PVC) with ReadWriteMany (RWX) access mode. This PVC is clamed by 2 pods. In the second pod I have FluentBit reading the logs stored by the application pod in the sha...
Grandparent asked 9/8, 2021 at 12:46

2

Solved

I would like to use HELM to force a deployment to redeploy on Openshift. I am using "image@latest" for the deployment as I want to have the latest image whenever I deploy, but I don't wan...
Semi asked 22/12, 2020 at 17:26

3

Solved

This may be a dumb question but I haven't found much online and want to clarify this. Given two deployments A and B, both with different container images: They're deployed in two different pods...
Kibitzer asked 12/2, 2016 at 13:56

2

Solved

After installing openshift locally, I can start minishift. on https://192.168.x.y:8443 When starting an 'oc' command, like 'oc project', then I get this error: Unable to connect to the server: x...
Tadzhik asked 1/6, 2018 at 18:22

5

Solved

We are supporting several microservices written in Java using Spring Boot and deployed in OpenShift. Some microservices communicate with databases. We often run a single microservice in multiple po...
Pettis asked 23/4, 2020 at 12:42

2

Solved

Is there a way to prevent readiness probe from execution once container has successfully started? I suppose that liveness probe should be enough to monitor container health.
Selfabnegation asked 1/6, 2017 at 13:45

3

I created a key/value secret in openshift. I want to retrieve the value of that key/value pair. i tried using oc describe secret ashish -n my-project but it gave the value as shown below but i don...
Fadil asked 12/4, 2021 at 10:46

2

After far as I know: deploymentconfig → replicationcontroller → pod vs. deployment → replicaset → pod Otherwise, do these two resources have additional differences? Th...
Polygyny asked 19/4, 2018 at 8:20

0

Somehow I cannot load environment variables and I have the following error when the pod starts: Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: The structure ...
Thompson asked 23/5, 2022 at 17:34

5

Solved

I am looking to know (and how to do it), to create a secured (tls) route in OpenShift from a Secret that would contain my cert and key(or JAVA keystore) or 2 secret (1 with certificat, another with...
Hamblin asked 25/10, 2018 at 15:25

2

I am trying to integrate the angualar js app with the backend spring boot , in which i am facing the redirection is not allowed for a preflight request This is deployed on openshift , i have...
Magnetron asked 13/6, 2019 at 13:26

1

Solved

Streamlit server (run e.g. with streamlit run app-name.py) upon first run for each user requires interaction from her - accepting or rejecting this intro message: Welcome to Streamlit! If you ar...
Explicate asked 25/4, 2022 at 14:8

2

Solved

I've create a postgresql instance into my openshift origin v3. It's running correctly, however I don't quite figure out why I am not able to reach it remotely. I've exposed a route: $oc get route...
Botzow asked 3/7, 2018 at 7:9

4

The env Ansible 2.9.6 (python3) Tried to run a simple playbook - hosts: master gather_facts: no become: yes tasks: - name: create name space k8s: name: testing api_version: v1 kind: N...
Painting asked 26/3, 2020 at 11:58

2

On Kubernetes, to build docker images, we use Docker Inside Docker (dind) where a docker daemon will be running as a privileged user But some times times we have observed that the docker image cr...
Lilias asked 25/1, 2020 at 6:20

3

Solved

I have pods in my open shift and want to work on multiple open shift applications. Lets say like below sh-4.2$ oc get pods NAME READY STATUS RESTARTS AGE jenkins-7fb689fc66-fs2xb 1/1 Running 0 4d...
Sufferance asked 26/4, 2020 at 14:21

2

I'm trying to add a certificate into $JAVA_HOME/jre/lib/security/cacerts truststore on my Dockerfile: FROM frolvlad/alpine-oraclejdk8:slim VOLUME /tmp RUN keytool -import -alias vault -storepass c...
Reinaldoreinaldos asked 13/7, 2018 at 10:48

6

AFAIK, the admission controller is the last pass before the submission to the database. However I cannot know which one is enabled, Is there a way to know which one is taking effect? Thanks.
Aldrin asked 24/7, 2018 at 3:17

© 2022 - 2024 — McMap. All rights reserved.