-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor the spec documentation with better structure: #406
Conversation
resouer
commented
Sep 15, 2020
- Clarify the intention that workload type is the NAME of workload definition.
- Clarify ContainerizedWorkload as schema of Server workload type.
- Create placeholder for Task workload type.
- Fix several bugs
- Remove SPEC_WORKING_DRAFT.md.
- Rename SPEC_LATEST_STABLE.md to SPEC.md
- Move specification components as part of SPEC.md, not readme.
656be86
to
d8eef93
Compare
1. Clarify the intention that workload type is the NAME of workload definition. 2. Clarify ContainerizedWorkload as schema of Server workload type. 3. Create placeholder for Task workload type. 4. Fix several bugs 5. Remove SPEC_WORKING_DRAFT.md. 6. Rename SPEC_LATEST_STABLE.md to SPEC.md 7. Move specification components as part of SPEC.md, not readme.
d8eef93
to
5542477
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|-|-|-| | ||
|`workload.oam.dev/replicable`|boolean|Whether they are replicable. If not, no replication or scaling traits may be assigned.| | ||
|`workload.oam.dev/daemonized`|boolean|Whether they are daemonized. For daemon types, if the workload exits, this is considered a fault, and the system must fix it. For non-daemonized types, exit is considered a success if no error is reported.| | ||
|`workload.oam.dev/exposed`|boolean|Whether they are exposed, i.e. have a service endpoint with a stable name for network traffic. Workload types that have a service endpoint need a virtual IP address (VIP) with a DNS name to represent the component as a whole, addressable within their network scope and can be assigned traffic routing traits.| | ||
|`workload.oam.dev/podspecable`|boolean|Whether this workload can be addressed by Kubernetes `PodSpec`. If yes, the implementation could manipulate the workload by leveraging `PodSpec` structure, instead of being agnostic of the workload's schematic. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for clarify, we haven't implemented this label mechanism yet.
Co-authored-by: Hongchao Deng <[email protected]>
Co-authored-by: Hongchao Deng <[email protected]>