Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
KubernetesHL
Class KubernetesHL
Hierarchy
HighLevelBase
KubernetesHL
Index
Constructors
constructor
Properties
config
nodes
rmb
Methods
_delete
_delete
Machine
Network
_filter
Workloads
add_
master
add_
worker
delete
Constructors
constructor
new
KubernetesHL
(
config
:
GridClientConfig
)
:
KubernetesHL
Parameters
config:
GridClientConfig
Returns
KubernetesHL
Properties
config
config
:
GridClientConfig
nodes
nodes
:
Nodes
rmb
rmb
:
RMB
Methods
_delete
_delete
(
deployment
:
Deployment
, names
:
string
[]
, types
?:
WorkloadTypes
[]
)
:
Promise
<
TwinDeployment
[]
>
Parameters
deployment:
Deployment
names:
string
[]
types:
WorkloadTypes
[]
= ...
Returns
Promise
<
TwinDeployment
[]
>
_delete
Machine
Network
_delete
Machine
Network
(
deployment
:
Deployment
, remainingWorkloads
:
Workload
[]
, deletedMachineWorkloads
:
Workload
[]
, node_id
:
number
)
:
Promise
<
[
TwinDeployment
[]
,
Workload
[]
,
number
[]
,
string
[]
,
Network
]
>
Parameters
deployment:
Deployment
remainingWorkloads:
Workload
[]
deletedMachineWorkloads:
Workload
[]
node_id:
number
Returns
Promise
<
[
TwinDeployment
[]
,
Workload
[]
,
number
[]
,
string
[]
,
Network
]
>
_filter
Workloads
_filter
Workloads
(
deployment
:
Deployment
, names
:
string
[]
, types
?:
WorkloadTypes
[]
)
:
[
Workload
[]
,
Workload
[]
]
Parameters
deployment:
Deployment
names:
string
[]
types:
WorkloadTypes
[]
= ...
Returns
[
Workload
[]
,
Workload
[]
]
add_
master
add_
master
(
name
:
string
, nodeId
:
number
, secret
:
string
, cpu
:
number
, memory
:
number
, rootfs_size
:
number
, diskSize
:
number
, publicIp
:
boolean
, publicIp6
:
boolean
, planetary
:
boolean
, network
:
Network
, sshKey
:
string
, metadata
?:
string
, description
?:
string
, qsfs_disks
?:
QSFSDiskModel
[]
, qsfsProjectName
?:
string
, addAccess
?:
boolean
, accessNodeId
?:
number
, ip
?:
string
, corex
?:
boolean
, solutionProviderId
:
number
, zlogsOutput
?:
string
, gpus
?:
string
[]
)
:
Promise
<
[
TwinDeployment
[]
,
string
]
>
Parameters
name:
string
nodeId:
number
secret:
string
cpu:
number
memory:
number
rootfs_size:
number
diskSize:
number
publicIp:
boolean
publicIp6:
boolean
planetary:
boolean
network:
Network
sshKey:
string
metadata:
string
= ""
description:
string
= ""
qsfs_disks:
QSFSDiskModel
[]
= []
qsfsProjectName:
string
= ""
addAccess:
boolean
= false
accessNodeId:
number
= 0
ip:
string
= ""
corex:
boolean
= false
solutionProviderId:
number
Optional
zlogsOutput:
string
gpus:
string
[]
= []
Returns
Promise
<
[
TwinDeployment
[]
,
string
]
>
add_
worker
add_
worker
(
name
:
string
, nodeId
:
number
, secret
:
string
, masterIp
:
string
, cpu
:
number
, memory
:
number
, rootfs_size
:
number
, diskSize
:
number
, publicIp
:
boolean
, publicIp6
:
boolean
, planetary
:
boolean
, network
:
Network
, sshKey
:
string
, metadata
?:
string
, description
?:
string
, qsfs_disks
?:
QSFSDiskModel
[]
, qsfsProjectName
?:
string
, addAccess
?:
boolean
, accessNodeId
?:
number
, ip
?:
string
, corex
?:
boolean
, solutionProviderId
:
number
, zlogsOutput
?:
string
, gpus
?:
string
[]
)
:
Promise
<
[
TwinDeployment
[]
,
string
]
>
Parameters
name:
string
nodeId:
number
secret:
string
masterIp:
string
cpu:
number
memory:
number
rootfs_size:
number
diskSize:
number
publicIp:
boolean
publicIp6:
boolean
planetary:
boolean
network:
Network
sshKey:
string
metadata:
string
= ""
description:
string
= ""
qsfs_disks:
QSFSDiskModel
[]
= []
qsfsProjectName:
string
= ""
addAccess:
boolean
= false
accessNodeId:
number
= 0
ip:
string
= ""
corex:
boolean
= false
solutionProviderId:
number
Optional
zlogsOutput:
string
gpus:
string
[]
= []
Returns
Promise
<
[
TwinDeployment
[]
,
string
]
>
delete
delete
(
deployment
:
Deployment
, names
:
string
[]
)
:
Promise
<
TwinDeployment
[]
>
Parameters
deployment:
Deployment
names:
string
[]
Returns
Promise
<
TwinDeployment
[]
>
Exports
KubernetesHL
constructor
config
nodes
rmb
_delete
_delete
Machine
Network
_filter
Workloads
add_
master
add_
worker
delete
Generated using
TypeDoc