aboutsummaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/responses/application1.json
blob: 9f73fcd9a460d0ca243bd6020305a77cd149ca9b (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
  "url" : "http://localhost:8080/nodes/v2/applications/tenant1.application1.instance1",
  "id" : "tenant1.application1.instance1",
  "cloudAccount": "aws:111222333444",
  "version": "5.104.142",
  "clusters" : {
    "id1" : {
      "type": "container",
      "min" : {
        "nodes" : 2,
        "groups" : 1,
        "resources" : {
          "vcpu" : 2.0,
          "memoryGb" : 8.0,
          "diskGb" : 50.0,
          "bandwidthGbps" : 1.0,
          "diskSpeed" : "fast",
          "storageType" : "any",
          "architecture":"any"
        }
      },
      "max" : {
        "nodes" : 8,
        "groups" : 2,
        "resources" : {
          "vcpu" : 4.0,
          "memoryGb" : 16.0,
          "diskGb" : 1000.0,
          "bandwidthGbps" : 1.0,
          "diskSpeed" : "fast",
          "storageType" : "any",
          "architecture":"any"
        }
      },
      "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"
        }
      },
      "suggestions": [
        {
          "at": 123,
          "description": "",
          "ideal": {
            "cpu": 0.0,
            "disk": 0.0,
            "gpu": 0.0,
            "gpuMemory": 0.0,
            "memory": 0.0
          },
          "metrics": {
            "cpuCostPerQuery": 0.0,
            "growthRateHeadroom": 0.0,
            "queryRate": 0.0
          },
          "peak": {
            "cpu": 0.0,
            "disk": 0.0,
            "gpu": 0.0,
            "gpuMemory": 0.0,
            "memory": 0.0
          },
          "resources": {
            "groups": 2,
            "nodes": 6,
            "resources": {
              "architecture": "any",
              "bandwidthGbps": 1.0,
              "diskGb": 100.0,
              "diskSpeed": "fast",
              "memoryGb": 20.0,
              "storageType": "any",
              "vcpu": 3.0
            }
          },
          "status": "unavailable"
        }
      ],
      "target" : {
        "status" : "unavailable",
        "description" : "",
        "resources" : {
          "nodes" : 4,
          "groups" : 1,
          "resources" : {
            "vcpu": 3.0,
            "memoryGb": 16.0,
            "diskGb": 100.0,
            "bandwidthGbps": 1.0,
            "diskSpeed": "fast",
            "storageType": "any",
            "architecture": "any"
          }
        },
        "at" : 123,
        "peak" : {
          "cpu" : 0.1,
          "memory" : 0.2,
          "disk" : 0.3,
          "gpu": 0.0,
          "gpuMemory": 0.0
        },
        "ideal" : {
          "cpu" : 0.4,
          "memory" : 0.5,
          "disk" : 0.6,
          "gpu": 0.0,
          "gpuMemory": 0.0
        },
        "metrics" : {
          "queryRate" : 0.7,
          "growthRateHeadroom" : 0.8,
          "cpuCostPerQuery" : 0.9
        }
      },
      "scalingEvents" : [
        {
          "from": {
            "nodes": 0,
            "groups": 1,
            "resources": {
              "vcpu" : 0.0,
              "memoryGb": 0.0,
              "diskGb": 0.0,
              "bandwidthGbps": 0.0,
              "diskSpeed": "fast",
              "storageType": "any",
              "architecture":"any"
            }
          },
          "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
        }
      ],
      "scalingDuration": 300000
    }
  }
}