Skip to content

Question on required 'resources' attribute #302

@clareliguori

Description

@clareliguori

I noticed that the container resources attribute is marked as required in the spec. Is it intended to be required?
https://github.com/oam-dev/spec/blob/master/3.component_model.md#container

But none of the component schematic examples in this repo have resources configuration:
https://github.com/oam-dev/samples

Similarly there are examples in the Rudr repo without resources config, and the implementation has default values for CPU and memory requirements.
https://github.com/oam-dev/rudr/blob/master/examples/voting/components.yaml
https://github.com/oam-dev/rudr/blob/master/src/schematic/component.rs#L567-L579

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions