summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/responses/application1.json
blob: 40719153b9e5af5acbdb1476d48b0cab2886681d (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
{
  "url" : "http://localhost:8080/nodes/v2/applications/tenant1.application1.instance1",
  "id" : "tenant1.application1.instance1",
  "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":"x86_64"
        }
      },
      "max" : {
        "nodes" : 8,
        "groups" : 2,
        "resources" : {
          "vcpu" : 4.0,
          "memoryGb" : 16.0,
          "diskGb" : 1000.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"
        }
      },
      "suggested" : {
        "nodes" : 6,
        "groups" : 2,
        "resources" : {
          "vcpu" : 3.0,
          "memoryGb" : 20.0,
          "diskGb" : 100.0,
          "bandwidthGbps" : 1.0,
          "diskSpeed" : "fast",
          "storageType" : "any",
          "architecture":"x86_64"
        }
      },
      "target" : {
        "nodes" : 4,
        "groups" : 1,
        "resources" : {
          "vcpu" : 3.0,
          "memoryGb" : 16.0,
          "diskGb" : 100.0,
          "bandwidthGbps" : 1.0,
          "diskSpeed" : "fast",
          "storageType" : "any",
          "architecture":"x86_64"
        }
      },
      "utilization" : {
          "cpu" : 0.0,
          "idealCpu": 0.1375,
          "currentCpu": 0.0,
          "memory" : 0.0,
          "idealMemory": 0.65,
          "currentMemory": 0.0,
          "disk" : 0.0,
          "idealDisk": 0.95,
          "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": 600000,
      "maxQueryGrowthRate": 0.1,
      "currentQueryFractionOfMax": 0.5
    }
  }
}