Is it possible to access kubernetes guestbook application from browser

0 votes

I've created Kubernetes cluster in AWS. I'm working on guestbook example based on coreos. After creating frontend service I'm able to curl localhost and access guestbook application from minion where application is built but failing to do so through browser or master.

I have tried putting diffrent publicIp in frontend service such as Public IP, Private IP assigned to instance by AWS.

Note:

  1. Checked Security group in AWS and all needed ports are enabled
  2. To check if minion is accessible through browser and other setting are correct, i tested nginx "Welcome to Kubernetes" application, it was successfully accessed through browser.

Sep 26, 2018 in AWS by bug_seeker
• 15,520 points
2,525 views

1 answer to this question.

0 votes

this link helped : https://github.com/GoogleCloudPlatform/kubernetes/issues/6158 see hack solution by kcao3.

Following are the changes :

  1. add redis-master IP in slaves container /etc/hosts file
  2. add redis-slave IP and redis-master IP in frontend containers in /etc/hosts file
  3. checked firewall settings.

NOTE: Its a hack so DNS settings will be the correct solution

answered Sep 26, 2018 by Priyaj
• 58,100 points

Related Questions In AWS

+2 votes
3 answers

Is it possible to ping AWS EC2 instance

1.Go to EC2 Dashboard and click "Running ...READ MORE

answered Nov 13, 2020 in AWS by shivam
• 140 points

edited Nov 13, 2020 by Gitika 20,301 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,100 points
2,637 views
+1 vote
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP