Questions tagged [openshift-client-tools]

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

329 questions
0
votes
2 answers

Run docker container on OpenShift from Nexus unsecure private registry

I'm trying to run a containerized app which is stored in Nexus docker hosted on url 12.23.34.55:8086 I'm trying to run it on my Openshift Cluster, but I'm getting error. Commands I'm using to run oc create secret docker-registry mysecret…
0
votes
2 answers

Openshift remote command execution (exec)

I am trying to run the following command from Windows machine in the openshift docker container running Linux oc exec openjdk-app-1-l9nrx -i -t --server https://xxx.cloud.ibm.com:30450 \ --token -n dev-hg jcmd \ $(ps -ef | grep java…
0
votes
1 answer

Openshift: list unused secrets

I have lots of secrets since last year and not sure which ones are in use by applications. Since I don't want to accidently delete in-use secret, I want to use oc.exe CLI and find all unused secrets. Somewhere I found the below cmd however it throws…
Anuj
  • 149
  • 2
  • 11
0
votes
1 answer

Openshift equivalent of Kubectl expose pod

I am fairly new to openshift. Is there a REST API available to expose a pod ? Basically I am looking to do something like: kubectl expose pod pod-name
dj308
  • 47
  • 3
  • 6
0
votes
0 answers

Connect to MongoDB remote on Openshift Online

I want to connect to my MongoDB hosted on Openshift Online (we have a Pro account) using only the database's Host IP, Port, db username, db password, db name. Currently I can do it using the Openshift client tools using the oc port-forward…
0
votes
0 answers

How to install openshift origin client tools v3.11.0? And what is the best (open source)OS for it?

I am having lots of trouble installing openshift okd 3.11. I have started with 3.9 and I could have it installed and started to work on it. However, needing to use kubevirt I need the 3.11 version. I have only one machine so I want an all-in-one…
Angela
  • 1
  • 1
0
votes
1 answer

OpenShift docker push 500 internal server error

I am running OpenShift 3.11 version and followed instructions from this documentation: https://docs.openshift.com/container-platform/3.11/install_config/registry/accessing_registry.html However, whenever I run the below command, I see the…
pree
  • 2,297
  • 6
  • 37
  • 55
0
votes
2 answers

How to get the user who created an Openshift project using OC cli?

When I login to openshift URL, under the URL/console/projects I can see all proejcts and who created them and when. e.g. : actually created by assafav 22 days ago aggrdep created by INNATR 22 days ago : how can i get this information using the oc…
Doron Veeder
  • 77
  • 2
  • 7
0
votes
1 answer

Openshift : Unable to add secret using file

I am unable to add secret from file using below command : oc create -f /tmp/config.json Output : error: unable to decode "/tmp/config.json": Object 'Kind' is missing in '{ # cat /tmp/config.json { "auths": { …
0
votes
1 answer

Openshift installation on Ubuntu fails

I am trying to install openshift on Ubuntu by following the following article https://docs.openshift.com/container-platform/4.2/installing/installing_aws/installing-aws-default.html#installing-aws-default However, I am stuck at this command…
0
votes
2 answers

Why rest api is not upgrade from 3.x to 4.x in openshift?

Why rest API is not upgrade from 3.11 version to 4.2 version in openshift?
0
votes
0 answers

How to edit the master-config.yaml when using oc cluster up

I'm using oc cluster up to create a local test environment for my project and I need to add a CORS rule to the master-config.yml. When I start my cluster using oc cluster up a directory called openshift.local.clusterup is created in the same…
0
votes
1 answer

Oc command to output service name which has 100%

I have a openshift command oc get route ABCD It gives information route and services attached to it. We can have multiple services attached to it and define % of traffic to each of the services Question is - when i do oc get route ABCD | awk…
Springhills
  • 360
  • 1
  • 5
  • 12
0
votes
1 answer

Problem with openshift cli on Bamboo - continous deployment

I'm using Bamboo for Continous Deployment.Now,if run a Bamboo plan (regular), my script runs perfectly. It can get the oc (openshift commands) on PATH (environment variables on Bamboo) for e.g. below command executes well by Bamboo plan :- # include…
0
votes
1 answer

Issue running helm command on a schedule

I am trying to delete temporary pods and other artifacts using helm delete. I am trying to run this helm delete to run on a schedule. Here is my stand alone command which works helm delete --purge $(helm ls -a -q temppods.*) However if i try to run…
lr-pal
  • 339
  • 2
  • 6
  • 20