Closed pt247 closed 2 months ago
I can see that IP Assigned to the load balancer pod on my machine is not 172.18.1.100.
@pt247 This is solved in https://github.com/nebari-dev/nebari/issues/1405#issuecomment-2101307799, see the docs linked in the post. You need to update the hosts file and also install/enable docker-mac-net-connect.
However, note that I couldn't really use Nebari after deploy because it crashed almost immediately due to high resource usage (on a laptop): https://github.com/nebari-dev/nebari/issues/1405#issuecomment-2115996181
For reference, the successful connection log looks like this (yes, the hostname was empty despite setting the domain in the nebari config file):
[terraform]: load_balancer_address = {
[terraform]: "hostname" = ""
[terraform]: "ip" = "172.18.1.100"
[terraform]: }
Attempt 1 succeeded to connect to tcp://172.18.1.100:80
Attempt 1 succeeded to connect to tcp://172.18.1.100:8786
Attempt 1 succeeded to connect to tcp://172.18.1.100:8022
Attempt 1 succeeded to connect to tcp://172.18.1.100:8023
Attempt 1 succeeded to connect to tcp://172.18.1.100:9080
Attempt 1 succeeded to connect to tcp://172.18.1.100:443
After stage=04-kubernetes-ingress kubernetes ingress available on tcp ports={80, 8786, 8022, 8023, 9080, 443}
DNS configured domain=nebari.example.com matches ingress ips=172.18.1.100
My hosts file:
172.18.1.100 nebari.example.com
Domain in the Nebari config:
domain: nebari.example.com
docker-mac-net-connect (from new docs linked above):
brew install chipmk/tap/docker-mac-net-connect
sudo brew services start chipmk/tap/docker-mac-net-connect
I'm closing this issue as this has been solved in https://github.com/nebari-dev/nebari/issues/1405#issuecomment-2101307799
Describe the bug
I am deploying Nebari locally on the Mac ARM (M3). Deployment is failing with the error:
ERROR: After stage=04-kubernetes-ingress unable to connect to ingress host=172.18.1.100 port=80
Expected behavior
Local deployment should finish.
OS and architecture in which you are running Nebari
macOS Sonoma Version 14.3.1 Apple M3
How to Reproduce the problem?
Command output
That IP is an internal docker network IP and the port is also not exposed:
$ conda --version
conda 24.1.2
$ nebari --version 0.1.dev1287+g6ae41e8
$ kubectl version Client Version: v1.29.1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.23.13 WARNING: version difference between client (1.29) and server (1.23) exceeds the supported minor version skew of +/-1