CircleCI-Public / redhat-openshift-orb

A CircleCI Orb to simplify deployments to Red Hat OpenShift.
http://circleci.com/orbs/registry/orb/circleci/redhat-openshift
MIT License
1 stars 5 forks source link

New Command: create-local-cluster-with-crc #7

Closed wenzowski closed 4 months ago

wenzowski commented 5 years ago

As of OpenShift 4.1, Red Hat has migrated to a new tool for spinning up local clusters. The new solution is called CodeReady Containers and a Developer Preview is available.

techytushar commented 5 years ago

@lokst @wenzowski Please can you tell what needs to be done to solve this issue, I would like to work on this

wenzowski commented 5 years ago

I'm hoping for a new command, similar to create-local-cluster-with-oc, that creates a local cluster usingcrc in place of oc.

I would expect the first step would be to get the crc tool installed and setup according to the docs linked above. A red hat account is currently necessary to access the developer preview linked above.

Perhaps this means that a separate install-code-ready-containers-cli command equivalent to install-openshift-cli is a required step before working on this issue?

lokst commented 4 years ago

@wenzowski Thank you for weighing in! I have not looked much into OpenShift 4.1 yet, but what you described makes sense to me!

jmickey commented 4 years ago

I was looking into this recently as I have a need to launch an OS4.x cluster in CircleCI. I have access to the crc binary.

Unfortunately I ran into a pretty major show-stopper: CodeReady Containers requires the machine executor to support nested virtualisation. This is because CodeReady Containers (like minishift) attempts to launch a VM on the local machine.

This is a pretty major blocker obviously. I don't see a work around unless CircleCI supports nested virtualisation some time in the near future.

nathanfishcircleci commented 4 months ago

We are going to archive this orb because of little to no use.