Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App not exposed to localhost after deployment #5

Open
mllamazares opened this issue Dec 7, 2021 · 4 comments
Open

App not exposed to localhost after deployment #5

mllamazares opened this issue Dec 7, 2021 · 4 comments

Comments

@mllamazares
Copy link

mllamazares commented Dec 7, 2021

I've followed these steps to run the helm charts in test environment:

# Install helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

# Install k3d
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash

# Install helmfile
wget https://github.com/roboll/helmfile/releases/download/v0.142.0/helmfile_linux_amd64 
chmod +x helmfile_linux_amd64
mv helmfile_linux_amd64 ~/.local/bin/helmfile

# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

# Create ad hoc config file
kubectl config view --raw > ~/.k3d/k3s-default-config
export KUBECONFIG=~/.k3d/k3s-default-config

# Open test folder
cd freqtrade-helm-chart/test-local/

# Launch deployment
make cluster
make sync

# Wait until all pods are Running or Completed.
kubectl -n freqtrade get pods

This is the result:

❯ kubectl -n freqtrade get pods
NAME                              READY   STATUS     RESTARTS   AGE
results-reader-59cc94ddb6-lwg9k   1/1     Running    0          4m56s
freqtrade-789ccb4dc9-vwtb5        1/1     Running    0          4m56s
backtesting-1638873955-kqzcm      0/1     Init:0/1   0          4m56s

However, I cannot access http://localhost:8080 or http://0.0.0.0:8080.
Is there any extra step to expose the app that has not been specified? Thanks!

@patoarvizu
Copy link
Owner

Ah interesting. Do you get an error when trying to access it? Or does it just hang?

@room3622
Copy link

did you manage to get it to work ?

@patoarvizu
Copy link
Owner

Hi @room3622, do you have the same issue? Do you get a specific error message?

@room3622
Copy link

@patoarvizu no I haven't tried yet I give it a go later on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants