Class: CompositePodGroup
Defined in: lib/k8s/compositePodGroup.ts:93
Extends
Constructors
Constructor
new CompositePodGroup(json: KubeCompositePodGroup, cluster?: string): CompositePodGroup;
Defined in: lib/k8s/KubeObject.ts:109
Parameters
| Parameter | Type |
|---|---|
json | KubeCompositePodGroup |
cluster? | string |
Returns
CompositePodGroup
Inherited from
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | lib/k8s/KubeObject.ts:59 |
jsonData | public | KubeCompositePodGroup | undefined | - | - | KubeObject.jsonData | lib/k8s/KubeObject.ts:56 |
_internalApiEndpoint? | static | | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | lib/k8s/KubeObject.ts:76 |
apiName | static | string | 'compositepodgroups' | Name of the resource, plural, used in API | KubeObject.apiName | - | lib/k8s/compositePodGroup.ts:95 |
apiVersion | static | string[] | undefined | Only v1alpha3 serves this resource. v1beta1 serves the composite templates within a Workload, but not the groups they are instantiated into. | KubeObject.apiVersion | - | lib/k8s/compositePodGroup.ts:100 |
isNamespaced | static | boolean | true | Whether the object is namespaced. | KubeObject.isNamespaced | - | lib/k8s/compositePodGroup.ts:101 |
isScalable | readonly | boolean | undefined | Whether the object is scalable, and should have a ScaleButton | - | KubeObject.isScalable | lib/k8s/KubeObject.ts:74 |
kind | static | string | 'CompositePodGroup' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | lib/k8s/compositePodGroup.ts:94 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | lib/k8s/KubeObject.ts:58 |
Accessors
cluster
Get Signature
get cluster(): string;
Defined in: lib/k8s/KubeObject.ts:114
Returns
string
Set Signature
set cluster(cluster: string): void;
Defined in: lib/k8s/KubeObject.ts:118
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
void
Inherited from
compositePodGroupTemplateName
Get Signature
get compositePodGroupTemplateName(): string | undefined;
Defined in: lib/k8s/compositePodGroup.ts:141
Name of the template within the Workload this group was created from, if any.
Returns
string | undefined
detailsRoute
Get Signature
get detailsRoute(): string;
Defined in: lib/k8s/KubeObject.ts:126
Returns
string
Inherited from
disruptionMode
Get Signature
get disruptionMode(): "Single" | "All" | undefined;
Defined in: lib/k8s/compositePodGroup.ts:151
Whether a disruption affects one child group at a time, or the whole composite.
Returns
"Single" | "All" | undefined
isNamespaced
Get Signature
get isNamespaced(): boolean;
Defined in: lib/k8s/KubeObject.ts:235
Returns
boolean
Inherited from
isScalable
Get Signature
get isScalable(): boolean;
Defined in: lib/k8s/KubeObject.ts:239
Returns
boolean
Inherited from
kind
Get Signature
get kind(): any;
Defined in: lib/k8s/KubeObject.ts:189
Returns
any
Inherited from
listRoute
Get Signature
get listRoute(): string;
Defined in: lib/k8s/KubeObject.ts:181
Returns
string
Inherited from
metadata
Get Signature
get metadata(): KubeMetadata;
Defined in: lib/k8s/KubeObject.ts:231
Returns
Inherited from
minGroupCount
Get Signature
get minGroupCount(): number | undefined;
Defined in: lib/k8s/compositePodGroup.ts:131
Child groups that must be schedulable together, when the gang policy is used.
Returns
number | undefined
parentCompositePodGroupName
Get Signature
get parentCompositePodGroupName(): string | undefined;
Defined in: lib/k8s/compositePodGroup.ts:146
The composite group this one is nested in, when it is not a hierarchy root.
Returns
string | undefined
pluralName
Get Signature
get pluralName(): string;
Defined in: lib/k8s/KubeObject.ts:176
Returns
string
Inherited from
policyKind
Get Signature
get policyKind(): string | undefined;
Defined in: lib/k8s/compositePodGroup.ts:126
Which scheduling policy this group uses, e.g. 'Gang' or 'Basic'.
Returns
string | undefined
schedulingCondition
Get Signature
get schedulingCondition():
| KubeCondition
| undefined;
Defined in: lib/k8s/compositePodGroup.ts:155
Returns
| KubeCondition
| undefined
spec
Get Signature
get spec(): CompositePodGroupSpec;
Defined in: lib/k8s/compositePodGroup.ts:117
Returns
status
Get Signature
get status():
| {
conditions?: KubeCondition[];
}
| undefined;
Defined in: lib/k8s/compositePodGroup.ts:121
Returns
| {
conditions?: KubeCondition[];
}
| undefined
workloadName
Get Signature
get workloadName(): string | undefined;
Defined in: lib/k8s/compositePodGroup.ts:136
Name of the Workload this group was templated from, if any.
Returns
string | undefined
apiEndpoint
Get Signature
get static apiEndpoint():
| ApiClient<KubeObjectInterface>
| ApiWithNamespaceClient<KubeObjectInterface>;
Defined in: lib/k8s/KubeObject.ts:78
Returns
| ApiClient<KubeObjectInterface>
| ApiWithNamespaceClient<KubeObjectInterface>
Set Signature
set static apiEndpoint(endpoint:
| ApiClient<KubeObjectInterface>
| ApiWithNamespaceClient<KubeObjectInterface>): void;
Defined in: lib/k8s/KubeObject.ts:105
Parameters
| Parameter | Type |
|---|---|
endpoint | | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> |
Returns
void
Inherited from
apiGroupName
Get Signature
get static apiGroupName(): string | undefined;
Defined in: lib/k8s/KubeObject.ts:142
Get name of the API group of this resource for example will return batch for CronJob
For core group, like Pods, it will return undefined
API group reference https://kubernetes.io/docs/reference/using-api/#api-groups
Returns
string | undefined
Inherited from
className
Get Signature
get static className(): string;
Defined in: lib/k8s/KubeObject.ts:122
Returns
string
Inherited from
detailsRoute
Get Signature
get static detailsRoute(): string;
Defined in: lib/k8s/KubeObject.ts:130
Returns
string
Inherited from
listRoute
Get Signature
get static listRoute(): string;
Defined in: lib/k8s/KubeObject.ts:185
Returns
string
Inherited from
pluralName
Get Signature
get static pluralName(): string;
Defined in: lib/k8s/KubeObject.ts:170
Returns
string