Sha256: 5af5ae99c4ed4c9781d5be04081b306df1799e4401ae1ada3ecb7e7485ddf9de

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

# NodeReplace

You can recreate a single Kubernetes Node.

Managed Kubernetes starts a process which based on the nodepool's template creates & configures a new node, waits for status "ACTIVE", and migrates all the pods from the faulty node, deleting it once empty. While this operation occurs, the nodepool will have an extra billable "ACTIVE" node.

```text
knife ionoscloud node replace NODE_ID [NODE_ID] (options)
```

## Available options:

### Required options:

* cluster\_id
* nodepool\_id
* ionoscloud\_username
* ionoscloud\_password

```text
    extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
        path to the additional config file

    cluster_id: --cluster-id CLUSTER_ID, -C CLUSTER_ID
        the ID of the K8s Cluster (required)

    nodepool_id: --nodepool-id NODEPOOL_ID, -P NODEPOOL_ID
        the ID of the K8s Nodepool (required)

    ionoscloud_username: --username USERNAME, -u USERNAME
        your Ionoscloud username (required)

    ionoscloud_password: --password PASSWORD, -p PASSWORD
        your Ionoscloud password (required)

    ionoscloud_url: --url URL
        the Ionoscloud API URL

```
## Example

```text
knife ionoscloud node replace NODE_ID 
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
knife-ionoscloud-6.1.1 docs/subcommands/kubernetes/node_replace.md
knife-ionoscloud-6.1.0 docs/subcommands/kubernetes/node_replace.md
knife-ionoscloud-6.0.0 docs/subcommands/node_replace.md