delimitrou / DeathStarBench

Open-source benchmark suite for cloud microservices
Apache License 2.0
725 stars 401 forks source link

Visit socialmedia on Kubernetes throught nodeport #221

Open Zenghao-CQ opened 2 years ago

Zenghao-CQ commented 2 years ago

Hi guys, I am trying to deploy social network on k8s too, and i using helm cmd as follow: helm install social ./socailnetwork And i make svc nginx-thrift a nodeprt, but i can not create any post, did i miss something? Thx for ur help.

Zenghao-CQ commented 2 years ago

image And this is my kiali app graph, apparently, only few pod got request, did i miss any flags when i install with helm? Thanks again.

Zarak-Shah-ji commented 2 years ago

Hey can you please share in detail how did you deploy social-network on kubernetes using helm charts?

Zenghao-CQ commented 2 years ago

Hi zarak, thanks for your help, this is my situation:

  1. My kubernetes cluster runs on a server with private ip, and i can connect it through 124.16.138.66:40322(Nat, only this port is available for me)
  2. The command i used to deploy social-network(just using default values):
    helm install social ./socailnetwork
  3. Then i edit service "nginx-thrift" to NodePort 32112, since only port 40322 for ssh is available,i use vscode to forword port 32112 to my desktop localhot:32112
  4. Is it because i should not just forword 32112 ("nginx-thrift"), or i should modify the config? Thank you for help again!!

PS. Following page is available, but i cannt create or view any posts: image 1659601780525

przmk0 commented 2 years ago

hi @Zenghao-CQ , I think this might be an issue with UI part - can you check your web browser console to see what status is returned from API when you're trying to create a post?