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,350 points
148 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
• 56,900 points

Related Questions In AWS

+2 votes
2 answers

Is it possible to ping AWS EC2 instance

Start by adding a new EC2 security group inbound ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,750 points
555 views
0 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
• 56,900 points
217 views
0 votes
1 answer
0 votes
1 answer