forge icon indicating copy to clipboard operation
forge copied to clipboard

High confusion potential : service.yaml use same term as "service" obj in K8S

Open mikefaille opened this issue 8 years ago • 4 comments

K8S is hard to learn because we need to learn bunch of new concepts that already used on old one. K8S service as an k8s object is a perfect example.

Then, maybe, we should prefer new name to define services on forge. Maybe, forge.yaml should be fine. Isn't ?

@datawire Thank you for your work !

mikefaille avatar Nov 23 '17 19:11 mikefaille

I very much like the values.yaml file for helm. This seems like it is a similar concept. It is very unclear to a forge beginner why this file does not contain apiVersion: v1 \ kind: Service.

srossross avatar Nov 28 '17 18:11 srossross

Between this issue and #61, I can definitely see growing forge.yaml into something that could supplant service.yaml (including a version/kind indicator). I will try to put together a proposal and post something for you guys to look at, although probably will have to wait until after kubecon next week.

rhs avatar Nov 28 '17 18:11 rhs

I'm in a agreement. Service is a really overloaded term... In Kubernetes we have:

  1. "Service" as in the routing concept.
  2. "Service" as in "microservices" which is what people often use Kubernetes to deploy.

When I say "Write a service" it's sometimes ambiguous. I've struggled to clarify this confusion when doing talks or speaking 1 on 1 with folks.

Forge also overloading "service" for its configuration is additional confusion. Statements like "Modify the service config" are really confusing.

plombardi89 avatar Jan 08 '18 13:01 plombardi89

Service in Kubernetes don't provide routing (but, I know, forge permit that. It's cool. ). In my specific case, I need forge as an Ingress solution to manage connections from internet. (+ more maybe).

mikefaille avatar Jan 08 '18 16:01 mikefaille