question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

frontend is not available on kind (Kubernetes IN Docker)

See original GitHub issue

Checkout and build kind master kubernetes-sigs/kind@081f86cf42556e0e3245326d10419a7c84c354b7

Create cluster

./kind create cluster --wait 5m --config site/content/docs/user/kind-example-config.yaml

Run skaffold run

~/microservices-demo (master)$ export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
~/microservices-demo (master)$ skaffold run
~/microservices-demo (master)$ kubectl get pods
NAME                                     READY   STATUS    RESTARTS   AGE
adservice-7f4dd87df8-v8sqf               1/1     Running   1          13h
cartservice-b85f574f5-k7qvs              1/1     Running   3          13h
checkoutservice-84869d66b-k45cx          1/1     Running   0          13h
currencyservice-5f76584c47-g9fpr         1/1     Running   0          13h
emailservice-6b85499b9b-wzsns            1/1     Running   1          13h
frontend-66bd585bb4-lfl64                1/1     Running   0          13h
loadgenerator-5bd98cb584-q4h4t           1/1     Running   0          13h
paymentservice-59b674b7f9-gbp74          1/1     Running   1          13h
productcatalogservice-646c8944-kdmrw     1/1     Running   0          13h
recommendationservice-5f4b8f6586-mpr8t   1/1     Running   0          13h
redis-cart-7d49dd9b8b-kfk8l              1/1     Running   0          13h
shippingservice-7c88dcdb4d-p726r         1/1     Running   0          13h
~/microservices-demo (master)$ 

Frontend is not available at http://localhost:80 but this works at http://localhost:8080

kubectl port-forward frontend-66bd585bb4-lfl64 8080:8080

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ahmetbcommented, Oct 24, 2019

It’s unlikely we’ll try to support kind at the moment. Can you please debug? Look at describe output, pod logs, events, are other pods accessible through their ports. There are many venues you can assist yourself here.

0reactions
ahmetbcommented, Oct 25, 2019

Thanks! I will close this issue. Nothing we can do in this repo about it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connect a Frontend to a Backend Using Services - Kubernetes
This task shows how to create a frontend and a backend microservice. The backend microservice is a hello greeter. The frontend exposes the ......
Read more >
kind – Known Issues - Kubernetes
Having problems with kind? This guide covers some known problems and solutions / workarounds. It may additionally be helpful to: check our issue...
Read more >
Deploy on Kubernetes - Docker Documentation
The Kubernetes server runs locally within your Docker instance, is not configurable, and is a single-node cluster. It runs within a Docker container...
Read more >
Independent Deployment of the Frontend with Docker and ...
We start with a use case: why would you even want to move to a microfrontends architecture? You'll learn the motivation, core concepts...
Read more >
Building a Docker image - Backstage.io
How to build a Backstage Docker image for deployment. ... but is sometimes desired because Docker in Docker is not available in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found