Questions tagged [openshift-3]

Redhat rolled out Openshift version 3 which is having a totally different architecture than its earlier version referred as 'Openshift' or 'Openshift V2'.

Please check the details here.

All the queries on Openshift V2 or earlier are commonly tagged as 'openshift'. However, the same is no longer valid for Openshift V3. While Openshift V2 and V3 would co-exist for some time, it is more appropriate to tag all V3 related queries under this tag (Openshift-3).

215 questions
1
vote
1 answer

Openshift 3.11: controller-manager crashloopbackoff - unable to retrieve the complete list of server APIs: servicecatalog.k8s.io/v1beta

I have a issue with my controller-manager and hours of debugging been not successful. Log: "controller_manager.go:232] error running controllers: failed to get api versions from server: failed to get supported resources from server: unable to…
1
vote
2 answers

Execute command on each node

Background: Have approx 50 nodes "behind" a namespace. Meaning that a given Pod in this namespace can land on any of those 50 nodes. The task is to test if an outbound firewall rule (in a FW outside the cluster) has been implemented correctly.…
peterh
  • 18,404
  • 12
  • 87
  • 115
1
vote
1 answer

How to get Kubernetes Version as integer from API

I am trying to get the current Kubernetes version via the API, because depending on the version some things are not supported (e.g. readyz endpoint is not available before 1.16, so I want to check healthz endpoint instead). I found the following…
1
vote
0 answers

How to install .NetCore dotnet (not MSBuid plugin) to Jenkins

I was assigned to create CI/CD workflow for our project combining Openshift + Jenkins pipeline. I can build by using following: stage('build') { steps { script { openshift.withCluster() { …
Harusin
  • 11
  • 1
  • 3
1
vote
1 answer

Labelling Openshift Build transient pods

I have a simple S2I build running on an Openshift 3.11 project that outputs to an Image Stream. The build is working fine, the resulting images are tagged correctly and available in the stream. My issue is, each build spins up a transient pod to…
redsoxfantom
  • 918
  • 1
  • 14
  • 29
1
vote
0 answers

How to update the configmap data using parameters in openshift?

I have the following openshift template: kind: Template metadata: name: test-python annotations: tags: python,django iconClass: icon-python objects: - apiVersion: v1 kind: ConfigMap metadata: name: war-config data: …
Rakesh Kotian
  • 175
  • 3
  • 20
1
vote
1 answer

Init container in openshift

I am new to openshift, I have gone through Openshift website for more details but wanted to know if anyone has deployed init container. I want to use that to take dump from database and restore it to new version of it with the help of init…
Samurai
  • 121
  • 1
  • 4
  • 15
1
vote
2 answers

Increase memory limit of a running pod

I have a pod running in openshift 3.11, I wish to increase the pod memory limit from 2GB to 4GB. How to do it via Openshift Web Console or via OC command line? When I try to edit the yaml file in Openshift Web Console I got the following…
william007
  • 17,375
  • 25
  • 118
  • 194
1
vote
1 answer

How to write jenkinsfile that will access openshift and run few commands

I am new to Jenkins, can someone help me to write Jenkinsfile that access openshift run few of commands, and return the report I know commands to run manually in open shift but don't know how to do in Jenkins
1
vote
1 answer

Openshift CLI: Change .kube folder to different drive

I have Openshift CLI 3.11 installed on my machine, but my .kube folder is present on my H drive(network drive) which is not accessible due to some network problems as I'm away from my office and connected remotely . So whenever I try to login from…
BKK
  • 340
  • 2
  • 4
  • 15
1
vote
2 answers

Openshift 3 cluster installation issue

I am installing Openshift 3.11 version cluster on my Centos 7.8 VMS. The configuration is that there are three Centos VMs (one master node + two worker nodes). I have configured my inventory file also and 'prerequisites.yml' playbook also ran…
Aditya Datta
  • 567
  • 2
  • 7
  • 17
1
vote
2 answers

OpenShift GoLang Template parsing error in oc.exe command prompt: Unexpected unclosed action in if

Please find the below script which I have used to fetch the running pods from openshift container oc get pods -o template --template {{range.items}}{{if eq .status.phase "Running"}}{{.metadata.name}}{{.status.phase}}{{end}}{{end}}
1
vote
1 answer

openshift new-app does not respect --source-secret

The below command still prompts me for typing in username and password. I would expect it to start building without the prompt as i'm mentioning the source secret. oc new-app --strategy=docker…
Bharath
  • 559
  • 11
  • 27
1
vote
2 answers

PY3MQI. AMQ9627 when use sco.CertificateLabel and os user does not match certificate label user

Original issue: https://github.com/dsuch/pymqi/issues/181 Hello! My MQ client version is 9.0.0.3-IBM-MQC-LinuxX64 Applications works in container, orchestra is Openshift 3.0. Cert reqs was created by the following command: runmqckm -certreq -create…
Денис
  • 23
  • 5
1
vote
1 answer

How to create a non-administrator user in openshift 3.11?

In OCP 3.11 (OKD), how can we create a non admin user? Are there any specific commands for it?
Raghav Gupta
  • 341
  • 1
  • 6
  • 20