Class: ReplicaSet
Extends
Constructors
new ReplicaSet()
new ReplicaSet(json: KubeReplicaSet, cluster?: string): ReplicaSet
Parameters
| Parameter | Type |
|---|---|
json | KubeReplicaSet |
cluster? | string |
Returns
Inherited from
Defined in
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | src/lib/k8s/KubeObject.ts:29 |
jsonData | public | KubeReplicaSet | undefined | - | - | KubeObject.jsonData | src/lib/k8s/KubeObject.ts:26 |
_internalApiEndpoint? | static | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | src/lib/k8s/KubeObject.ts:43 |
apiName | static | string | 'replicasets' | Name of the resource, plural, used in API | KubeObject.apiName | - | src/lib/k8s/replicaSet.ts:29 |
apiVersion | static | string | 'apps/v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | src/lib/k8s/replicaSet.ts:30 |
isNamespaced | static | boolean | true | Whether the object is namespaced. | KubeObject.isNamespaced | - | src/lib/k8s/replicaSet.ts:31 |
kind | static | string | 'ReplicaSet' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | src/lib/k8s/replicaSet.ts:28 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | src/lib/k8s/KubeObject.ts:28 |
Accessors
cluster
get cluster(): string
set cluster(cluster: string): void
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
string
Inherited from
Defined in
detailsRoute
get detailsRoute(): string
Returns
string
Inherited from
Defined in
isNamespaced
get isNamespaced(): boolean
Returns
boolean
Inherited from
Defined in
kind
get kind(): any
Returns
any
Inherited from
Defined in
listRoute
get listRoute(): string
Returns
string
Inherited from
Defined in
metadata
get metadata(): KubeMetadata
Returns
Inherited from
Defined in
pluralName
get pluralName(): string
Returns
string
Inherited from
Defined in
spec
get spec(): object
Returns
object
minReadySeconds
minReadySeconds: number;
replicas
replicas: number;
selector
selector: LabelSelector;
template
template: object;
template.metadata?
optional metadata: KubeMetadata;
template.spec
spec: KubePodSpec;
Defined in
status
get status(): object
Returns
object
availableReplicas
availableReplicas: number;
conditions
conditions: Omit<KubeCondition, "lastProbeTime" | "lastUpdateTime">[];
fullyLabeledReplicas
fullyLabeledReplicas: number;
observedGeneration
observedGeneration: number;
readyReplicas
readyReplicas: number;
replicas
replicas: number;
Defined in
apiEndpoint
get static apiEndpoint(): ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>
set static apiEndpoint(endpoint: ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>): void
Parameters
| Parameter | Type |
|---|---|
endpoint | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> |
Returns
ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>
Inherited from
Defined in
className
get static className(): string
Returns
string
Inherited from
Defined in
detailsRoute
get static detailsRoute(): string
Returns
string
Inherited from
Defined in
listRoute
get static listRoute(): string
Returns
string
Inherited from
Defined in
pluralName
get static pluralName(): string
Returns
string
Inherited from
Defined in
Methods
_class()
_class(): typeof KubeObject
Returns
typeof KubeObject
Inherited from
Defined in
delete()
delete(): Promise<any>