patoarvizu / freqtrade-helm-chart

Helm chart for running freqtrade on Kubernetes
Apache License 2.0
12 stars 6 forks source link

App not exposed to localhost after deployment #5

Open mllamazares opened 2 years ago

mllamazares commented 2 years ago

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 commented 2 years ago

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

room3622 commented 2 years ago

did you manage to get it to work ?

patoarvizu commented 2 years ago

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

room3622 commented 2 years ago

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