openshift Questions
3
I want to show an env var in my docker container.
The PHP script looks like this:
<html>
<head>
<title>Show Use of environment variables</title>
</head>
<body&...
Heiney asked 18/2, 2016 at 10:48
1
Im overriding the the dns policy of a pod since I'm facing a issue with default /etc/resolv.conf of the pod. Another issue is that the pod is not able to connect to smtp server server due to defaul...
Billen asked 11/10, 2020 at 19:46
4
Openshift v3.11.0+0cbc58b
I am trying to delete project from openshift as admin user, but project get struck in terminating state.
I have tried running the following command but no use,
oc delete ...
Scincoid asked 31/10, 2019 at 7:3
2
It is how to run simple batch in kubernetes yaml (helloworld.yaml):
...
image: "ubuntu:14.04"
command: ["/bin/echo", "hello", "world"]
...
In Kubernetes i can deploy that like this:
$ kubectl c...
Weswesa asked 16/1, 2017 at 10:20
3
Solved
I'm new to kubernetes and openshift (came from docker swarm world) and I'm having trouble with some of kubernetes and openshift documentation especially related to route and services. I was looking...
Spectacle asked 13/6, 2020 at 0:2
3
Solved
I have observed that the pods in my cluster is not able to install the packages when exec to the pod . While debugging i have realized that its due to /etc/resolv.conf entries.
The /etc/resolv.conf...
Nauseating asked 3/9, 2020 at 8:5
3
Solved
I created a deploymentconfig.yml to deploy an app and a want to mount a file which contents are stored in a ConfigMap.
When mounting, the files in the folder that is mounted are replaced.
The goal ...
Woodborer asked 14/8, 2020 at 12:31
1
Solved
We're using Openshift (a managed version of Kubernetes) and I'm struggling to set the pod restart policy from 'Always' to 'Never' for all pods created by our deployment config, but I'm not sure whe...
Shluh asked 13/8, 2020 at 17:17
3
I have deployed two POD-s with hostnetwork set to true. When the POD-s are deployed on same OpenShfit node then everything works fine since they can discover each other using node IP.
When the POD...
Pickings asked 13/10, 2017 at 21:17
8
I'm getting this error message:
➜ ~ helm version
Error: could not find tiller
I've created tiller project:
➜ ~ oc new-project tiller
Now using project "tiller" on server "https://192.168.99.100...
Lodge asked 2/8, 2018 at 6:35
4
Solved
I'm developing a service using Spring and deploying it on OpenShift. Currently I'm using Spring Actuator health endpoint to serve as a liveness and readiness probe for Kubernetes.
However, I will...
Agentival asked 2/9, 2017 at 13:14
1
Solved
We have our project hosted in OpenShift (OKD to be precise. We host it ourselves). The setup is as follows:
Routing server (Spring Boot 1.5.8 with Zuul): This one takes all the incoming traffic an...
Vander asked 24/9, 2019 at 10:57
1
Solved
I am trying a very simple tutorial explaining how convert docker-compose to minishift ( Minishift and Kompose. I tried to converted and push the docker-compose.yml example
version: "2"
services:
...
Dehumanize asked 19/2, 2020 at 22:16
3
Solved
How to download or backup or to save a copy of a file from openshift remote folder into my local-system folder using rhc client tool? or is there any other way other than rhc client tool to make a ...
Menticide asked 31/12, 2014 at 9:49
1
Solved
I try to create the following statefulSet:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: es-cluster
namespace: efk
spec:
serviceName: elasticsearch
replicas: 3
selector:
matchLabels...
Amelina asked 15/4, 2020 at 22:10
1
Solved
I am totally new to this two technologies (I know docker and kubernetes btw).
Haven't find much an the web about this comparison topic.
I have read that Openshift is used by more companies,b...
Zecchino asked 30/3, 2020 at 15:37
3
I'm trying to deploy on an Openshift Origin Pod an image which is available in my Docker repository:
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tomcat9demo latest 535da1774da0 9 weeks a...
Silicone asked 5/4, 2017 at 15:26
1
I am using Prometheus on OpenShift platform. Authentication is handled by OpenShift for Prometheus and all its sub domains except /metrics endpoint.
It bypasses all authentication and shows Promet...
Castled asked 20/1, 2020 at 8:35
3
I have a Pod with two containers.
apiVersion: v1
kind: Pod
metadata:
name: test
spec:
containers:
- name: my-container
image: google/my-container:v1
- name: third-party
image: google/third-p...
Unwind asked 17/7, 2019 at 12:12
0
After installation OpenShift on Ubuntu 16.04 I try to run it and get error as below:
koziolek@koziolek-desktop ~ $ oc cluster up
Getting a Docker client ...
Checking if image openshift/origi...
2
I am setting up a Jenkins multi-branch instance which needs to allocate a resource on branch job creation when a new branch is detected by the https://wiki.jenkins.io/display/JENKINS/Pipeline+Mul...
Pippas asked 15/7, 2019 at 12:24
3
Solved
Here is the sample template for single PersistentVolumeClaim with name : claim1
apiVersion: "v1"
kind: "PersistentVolumeClaim"
metadata:
name: "claim1"
spec:
accessModes:
- "ReadWriteOnce"
res...
Bereniceberenson asked 11/12, 2019 at 14:20
1
Solved
I am having an issue with passing a pipe character | in readiness probe command.
I want to have a probe command:
curl --silent http://localhost:8080/actuator/health | grep --quiet -e '^{\"status\...
Khalsa asked 19/11, 2019 at 10:45
2
Solved
From the question you can tell I'm a newb.
At the moment to get the logs of my pod I'm doing a ...
oc logs -f api-myapp-v1-48-cdrs2
This shows me everything in the log. How can I tail them inst...
Chimb asked 24/7, 2017 at 4:25
2
I'm trying to create a secret on OpenShift v3.3.0 using:
oc create secret generic my-secret --from-file=application-cloud.properties=src/main/resources/application-cloud.properties -n my-project
...
Pinkerton asked 30/1, 2017 at 13:40
© 2022 - 2024 — McMap. All rights reserved.