crc-org / crc-cloud

Disposable OpenShift instances on cloud in minutes
27 stars 19 forks source link

Add support different providers #53

Open praveenkumar opened 1 year ago

praveenkumar commented 1 year ago

As of now we are only supporting the AWS provider but we do need to add support for other cloud providers

we are going to create different issue for each cloud provide for tracking purpose.

danpawlik commented 1 year ago

Hi, adding OpenStack provider might be used a lot. Would be very nice to add it.

danpawlik commented 7 months ago

Any progress?

praveenkumar commented 6 months ago

@danpawlik we recently added the GCP one, may be next developer week we should have openstack one also.

danpawlik commented 5 months ago

Hey, and how it's going?

praveenkumar commented 4 months ago

Hey, and how it's going?

next week is the developer week so I will try then.

praveenkumar commented 4 months ago

@danpawlik FYI #183

hjensas commented 3 months ago

I am not familiar with plumi, but I tried this and it failed on my single node openstack cloud because my volume storage is very small. (I generally don't use volumes, so storage is allocated for other things ...) Would it be possible to make this use image/local ephemeral instead of volume? (Even better add an option, so that the user can choose ...)

I think if we skip creating the volume blockstorage.NewVolume and replace BlockDevices: compute.InstanceBlockDeviceArray{... with ImageId: pulumi.String(imageRef.Id) it would work?

[1] https://github.com/crc-org/crc-cloud/blob/main/pkg/provider/openstack/create-instance.go#L130 [2] https://www.pulumi.com/registry/packages/openstack/api-docs/compute/instance/#instanceblockdevice

praveenkumar commented 3 months ago

@hjensas Please open a separate issue, I am not sure how much time I can spend on this at this moment but if you can, please put a PR with changes. Most of the logic is in https://github.com/crc-org/crc-cloud/blob/main/pkg/provider/openstack/create-instance.go here.