kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.308 → 0.0.0-support-instance-template-ops.20260920.333
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/models/component-item-create.d.ts +1 -7
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +1 -7
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-overlay-field.d.ts +0 -1
- package/dist/adminapi/models/instance-template-overlay-field.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-overlay-field.js +0 -1
- package/dist/adminapi/models/instance-template-overlay-field.js.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +1 -7
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +1 -7
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-overlay-field.d.ts +0 -1
- package/dist/openapi/models/instance-template-overlay-field.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-overlay-field.js +0 -1
- package/dist/openapi/models/instance-template-overlay-field.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/models/component-item-create.ts +1 -7
- package/src/adminapi/models/instance-template-create.ts +1 -7
- package/src/adminapi/models/instance-template-overlay-field.ts +0 -1
- package/src/adminapi.yaml +2 -9
- package/src/openapi/models/component-item-create.ts +1 -7
- package/src/openapi/models/instance-template-create.ts +1 -7
- package/src/openapi/models/instance-template-overlay-field.ts +0 -1
- package/src/openapi.yaml +2 -9
|
@@ -37,7 +37,7 @@ export interface ComponentItemCreate {
|
|
|
37
37
|
*/
|
|
38
38
|
'replicas'?: number | null;
|
|
39
39
|
/**
|
|
40
|
-
* Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
40
|
+
* Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
41
41
|
* @type {Array<InstanceTemplateCreate>}
|
|
42
42
|
* @memberof ComponentItemCreate
|
|
43
43
|
*/
|
|
@@ -48,12 +48,6 @@ export interface ComponentItemCreate {
|
|
|
48
48
|
* @memberof ComponentItemCreate
|
|
49
49
|
*/
|
|
50
50
|
'availabilityZone'?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Node group for a component without instance templates (e.g. arbiter).
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ComponentItemCreate
|
|
55
|
-
*/
|
|
56
|
-
'nodeGroup'?: string;
|
|
57
51
|
/**
|
|
58
52
|
* Whether to skip resource constraint validation when creating cluster
|
|
59
53
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
14
|
+
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -40,12 +40,6 @@ export interface InstanceTemplateCreate {
|
|
|
40
40
|
* @memberof InstanceTemplateCreate
|
|
41
41
|
*/
|
|
42
42
|
'availabilityZone'?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Node group for this template. Omit to inherit component scheduling.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof InstanceTemplateCreate
|
|
47
|
-
*/
|
|
48
|
-
'nodeGroup'?: string;
|
|
49
43
|
/**
|
|
50
44
|
* Env vars merged into this template (same-name keys overwritten).
|
|
51
45
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-overlay-field.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"instance-template-overlay-field.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,4BAA4B;;;;;CAK/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-overlay-field.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,4BAA4B,GAAG;IACxC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,
|
|
1
|
+
{"version":3,"file":"instance-template-overlay-field.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,4BAA4B,GAAG;IACxC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,aAAa;CACpB,CAAC"}
|
|
@@ -37,7 +37,7 @@ export interface ComponentItemCreate {
|
|
|
37
37
|
*/
|
|
38
38
|
'replicas'?: number | null;
|
|
39
39
|
/**
|
|
40
|
-
* Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
40
|
+
* Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
41
41
|
* @type {Array<InstanceTemplateCreate>}
|
|
42
42
|
* @memberof ComponentItemCreate
|
|
43
43
|
*/
|
|
@@ -48,12 +48,6 @@ export interface ComponentItemCreate {
|
|
|
48
48
|
* @memberof ComponentItemCreate
|
|
49
49
|
*/
|
|
50
50
|
'availabilityZone'?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Node group for a component without instance templates (e.g. arbiter).
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ComponentItemCreate
|
|
55
|
-
*/
|
|
56
|
-
'nodeGroup'?: string;
|
|
57
51
|
/**
|
|
58
52
|
* Whether to skip resource constraint validation when creating cluster
|
|
59
53
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
14
|
+
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -40,12 +40,6 @@ export interface InstanceTemplateCreate {
|
|
|
40
40
|
* @memberof InstanceTemplateCreate
|
|
41
41
|
*/
|
|
42
42
|
'availabilityZone'?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Node group for this template. Omit to inherit component scheduling.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof InstanceTemplateCreate
|
|
47
|
-
*/
|
|
48
|
-
'nodeGroup'?: string;
|
|
49
43
|
/**
|
|
50
44
|
* Env vars merged into this template (same-name keys overwritten).
|
|
51
45
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-overlay-field.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"instance-template-overlay-field.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,4BAA4B;;;;;CAK/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-overlay-field.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,4BAA4B,GAAG;IACxC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,
|
|
1
|
+
{"version":3,"file":"instance-template-overlay-field.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-overlay-field.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,4BAA4B,GAAG;IACxC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,aAAa;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kb-cloud-client-typescript",
|
|
3
|
-
"version": "0.0.0-support-instance-template-ops.20260920.
|
|
3
|
+
"version": "0.0.0-support-instance-template-ops.20260920.333",
|
|
4
4
|
"description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,7 +48,7 @@ export interface ComponentItemCreate {
|
|
|
48
48
|
*/
|
|
49
49
|
'replicas'?: number | null;
|
|
50
50
|
/**
|
|
51
|
-
* Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
51
|
+
* Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
52
52
|
* @type {Array<InstanceTemplateCreate>}
|
|
53
53
|
* @memberof ComponentItemCreate
|
|
54
54
|
*/
|
|
@@ -59,12 +59,6 @@ export interface ComponentItemCreate {
|
|
|
59
59
|
* @memberof ComponentItemCreate
|
|
60
60
|
*/
|
|
61
61
|
'availabilityZone'?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Node group for a component without instance templates (e.g. arbiter).
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ComponentItemCreate
|
|
66
|
-
*/
|
|
67
|
-
'nodeGroup'?: string;
|
|
68
62
|
/**
|
|
69
63
|
* Whether to skip resource constraint validation when creating cluster
|
|
70
64
|
* @type {boolean}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
21
|
+
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
@@ -47,12 +47,6 @@ export interface InstanceTemplateCreate {
|
|
|
47
47
|
* @memberof InstanceTemplateCreate
|
|
48
48
|
*/
|
|
49
49
|
'availabilityZone'?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Node group for this template. Omit to inherit component scheduling.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof InstanceTemplateCreate
|
|
54
|
-
*/
|
|
55
|
-
'nodeGroup'?: string;
|
|
56
50
|
/**
|
|
57
51
|
* Env vars merged into this template (same-name keys overwritten).
|
|
58
52
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
package/src/adminapi.yaml
CHANGED
|
@@ -28950,7 +28950,7 @@ components:
|
|
|
28950
28950
|
instanceTemplateCreate:
|
|
28951
28951
|
type: object
|
|
28952
28952
|
description: |
|
|
28953
|
-
Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
28953
|
+
Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
28954
28954
|
required:
|
|
28955
28955
|
- name
|
|
28956
28956
|
- replicas
|
|
@@ -28969,9 +28969,6 @@ components:
|
|
|
28969
28969
|
availabilityZone:
|
|
28970
28970
|
type: string
|
|
28971
28971
|
description: Availability zone for this template. Omit to inherit component scheduling (no default zone is invented).
|
|
28972
|
-
nodeGroup:
|
|
28973
|
-
type: string
|
|
28974
|
-
description: Node group for this template. Omit to inherit component scheduling.
|
|
28975
28972
|
env:
|
|
28976
28973
|
type: array
|
|
28977
28974
|
description: Env vars merged into this template (same-name keys overwritten).
|
|
@@ -29076,15 +29073,12 @@ components:
|
|
|
29076
29073
|
instanceTemplates:
|
|
29077
29074
|
type: array
|
|
29078
29075
|
minItems: 1
|
|
29079
|
-
description: Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
29076
|
+
description: Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
29080
29077
|
items:
|
|
29081
29078
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
29082
29079
|
availabilityZone:
|
|
29083
29080
|
type: string
|
|
29084
29081
|
description: Availability zone for a component without instance templates (e.g. arbiter).
|
|
29085
|
-
nodeGroup:
|
|
29086
|
-
type: string
|
|
29087
|
-
description: Node group for a component without instance templates (e.g. arbiter).
|
|
29088
29082
|
skipResourceConstraints:
|
|
29089
29083
|
type: boolean
|
|
29090
29084
|
description: Whether to skip resource constraint validation when creating cluster
|
|
@@ -38234,7 +38228,6 @@ components:
|
|
|
38234
38228
|
enum:
|
|
38235
38229
|
- storageClass
|
|
38236
38230
|
- availabilityZone
|
|
38237
|
-
- nodeGroup
|
|
38238
38231
|
- env
|
|
38239
38232
|
- annotations
|
|
38240
38233
|
instanceTemplateEnv:
|
|
@@ -48,7 +48,7 @@ export interface ComponentItemCreate {
|
|
|
48
48
|
*/
|
|
49
49
|
'replicas'?: number | null;
|
|
50
50
|
/**
|
|
51
|
-
* Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
51
|
+
* Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
52
52
|
* @type {Array<InstanceTemplateCreate>}
|
|
53
53
|
* @memberof ComponentItemCreate
|
|
54
54
|
*/
|
|
@@ -59,12 +59,6 @@ export interface ComponentItemCreate {
|
|
|
59
59
|
* @memberof ComponentItemCreate
|
|
60
60
|
*/
|
|
61
61
|
'availabilityZone'?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Node group for a component without instance templates (e.g. arbiter).
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ComponentItemCreate
|
|
66
|
-
*/
|
|
67
|
-
'nodeGroup'?: string;
|
|
68
62
|
/**
|
|
69
63
|
* Whether to skip resource constraint validation when creating cluster
|
|
70
64
|
* @type {boolean}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
21
|
+
* Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
@@ -47,12 +47,6 @@ export interface InstanceTemplateCreate {
|
|
|
47
47
|
* @memberof InstanceTemplateCreate
|
|
48
48
|
*/
|
|
49
49
|
'availabilityZone'?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Node group for this template. Omit to inherit component scheduling.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof InstanceTemplateCreate
|
|
54
|
-
*/
|
|
55
|
-
'nodeGroup'?: string;
|
|
56
50
|
/**
|
|
57
51
|
* Env vars merged into this template (same-name keys overwritten).
|
|
58
52
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
package/src/openapi.yaml
CHANGED
|
@@ -24612,7 +24612,7 @@ components:
|
|
|
24612
24612
|
instanceTemplateCreate:
|
|
24613
24613
|
type: object
|
|
24614
24614
|
description: |
|
|
24615
|
-
Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone,
|
|
24615
|
+
Create assignment for one instance template. name and replicas are required. storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. classCode and volume sizes are defined once on the component and copied onto each template.
|
|
24616
24616
|
required:
|
|
24617
24617
|
- name
|
|
24618
24618
|
- replicas
|
|
@@ -24631,9 +24631,6 @@ components:
|
|
|
24631
24631
|
availabilityZone:
|
|
24632
24632
|
type: string
|
|
24633
24633
|
description: Availability zone for this template. Omit to inherit component scheduling (no default zone is invented).
|
|
24634
|
-
nodeGroup:
|
|
24635
|
-
type: string
|
|
24636
|
-
description: Node group for this template. Omit to inherit component scheduling.
|
|
24637
24634
|
env:
|
|
24638
24635
|
type: array
|
|
24639
24636
|
description: Env vars merged into this template (same-name keys overwritten).
|
|
@@ -24733,15 +24730,12 @@ components:
|
|
|
24733
24730
|
instanceTemplates:
|
|
24734
24731
|
type: array
|
|
24735
24732
|
minItems: 1
|
|
24736
|
-
description: Per-template replicas and optional overlays. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
24733
|
+
description: Per-template replicas and optional overlays (storageClass, availabilityZone, env, annotations). Node group is cluster-level and inherited by every component and template. Required when the engine option declares instanceTemplate. Names must match instanceTemplate.names exactly. classCode and volumes on the component are copied onto each template; the apiserver does not even-split replicas.
|
|
24737
24734
|
items:
|
|
24738
24735
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
24739
24736
|
availabilityZone:
|
|
24740
24737
|
type: string
|
|
24741
24738
|
description: Availability zone for a component without instance templates (e.g. arbiter).
|
|
24742
|
-
nodeGroup:
|
|
24743
|
-
type: string
|
|
24744
|
-
description: Node group for a component without instance templates (e.g. arbiter).
|
|
24745
24739
|
skipResourceConstraints:
|
|
24746
24740
|
type: boolean
|
|
24747
24741
|
description: Whether to skip resource constraint validation when creating cluster
|
|
@@ -31855,7 +31849,6 @@ components:
|
|
|
31855
31849
|
enum:
|
|
31856
31850
|
- storageClass
|
|
31857
31851
|
- availabilityZone
|
|
31858
|
-
- nodeGroup
|
|
31859
31852
|
- env
|
|
31860
31853
|
- annotations
|
|
31861
31854
|
instanceTemplateEnv:
|