Nope, a Service is fundamentally a network construct.  If you don't
want to offer a network interface to your app, and you don't need any
sort of collection semantics (e.g. DNS), then a Service is not
warranted.

On Tue, Jan 2, 2018 at 5:35 AM, Mario Rodriguez <rvill...@gmail.com> wrote:
> good question, I thought you always needed a Service when running an app in
> k8s.
>
> On Monday, January 1, 2018 at 10:51:48 PM UTC-6, Tim Hockin wrote:
>>
>> Why do you need a Service at all?
>>
>> On Jan 1, 2018 8:43 PM, "Mario Rodriguez" <rvil...@gmail.com> wrote:
>>>
>>> Hi, I'm in the middle of creating an K8s app that doesn't expose any HTTP
>>> endpoints, is just a background app that pulls messages from a message bus
>>> and takes some action based on the incoming message. No other apps will
>>> interact directly with this background app, only thru posting messages into
>>> the message bus.
>>>
>>> Scaling is a requirement and most likely will always need to run more
>>> than one replica.
>>>
>>>
>>> What is the recommended Service type in Kubernetes to handle this type of
>>> workload ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Kubernetes user discussion and Q&A" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to kubernetes-use...@googlegroups.com.
>>> To post to this group, send email to kubernet...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/kubernetes-users.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to