summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/responses/application2.json
blob: 41aa4257c0002587a848cf14202e93b0af451da8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  "url": "http://localhost:8080/nodes/v2/applications/tenant2.application2.instance2",
  "id": "tenant2.application2.instance2",
  "clusters": {
    "id2": {
      "type": "content",
      "min": {
        "nodes": 2,
        "groups": 1,
        "resources": {
          "vcpu": 2.0,
          "memoryGb": 8.0,
          "diskGb": 50.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "fast",
          "storageType": "any",
          "architecture":"x86_64"
        }
      },
      "max": {
        "nodes": 2,
        "groups": 1,
        "resources": {
          "vcpu": 2.0,
          "memoryGb": 8.0,
          "diskGb": 50.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "fast",
          "storageType": "any",
          "architecture":"x86_64"
        }
      },
      "current": {
        "nodes": 2,
        "groups": 1,
        "resources": {
          "vcpu": 2.0,
          "memoryGb": 8.0,
          "diskGb": 50.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "fast",
          "storageType": "local",
          "architecture":"x86_64"
        }
      },
      "utilization" : {
        "cpu" : 0.0,
        "idealCpu": 0.1394913986537023,
        "currentCpu": 0.0,
        "memory" : 0.0,
        "idealMemory": 0.325,
        "currentMemory": 0.0,
        "disk" : 0.0,
        "idealDisk": 0.3,
        "currentDisk": 0.0
      },
      "scalingEvents" : [
        {
          "from": {
            "nodes": 0,
            "groups": 0,
            "resources": {
              "vcpu" : 0.0,
              "memoryGb": 0.0,
              "diskGb": 0.0,
              "bandwidthGbps": 0.0,
              "diskSpeed": "fast",
              "storageType": "any",
              "architecture":"x86_64"
            }
          },
          "to": {
            "nodes": 2,
            "groups": 1,
            "resources" : {
              "vcpu": 2.0,
              "memoryGb": 8.0,
              "diskGb": 50.0,
              "bandwidthGbps": 1.0,
              "diskSpeed": "fast",
              "storageType": "local",
              "architecture":"x86_64"
            }
          },
          "at" : 123
        }
      ],
      "autoscalingStatusCode": "unavailable",
      "autoscalingStatus" : "",
      "scalingDuration": 43200000,
      "maxQueryGrowthRate": 0.1,
      "currentQueryFractionOfMax": 0.5
    }
  }
}