summaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-clusters.json
blob: 9df83cb20896d117c9142102970354474b1eb071 (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
{
  "clusters": {
    "default": {
      "type":"container",
      "min": {
        "nodes": 2,
        "groups": 1,
        "nodeResources": {
          "vcpu": 1.0,
          "memoryGb": 4.0,
          "diskGb": 20.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "slow",
          "storageType": "remote"
        },
        "cost": "(ignore)"
      },
      "max": {
        "nodes": 2,
        "groups": 1,
        "nodeResources": {
          "vcpu": 4.0,
          "memoryGb": 16.0,
          "diskGb": 90.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "slow",
          "storageType": "remote"
        },
        "cost": "(ignore)"
      },
      "current": {
        "nodes": 2,
        "groups": 1,
        "nodeResources": {
          "vcpu": 2.0,
          "memoryGb": 8.0,
          "diskGb": 50.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "slow",
          "storageType": "remote"
        },
        "cost": "(ignore)"
      },
      "target": {
        "nodes": 2,
        "groups": 1,
        "nodeResources": {
          "vcpu": 3.0,
          "memoryGb": 8.0,
          "diskGb": 50.0,
          "bandwidthGbps": 1.0,
          "diskSpeed": "slow",
          "storageType": "remote"
        },
        "cost": "(ignore)"
      },
      "utilization": {
        "cpu": 0.1,
        "idealCpu": 0.2,
        "memory": 0.3,
        "idealMemory": 0.4,
        "disk": 0.5,
        "idealDisk": 0.6
      },
      "scalingEvents": [
        {
          "from": {
            "nodes": 0,
            "groups": 0,
            "nodeResources": {
              "vcpu": 0.0,
              "memoryGb": 0.0,
              "diskGb": 0.0,
              "bandwidthGbps": 0.0,
              "diskSpeed": "fast",
              "storageType": "any"
            },
            "cost": "(ignore)"
          },
          "to": {
            "nodes": 2,
            "groups": 1,
            "nodeResources": {
              "vcpu": 2.0,
              "memoryGb": 8.0,
              "diskGb": 50.0,
              "bandwidthGbps": 1.0,
              "diskSpeed": "slow",
              "storageType": "remote"
            },
            "cost": "(ignore)"
          },
          "at": 1234,
          "completion": 2234
        }
      ],
      "autoscalingStatus": "the autoscaling status",
      "scalingDuration": 360000,
      "maxQueryGrowthRate": 0.7,
      "currentQueryFractionOfMax":0.3
    }
  }
}