cloudfoundry / cf-for-k8s

The open source deployment manifest for Cloud Foundry on Kubernetes
Apache License 2.0
301 stars 115 forks source link

Add newbie-friendly docs/guidance around LB setup/requirements #641

Open DanStadlerNewRelic opened 3 years ago

DanStadlerNewRelic commented 3 years ago

Is your feature request related to a problem? Please describe. As someone trying out cf-4-k8s the first time, and as an app developer, I may not have much background on networking, ingress, load balancers, istio, etc. The docs and various blog posts are very clear up to this point, but become very confusing at the point of managing a static IP address.

Describe the solution you'd like I'd like to see documentation that not only gives clear instructions, but also helps with some basic knowledge. Based on the various attempts I made to follow docs and blog posts, I ran into the following questions:

Describe alternatives you've considered I ended up with a lot of trial and error, read many blog posts, and ended up combining advice from a few different posts to get to a working solution.

Additional context I did end up getting this to work on GKE by adding this to the bottom of cf-values.yaml:

load_balancer: enable: true static_ip: "34.121.145.208"

Here is a sampling of the docs/blogs I ended up going through:

https://tanzu.vmware.com/developer/guides/kubernetes/cf4k8s-gs/ https://www.starkandwayne.com/blog/deploy-cf-for-k8s-to-google-in-10-minutes/ https://medium.com/cloud-foundry-foundation/installing-cf-for-k8s-on-google-cloud-gke-5d6902ee99fa

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/177331667

The labels on this github issue will be updated when the story is started.

Birdrock commented 3 years ago

@ramiyengar Has kindly volunteered to help move this forward!

ramiyengar commented 3 years ago

Thanks for bringing this up @DanStadlerNewRelic. There are actually a couple of approaches that you can take to using domains that work with the cf-for-k8s installation. You can check the post about Installing on DigitalOcean (https://medium.com/cloud-foundry-foundation/installing-cf-for-k8s-on-a-kubernetes-cluster-running-on-digitalocean-acffdc652dcf) to see how it would work with private domains.

But, there is definitely a need for some documentation that introduces these areas and explains this part further.

DanStadlerNewRelic commented 3 years ago

Hey Ram - nice to meet you! I definitely read both your articles, in fact I started out with DigitalOcean as in your post, but when I was getting stuck on the LB stuff, moved over to GKE and followed some other posts, ultimately got things together with the static IP solution there. But anyway your posts are great and really helped me overall.

I'd love to see what kinds of documentation can be put together for the IP/DNS section. Please let me know if you have something I can read and give feedback on.

Thanks! Dan