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
17 changes: 10 additions & 7 deletions calico/reference/resources/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ description: Reference for the Node resource in Calico Open Source that represen

# Node

A node resource (`Node`) represents a node running $[prodname]. When adding a host
to a $[prodname] cluster, a node resource needs to be created which contains the
A node resource (`Node`) represents a node running $[prodname]. Each host
in a $[prodname] cluster has a node resource which contains the
configuration for the `$[nodecontainer]` instance running on the host.

When starting a `$[nodecontainer]` instance, the name supplied to the instance should
match the name configured in the Node resource.

By default, starting a `$[nodecontainer]` instance will automatically create a node resource
using the `hostname` of the compute host.
using the `hostname` of the compute host. With the Kubernetes API datastore, the node resource is instead
the Kubernetes node of the same name, and you cannot create a node resource with `calicoctl`.

## Sample YAML

Expand All @@ -35,19 +36,21 @@ spec:

| Field | Description | Accepted Values | Schema |
| ----- | -------------------------------- | --------------------------------------------------- | ------ |
| name | The name of this node. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string |
| name | The name of this node. Required. | Lowercase alphanumeric string with optional `.` or `-`. | string |

### Spec

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------- | ------- |
| bgp | BGP configuration for this node. Omit if using $[prodname] for policy only. | | [BGP](#bgp) |
| ipv4VXLANTunnelAddr | IPv4 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. If not set, Felix generates the MAC address from the node name. | | string |
| ipv6VXLANTunnelAddr | IPv6 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddrV6 | MAC address of the IPv6 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| orchRefs | Correlates this node to a node in another orchestrator. | | list of [OrchRefs](#orchref) |
| wireguard | WireGuard configuration for this node. This is applicable only if WireGuard is enabled in [Felix Configuration](felixconfig.mdx). | | [WireGuard](#wireguard) |
| addresses | Addresses at which the node can be reached. With the Kubernetes API datastore, this is system configured and should not be updated manually. | | list |
| interfaces | Interfaces on the node and their addresses. This is system configured and should not be updated manually. | | list |

### OrchRef

Expand All @@ -70,5 +73,5 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | ----------------------------------------------------------------------------------------- | --------------- | ------ | ------- |
| interfaceIPv4Address | The IP address and subnet for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address and subnet for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv4Address | The IP address for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
17 changes: 10 additions & 7 deletions calico_versioned_docs/version-3.31/reference/resources/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ description: API for this Calico resource.

# Node

A node resource (`Node`) represents a node running $[prodname]. When adding a host
to a $[prodname] cluster, a node resource needs to be created which contains the
A node resource (`Node`) represents a node running $[prodname]. Each host
in a $[prodname] cluster has a node resource which contains the
configuration for the `$[nodecontainer]` instance running on the host.

When starting a `$[nodecontainer]` instance, the name supplied to the instance should
match the name configured in the Node resource.

By default, starting a `$[nodecontainer]` instance will automatically create a node resource
using the `hostname` of the compute host.
using the `hostname` of the compute host. With the Kubernetes API datastore, the node resource is instead
the Kubernetes node of the same name, and you cannot create a node resource with `calicoctl`.

## Sample YAML

Expand All @@ -35,19 +36,21 @@ spec:

| Field | Description | Accepted Values | Schema |
| ----- | -------------------------------- | --------------------------------------------------- | ------ |
| name | The name of this node. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string |
| name | The name of this node. Required. | Lowercase alphanumeric string with optional `.` or `-`. | string |

### Spec

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------- | ------- |
| bgp | BGP configuration for this node. Omit if using $[prodname] for policy only. | | [BGP](#bgp) |
| ipv4VXLANTunnelAddr | IPv4 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. If not set, Felix generates the MAC address from the node name. | | string |
| ipv6VXLANTunnelAddr | IPv6 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddrV6 | MAC address of the IPv6 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| orchRefs | Correlates this node to a node in another orchestrator. | | list of [OrchRefs](#orchref) |
| wireguard | WireGuard configuration for this node. This is applicable only if WireGuard is enabled in [Felix Configuration](felixconfig.mdx). | | [WireGuard](#wireguard) |
| addresses | Addresses at which the node can be reached. With the Kubernetes API datastore, this is system configured and should not be updated manually. | | list |
| interfaces | Interfaces on the node and their addresses. This is system configured and should not be updated manually. | | list |

### OrchRef

Expand All @@ -70,5 +73,5 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | ----------------------------------------------------------------------------------------- | --------------- | ------ | ------- |
| interfaceIPv4Address | The IP address and subnet for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address and subnet for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv4Address | The IP address for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
17 changes: 10 additions & 7 deletions calico_versioned_docs/version-3.32/reference/resources/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ description: Reference for the Node resource in Calico Open Source that represen

# Node

A node resource (`Node`) represents a node running $[prodname]. When adding a host
to a $[prodname] cluster, a node resource needs to be created which contains the
A node resource (`Node`) represents a node running $[prodname]. Each host
in a $[prodname] cluster has a node resource which contains the
configuration for the `$[nodecontainer]` instance running on the host.

When starting a `$[nodecontainer]` instance, the name supplied to the instance should
match the name configured in the Node resource.

By default, starting a `$[nodecontainer]` instance will automatically create a node resource
using the `hostname` of the compute host.
using the `hostname` of the compute host. With the Kubernetes API datastore, the node resource is instead
the Kubernetes node of the same name, and you cannot create a node resource with `calicoctl`.

## Sample YAML

Expand All @@ -35,19 +36,21 @@ spec:

| Field | Description | Accepted Values | Schema |
| ----- | -------------------------------- | --------------------------------------------------- | ------ |
| name | The name of this node. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string |
| name | The name of this node. Required. | Lowercase alphanumeric string with optional `.` or `-`. | string |

### Spec

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------- | ------- |
| bgp | BGP configuration for this node. Omit if using $[prodname] for policy only. | | [BGP](#bgp) |
| ipv4VXLANTunnelAddr | IPv4 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. If not set, Felix generates the MAC address from the node name. | | string |
| ipv6VXLANTunnelAddr | IPv6 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddrV6 | MAC address of the IPv6 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| orchRefs | Correlates this node to a node in another orchestrator. | | list of [OrchRefs](#orchref) |
| wireguard | WireGuard configuration for this node. This is applicable only if WireGuard is enabled in [Felix Configuration](felixconfig.mdx). | | [WireGuard](#wireguard) |
| addresses | Addresses at which the node can be reached. With the Kubernetes API datastore, this is system configured and should not be updated manually. | | list |
| interfaces | Interfaces on the node and their addresses. This is system configured and should not be updated manually. | | list |

### OrchRef

Expand All @@ -70,5 +73,5 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | ----------------------------------------------------------------------------------------- | --------------- | ------ | ------- |
| interfaceIPv4Address | The IP address and subnet for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address and subnet for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv4Address | The IP address for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
17 changes: 10 additions & 7 deletions calico_versioned_docs/version-3.33/reference/resources/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ description: Reference for the Node resource in Calico Open Source that represen

# Node

A node resource (`Node`) represents a node running $[prodname]. When adding a host
to a $[prodname] cluster, a node resource needs to be created which contains the
A node resource (`Node`) represents a node running $[prodname]. Each host
in a $[prodname] cluster has a node resource which contains the
configuration for the `$[nodecontainer]` instance running on the host.

When starting a `$[nodecontainer]` instance, the name supplied to the instance should
match the name configured in the Node resource.

By default, starting a `$[nodecontainer]` instance will automatically create a node resource
using the `hostname` of the compute host.
using the `hostname` of the compute host. With the Kubernetes API datastore, the node resource is instead
the Kubernetes node of the same name, and you cannot create a node resource with `calicoctl`.

## Sample YAML

Expand All @@ -35,19 +36,21 @@ spec:

| Field | Description | Accepted Values | Schema |
| ----- | -------------------------------- | --------------------------------------------------- | ------ |
| name | The name of this node. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string |
| name | The name of this node. Required. | Lowercase alphanumeric string with optional `.` or `-`. | string |

### Spec

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------- | ------- |
| bgp | BGP configuration for this node. Omit if using $[prodname] for policy only. | | [BGP](#bgp) |
| ipv4VXLANTunnelAddr | IPv4 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddr | MAC address of the IPv4 VXLAN tunnel. If not set, Felix generates the MAC address from the node name. | | string |
| ipv6VXLANTunnelAddr | IPv6 address of the VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| vxlanTunnelMACAddrV6 | MAC address of the IPv6 VXLAN tunnel. This is system configured and should not be updated manually. | | string |
| orchRefs | Correlates this node to a node in another orchestrator. | | list of [OrchRefs](#orchref) |
| wireguard | WireGuard configuration for this node. This is applicable only if WireGuard is enabled in [Felix Configuration](felixconfig.mdx). | | [WireGuard](#wireguard) |
| addresses | Addresses at which the node can be reached. With the Kubernetes API datastore, this is system configured and should not be updated manually. | | list |
| interfaces | Interfaces on the node and their addresses. This is system configured and should not be updated manually. | | list |

### OrchRef

Expand All @@ -70,5 +73,5 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| -------------------- | ----------------------------------------------------------------------------------------- | --------------- | ------ | ------- |
| interfaceIPv4Address | The IP address and subnet for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address and subnet for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv4Address | The IP address for the IPv4 WireGuard interface created by Felix on this node. | Optional | string |
| interfaceIPv6Address | The IP address for the IPv6 WireGuard interface created by Felix on this node. | Optional | string |
Loading