Skip to content

Commit

Permalink
add declaration that runtime could have more extended application sco…
Browse files Browse the repository at this point in the history
…pes as they need (#263)
  • Loading branch information
wonderflow authored and vturecek committed Dec 2, 2019
1 parent a425365 commit 965e565
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 4.application_scopes.md
Expand Up @@ -41,7 +41,7 @@ Core application scope types define grouping constructs for basic runtime behavi

### Extended application scope types

Extended application scopes are optional per runtime, meaning that each runtime may choose which extended scopes are supported. In this version of the spec, allowing user-defined extended application scope types is not supported.
Extended application scopes are optional per runtime, meaning that each runtime may choose which extended scopes are supported. It is expected that runtimes will implement extended scopes as they need. In this version of the spec, allowing user-defined extended application scope types is not supported.

## Defining an application scope
This section is normative because application scopes are an inspectable (and possibly shareable) part of the system. All scopes MUST be representable in the following format.
Expand Down Expand Up @@ -187,10 +187,13 @@ spec:
```

## Extended application scope type definitions

The following extended scope types are available:
- resource quota scope
- identity scope

Besides the above scopes, the runtime could have more extended application scopes as needed.

### Resource Quota scope
The resource quota scope sets resource quotas on a group of components. Resources include CPU, memory, storage, etc. Setting resource quotas for a scope applies across all components within the scope; in other words, the total resource consumption for all components within a scope cannot exceed a certain value.

Expand Down

0 comments on commit 965e565

Please sign in to comment.