Commit Graph

6 Commits

Author SHA1 Message Date
jonjohnsonjr 79b0e5879b Proposal: More uniform conditions (#1266)
* Conditions proposal

Replace LatestRevisionReady condition with:
Configuration.Status.Ready
Service.Status.ConfigurationReady

Updated Service Status to include:
Ready
ConfigurationReady
RouteReady

The overall condition of any resource can be checked by looking at its
Ready condition. This simplifies the logic for clients that need to poll
for Readiness.

For Service, the status of its owned resources can be checked by looking
at its ConfigurationReady and RouteReady conditions. This saves clients
from having to perform an extra hop to determine why a Service is not
Ready. The Ready condition of a Service should reflect a union of the
Ready conditions of its owned Configuration and Route.

Also fix typo: s/meassage/message/

* Pluralize conditions

* Add missing condition to errors example
2018-06-21 08:44:18 -07:00
Matt Moore 56f12ce50a Rename Elafros to Knative Serving in non-Community markdown files. (#1019) 2018-06-01 13:15:11 -07:00
Ville Aikas 86ea1a1976 Rename repo to knative (#1009)
* elafros/elafros -> knative/service

* replace elafros with knative

* changed ela package to serving

* change elafros/build to knative/build and newer version

* things are running mostly

* address build / test failures

* address integration test failures

* repo has not chnaged
2018-05-31 17:21:11 -07:00
Evan Anderson 1ec350998b Service docs (#685)
* Initial checkin of Service docs (aka "Steve")

* Partial checkpoint on updating spec

* Add service to images

Adds Service to images

* Update the rest of examples

* Reorder errors to group logically into deployment and routing errors.

Introduce Service error documentation, and structure error blocks to show how Service aggregates errors from Route and Configuration.

* Address small comments from @vaikas-google and @mattmoor. Did not refactor service.pinned behavior.
2018-05-07 10:59:23 -07:00
Matt Moore c885768008 Update the API spec and overview to reflect ServingState intent. (#657)
* Update the API spec and overview to reflect ServingState intent.

I've reworded the description of a Revision in the overview docs to capture some of the key lifecycle stages a revision may be in.  I also found the existing wording confusing, since it talked about "history", which is more a property of configuration that is enabled by retirement, and I think the new wording better captures this.

I've updated the specification to include `servingState`, clarify where fields aren't available (pointing to issues), and tweak assorted cosmetic things (e.g. trailing whitespace).

Fixes: https://github.com/elafros/elafros/issues/644

* Clarify that blocking Revision creation is NYI (link to issue).

* Various code review updated from @evankanderson and @grantr.
2018-04-19 15:11:17 -07:00
Evan Anderson 4ee69f36ed Commit API spec and design doc (#444)
Initial copy/commit of Elafros API design doc, chunked into sections. Also includes initial definitions of Elafros personas.

Still TODO:
- Appendices A-E, which cover extended use cases.
2018-03-27 15:14:54 -07:00