Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/clients/src/api/k8s/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ export class K8SV1GenAPI extends API {
'region',
request.region ?? this.client.settings.defaultRegion,
)}/nodes/${validatePathParam('nodeId', request.nodeId)}`,
urlParams: urlParams(
['replace', request.replace],
['skip_drain', request.skipDrain],
),
},
unmarshalNode,
)
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,12 @@ export type RebootNodeRequest = {
export type DeleteNodeRequest = {
/** Region to target. If none is passed will use default region from the config */
region?: Region
/** The ID of the node to replace */
nodeId: string
/** Skip draining node from its workload */
skipDrain: boolean
/** Add a new node after the deletion of this node */
replace: boolean
}

export type ListVersionsRequest = {
Expand Down