> > 2) The act of creating a snapshot can fail asynchronously and the
> > design wants to NOT retry (or not indefinitely). I'm on the fence
> > about that aspect, and am inclined to trust the dev team. The
> > question is in reporting the error state. An event is sub-par because
> > it is a terminal condition. It won't be retried, so event-carried
> > data will eventually age-out. They have added an "error" field which
> > indicates the existence of an error and details about it.
> >
> > I don't know if we have other precedents of this pattern or some other
> > way to handle this. It could be a Condition, but it sort of goes
> > against the recent edits around Condition conventions being an
> > extension point.
>
>
> Pods and jobs that are restartnever have a terminal phase (arguably
> could be a Boolean). Is the analogy between Jobs and Snapshots
> sufficient?
Well, we tell people not to use "Phase" in APIs. Jobs seems apropos.
I see it has status fields to convey the final situation, so I guess
error struct here seems OK.
> >
> > Thoughts?
> >
> > Other than these two, I have given some minor feedback that they will
> > incorporate, and then I am satisfied.
> >
> > Tim
> >
> > --
> > You received this message because you are subscribed to the Google Groups "kubernetes-api-reviewers" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-api-rev...@googlegroups.com.
> > To post to this group, send email to kubernetes-a...@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-api-reviewers/CAO_RewapCRkfzjcjHRy6G2-fBJp%3DeakM-ZEf4KX51k_YG5hoVQ%40mail.gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "kubernetes-api-reviewers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-api-rev...@googlegroups.com.
> To post to this group, send email to kubernetes-a...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-api-reviewers/CAH16ShLRm_Q9d0J_GC%2B3V16qWOi6nq%3DaZK3%3Dv8W8jzuQ6xAiTA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "kubernetes-api-reviewers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-api-rev...@googlegroups.com.
To post to this group, send email to kubernetes-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-api-reviewers/CAO_RewZZZvEaL4UctJcBoqmx0yqM-jArScFzfVHUXMgxB5Jk8w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-api-reviewers/CAO_Rewa4hhHqWD9QZO34LmnB27nnzU4U5z7Ebu%2BuyD1pYV34Zg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-arch...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewbVsKh78%2BmtcwEExtJra_Fny84u8sVMdK9wJe-G92pn_Q%40mail.gmail.com.
One slightly related thing here wrt API groups that I noticed when playing with Istio is a set of CRD types that are domain specific for various adapters. These are all part of the main Istio API group. To me this smells bad. I would expect that each of these "pluggable" things would be versioned independently.So the axis wrt API groups are user vs. admin but also "core" vs. "plugin". This is going to be relevant as we start breaking out different provider types and parameters with domain specific parameters.(Am I making sense? This stuff is hard to describe concisely)
Joe--On Thu, Aug 16, 2018 at 12:59 PM 'Tim Hockin' via kubernetes-sig-architecture <kubernetes-si...@googlegroups.com> wrote:Cherrypicking one comment
On Thu, Aug 16, 2018 at 12:52 PM Brian Grant <brian...@google.com> wrote:
> The goal for groups is to evolve a related set of functionality consistently. That consideration outweighed the user vs admin distinction. My experience with versioning every resource type individually is that it can be confusing to use,
I mentioned this once, but I don't think the loop was ever closed.
The way API machinery is evolving is effectively a per-Kind version.
Each version of a group can be sparse with respect to all others, so
we WILL end up with what you just described (unless I misunderstand,
but I tried really hard to clarify this).
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-arch...@googlegroups.com.
To post to this group, send email to kubernetes-si...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-architecture/CAO_RewbVsKh78%2BmtcwEExtJra_Fny84u8sVMdK9wJe-G92pn_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "kubernetes-api-reviewers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-api-rev...@googlegroups.com.
To post to this group, send email to kubernetes-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-api-reviewers/CAEAFPY%2B2LNnALuSFxN%2BRPiKbwZcwht2M3MrP8JOwjmwCRVFaZA%40mail.gmail.com.