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
3 answers

oc rsh + awk prints extra indentation at beginning of each line, seems only did line break but does not return carriage

I want to filter lines of oc rsh du -shc output like this: oc rsh broker-amq-1-2-fsbnd du -shc / 2>&1 | awk '$2=="total" {print $1}' But I got no results. For local du -shc /some/dir 2>&1 I get desired output. # locally $ du -shc ~ 2>&1 du: cannot…
WesternGun
  • 11,303
  • 6
  • 88
  • 157
0
votes
1 answer

Route annotations from yml file was not working in openshift

We are using openshift for the deployment where we have 3 pods running with same service To achieve load balancing we are trying to create a annotations in the route. Adding annotations in Route from console it is working fine But the same is not…
0
votes
1 answer

How to export image in CRI-O?

Both docker and containerd provide golang clients and provide some interfaces, such as list images, export images or tag images. How can this be done in cri-o? eg: github.com/containerd/containerd and github.com/docker/docker/client
mjammer
  • 11
  • 3
0
votes
1 answer

OpenShift CLI command to set environment from secret

When I exectue this command: oc set env --from=secret/mysqldb dc/hola I get this configuration in deployment environment Is there a way to set the deployment configuration using OpenShift CLI so the secret is set in environment from section as…
iperezmel78
  • 415
  • 5
  • 20
0
votes
0 answers

OpenShift - Cannot Build dockerfiles from private bitbucket repo

I'm trying to create a application from a dockerfile in my Private Bitbucket repo, when I go through the web console to make it I've tried using both the SSH and HTTP url's and the ssl/user+pass secrets but its not detecting the Dockerfile in my…
0
votes
0 answers

How do I check if DeploymentConfig exisit in batch script

I have written a pipeline in azure devops in ubuntu-latest agent to cater deployment to openshift. I am able to get the script running in my pipeline as the first example however i am trying to use script in windows-latest agent which is a batch…
isme
  • 190
  • 2
  • 3
  • 18
0
votes
0 answers

OpenShift Playground 4.5 and 4.7 Login

The current version of the OpenShift Playground which lasts for 60' is 4.5, and 4.7. I tried both of them when I press the copy login command to use my visual studio code to log in to it, I could not do it. It's saying that I cannot reach the…
William Pham
  • 271
  • 3
  • 17
0
votes
1 answer

A new and (almost) effective way to update routes and allow external access

This is a procedure I tried to use to update all the routes of an already installed cluster to allow external access to it. The procedure below seems very viable to me, but we have been having some problems so I would like your help to solve this…
0
votes
1 answer

Unable to login Openshift Cluster

After the upgrading kubectl, I am unable to login on Openshift cluster. When i am trying to login with oc login command it is reverting the below error message: Error: unknown command "login" for "kubectl" Did you mean this? logs plugin Run…
0
votes
1 answer

Define memory size in OpenShift CLI

In OpenShift CLI, how can I define the memory size within the oc new-app command?
Thisara Watawana
  • 344
  • 4
  • 15
0
votes
1 answer

OKD installation behind proxy

Hi everyone i don't know if i'm the only one have issues installing okd behind proxy in my case i got ovirt for deploy the cluster the openshift-installer is creating the resources all looks fine but when the bootstrap try to get the images is just…
0
votes
1 answer

Changing oc login password as a user

In our corporate environment, I'm given with an openshift container user account. I can login into the cluster with the command oc login The password here is a random generated one, and is made of complex…
niyasc
  • 4,440
  • 1
  • 23
  • 50
0
votes
1 answer

oc cluster up can't start kube-apiserver due to missing ~/.kube/config

I try to run OKD on my desktop (Ubuntu 18). I follow instruction: https://opensource.com/article/18/11/local-okd-cluster-linux (similar). I have Docker installed: $ docker version ... Version: 19.03.12 Insecured registry: $ sudo cat…
mkczyk
  • 2,460
  • 2
  • 25
  • 40
0
votes
1 answer

How to `docker login` to OpenShift Docker registry

I am using Redhat OpenShift 4.4.17 deployed in Azure. I logged in to OpenShift as administrator. I have a Docker image locally, now I need to push my docker image to OpenShift Docker registry. I am using below command docker login -u -p…
0
votes
1 answer

Install Nginx ingress on Openshift cluster

I know this is an obvious question regarding Kubernetes and Nginx ingress. But, I just couldn't install Nginx ingress on my Openshift cluster. Openshift docs tells that Nginx can be installed from the Operator hub. But, when searching for Nginx I…
Amit Baranes
  • 7,398
  • 2
  • 31
  • 53