Closed 1dropaflame closed 9 months ago
This issue is currently awaiting triage.
SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
3. Hangs and does not get an external ip address even after waiting 10 minutes. The value shows
<pending>
$ kubectl get service frontend --watch NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE frontend LoadBalancer 10.109.154.2 <pending> 80:30460/TCP 33s
Hi @1dropaflame , you are using loadbalancer for minikube
. In case where the cluster is created on platform which does not provide externalIPs
For minikube external IP see this: https://minikube.sigs.k8s.io/docs/handbook/accessing/#loadbalancer-access
For reference it is written in the doc itself here:
Similar to the backend, the frontend has a Deployment and a Service. An important difference to notice between the backend and frontend services, is that the configuration for the frontend Service has type: LoadBalancer, which means that the Service uses a load balancer provisioned by your cloud provider and will be accessible from outside the cluster.
@Ritikaa96 Thanks for the reply. It will be good if it can be emphasized in the instructions that this requires an external cloud provider's provisioning of a load balancer. Most of us are trying to learn K8s on our home Windows laptops.
@1dropaflame I can understand as I have faced similar issues in beginning. however, searching through the following solved most of my queries. as per my experience discussion in these resources also prove to be extremely benefitting for learning k8s
@Ritikaa96 Thanks for the reply. It will be good if it can be emphasized in the instructions that this requires an external cloud provider's provisioning of a load balancer. Most of us are trying to learn K8s on our home Windows laptops.
This is already mentioned in the same page , not with a note but in the lines , see:
For reference it is written in the doc itself here:
Similar to the backend, the frontend has a Deployment and a Service. An important difference to notice between the backend and frontend services, is that the configuration for the frontend Service has type: LoadBalancer, which means that the Service uses a load balancer provisioned by your cloud provider and will be accessible from outside the cluster.
I could change the title to: Task "Connect a Frontend to a Backend Using Services" does not list load balancer as prerequisite
except that when I checked, the page does list that detail.
We could mention minikube anyway, I guess. It's not a priority to do that. If someone wants to send in a PR, I think that's fine/
/language en /priority awaiting-more-evidence
Hi, I think one workaround can also be to add a note for this like
For external IP in minikube see this: https://minikube.sigs.k8s.io/docs/handbook/accessing/#loadbalancer-access
Or you can also say like in the TV commercials, "Warning! Professional riders shown. Do not try this at home." :)
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
This is a Bug Report
Problem:
Following the task instructions, it does not work. 1) no instructions given what to do with
/frontend-nginx.conf
2) Hangs and does not get an external ip address even after waiting 10 minutes. The value shows
<pending>
Proposed Solution:
please correct the tutorial.
Page to Update:
https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/
1.26.1
Windows 11, minikube, WSL2