linode-cloud-controller-manager

Node Configuration

Overview

The Node Controller in CCM manages node-specific configurations and lifecycle operations for Kubernetes nodes running on Linode instances.

Node Labels

The CCM automatically adds the following labels to nodes:

Topology Labels

Current:

Legacy (deprecated):

Provider Labels

Node Annotations

All node annotations must be prefixed with: node.k8s.linode.com/

Available Annotations

Annotation Type Default Description
private-ip IPv4 none Overrides default detection of Node InternalIP

Use Cases

Private Network Configuration

apiVersion: v1
kind: Node
metadata:
  name: my-node
  annotations:
    node.k8s.linode.com/private-ip: "192.168.1.100"

VPC Configuration

When using CCM with Linode VPC, internal ip will be set to VPC ip. To use a different ip-address as internal ip, you may need to manually configure the node's InternalIP:

apiVersion: v1
kind: Node
metadata:
  name: vpc-node
  annotations:
    node.k8s.linode.com/private-ip: "10.0.0.5"

Node Networking

Private Network Requirements

VPC Configuration

When using VPC:

  1. Configure network interfaces in Linode Cloud Manager
  2. Add appropriate node annotations for private IPs
  3. Ensure proper routing configuration
  4. Configure security groups if needed

For VPC routing setup, see Route Configuration.

Node Controller Behavior

Node Initialization

Node Lifecycle Management

Node Updates

For more information: