Open
Description
General information
I've got a deployment + service that works ok on crc+openshift local running on Ubuntu 24.04, but the same setup on macOS results in an inaccessible service. I notice that CRC has modified my /etc/hosts file to point api.crc.testing to 127.0.0.1, which is unlike what it does on Ubuntu, maybe this is related.
Operating System
macOS
Hypervisor
KVM
Did you run crc setup
before crc start
?
yes
Running on
Laptop
Steps to reproduce
Install crc, eval crc oc-env, apply a deployment and service.
Try to access the port listed in oc get services
via any network client, notice there is an error message.
CRC version
CRC version: 2.46.0+8f40e8
OpenShift version: 4.17.10
MicroShift version: 4.17.10
CRC status
CRC VM: Running
OpenShift: Running (v4.17.10)
RAM Usage: 29.51GB of 68.11GB
Disk Usage: 6.842GB of 10.95GB (Inside the CRC VM)
Cache Usage: 78.31GB
Cache Directory: /Users/user/.crc/cache
CRC config
- consent-telemetry : yes
- disk-size : 64
Host Operating System
ProductName: macOS
ProductVersion: 15.2
BuildVersion: 24C101
Expected behavior
Services are accessible via the port listed in oc get services
, as they are on Linux hosts
Actual behavior
connect to 127.0.0.1 port <port listed in oc get services> failed: Connection refused
CRC Logs
Additional context
No response
Activity