Questions tagged [openshift]

38 questions
4
votes
1 answer

How to get a list scaled down pods in OpenShift?

Besides making a list of pods and list of deployments and then comparing, is there a way in the cli and/or OCP console to list the scaled down pods?
JGS
  • 43
  • 3
3
votes
1 answer

Scale number of pods in OpenShift from oc command line

I am new to Openshift , and want know how to change the number of pods of specific deployment from oc command line. I tried to do: oc scale dc name_of_deployment--replicas=2 Error from server (NotFound): deploymentconfigs.apps.openshift.io…
user16571
  • 71
  • 1
  • 5
2
votes
1 answer

How to change a statefulset in OpenShift?

What's the best way to change a statefulset (e.g., modify the ENV parameters, modify PVCs) in OpenShift? oc edit statefulset xyz only allows to change the scaling, nothing else.
AnoE
  • 4,876
  • 13
  • 25
1
vote
0 answers

Auto start and stop of deployments and pods

I want to schedule the deployments according to different timings. Is it possible to configure in the deployment.yml files that the deployment should be scaled to 0 at some hour and scaled up again at some other time (Saving costs)? Can the…
Vini
  • 123
  • 5
1
vote
1 answer

CodeReady Container for OpenShift won't start on Windows 10

Two different things might happen: 1 - On the output, get the following messages ERRO unknown error occurred ERRO unknown error occurred ERRO unknown error occurred ERRO unknown error occurred 2 - On ~.crc/crc.log, see the following errors: Error…
caxcaxcoatl
  • 793
  • 1
  • 7
  • 12
1
vote
1 answer

What is the proper way to fix `error: did not detect an --insecure-registry argument on the Docker daemon` while running `oc cluster up`?

According to this blog one has to change the docker daemon: /usr/bin/dockerd --insecure-registry 172.30.0.0/16 -H fd:// but I wonder why the error occurs and how to fix it properly?
030
  • 13,235
  • 16
  • 74
  • 173