Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Update resources object  #63

@cesarpomar

Description

@cesarpomar

Nomad v1.1.3

"Resources": {
  "CPU": 0,
  "Cores": 1,
  "MemoryMB": 100,
  "MemoryMaxMB": 0,
  "DiskMB": 0,
  "IOPS": 0,
  "Networks": null,
  "Devices": null
},

Java sdk 0.11.3.0

public final class Resources extends ApiObject {
    private Integer cpu;
    private Integer memoryMb;
    private Integer diskMb;
    private List<NetworkResource> networks;
    private List<RequestedDevice> devices;
    private Integer iops;

I need the Cores parameter to limit a docker container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions