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

akash-ingress: make akash-node ingress hosts and configmap (port mapping) optional #28

Open
arno01 opened this issue Mar 10, 2022 · 1 comment

Comments

@arno01
Copy link
Contributor

arno01 commented Mar 10, 2022

We get akash-node-1 (as well as akash-node-[234]) configured by default even if we aren't using it, i.e. helm <install/upgrade> ... --set node="http://rpc.edgenet-1.ewr1.aksh.pw:26657"

helm-charts$ git grep akash-node-1 charts/akash-ingress
charts/akash-ingress/templates/configmap-tcp.yaml:  1317: "akash-services/akash-node-1:1317"
charts/akash-ingress/templates/configmap-tcp.yaml:  9090: "akash-services/akash-node-1:9090"
charts/akash-ingress/templates/configmap-tcp.yaml:  26656: "akash-services/akash-node-1:26656"
charts/akash-ingress/templates/configmap-tcp.yaml:  26657: "akash-services/akash-node-1:26657"
charts/akash-ingress/templates/ingress-node-api.yaml:                name: akash-node-1
charts/akash-ingress/templates/ingress-node-grpc.yaml:                name: akash-node-1
charts/akash-ingress/templates/ingress-node-p2p.yaml:                name: akash-node-1
charts/akash-ingress/templates/ingress-node-rpc.yaml:                name: akash-node-1

This leads to these errors:

root@vmi791458:~# kubectl -n akash-services describe ing | grep akash-node-1
                         /   akash-node-1:9090 (<error: endpoints "akash-node-1" not found>)
                        /   akash-node-1:1317 (<error: endpoints "akash-node-1" not found>)
                        /   akash-node-1:26656 (<error: endpoints "akash-node-1" not found>)
                        /   akash-node-1:26657 (<error: endpoints "akash-node-1" not found>)
root@vmi791458:~# kubectl -n ingress-nginx logs $(kubectl -n ingress-nginx get pods -l app.kubernetes.io/component=controller --output jsonpath='{.items[0].metadata.name}') --tail=150 | grep akash-node-1
...
...
W0310 21:24:25.556084       8 controller.go:359] Error getting Service "akash-services/akash-node-1": no object matching key "akash-services/akash-node-1" in local store
W0310 21:24:25.556112       8 controller.go:359] Error getting Service "akash-services/akash-node-1": no object matching key "akash-services/akash-node-1" in local store
W0310 21:24:25.556120       8 controller.go:359] Error getting Service "akash-services/akash-node-1": no object matching key "akash-services/akash-node-1" in local store
W0310 21:24:25.556139       8 controller.go:359] Error getting Service "akash-services/akash-node-1": no object matching key "akash-services/akash-node-1" in local store
@arno01
Copy link
Contributor Author

arno01 commented Mar 10, 2022

I think these "errors" are harmless, so if changing this ^^ is complicated or increasing complexity, then we can probably pass on it.

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

1 participant