File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/clients/src/api/k8s/v1 Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -609,6 +609,10 @@ export class K8SV1GenAPI extends API {
609609 'region' ,
610610 request . region ?? this . client . settings . defaultRegion ,
611611 ) } /nodes/${ validatePathParam ( 'nodeId' , request . nodeId ) } `,
612+ urlParams : urlParams (
613+ [ 'replace' , request . replace ] ,
614+ [ 'skip_drain' , request . skipDrain ] ,
615+ ) ,
612616 } ,
613617 unmarshalNode ,
614618 )
Original file line number Diff line number Diff line change @@ -1004,7 +1004,12 @@ export type RebootNodeRequest = {
10041004export type DeleteNodeRequest = {
10051005 /** Region to target. If none is passed will use default region from the config */
10061006 region ?: Region
1007+ /** The ID of the node to replace */
10071008 nodeId : string
1009+ /** Skip draining node from its workload */
1010+ skipDrain : boolean
1011+ /** Add a new node after the deletion of this node */
1012+ replace : boolean
10081013}
10091014
10101015export type ListVersionsRequest = {
You can’t perform that action at this time.
0 commit comments