> ## Documentation Index
> Fetch the complete documentation index at: https://orphelix.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Nodes

> Monitor Kubernetes cluster nodes - view resource capacity, allocatable resources, and running pods

## Overview

The Nodes page provides comprehensive monitoring of Kubernetes cluster nodes. View node status, resource capacity, resource allocation, and which pods are running on each node.

![Nodes List](https://mintlify.s3.us-west-1.amazonaws.com/orphelix/images/nodes.png)

## List View

### Features

> [card] Node Status
>
> Real-time node health and readiness status

> [card] Resource Monitoring
>
> CPU, memory, and pod capacity tracking

> [card] Pod Distribution
>
> See how many pods are running on each node

> [card] Utilization Metrics
>
> Percentage of resources allocated

### Node Status

Nodes can have multiple conditions indicating their health:

> [accordion] Ready
>
> Node is healthy and ready to accept pods.
>
> **Indicator:** Green badge with "Ready"
>
> **What it means:**
>
> * Kubelet is functioning properly
> * Sufficient resources available
> * Network connectivity established
> * Container runtime operational

> [accordion] NotReady
>
> Node has issues and cannot accept new pods.
>
> **Indicator:** Red badge with "NotReady"
>
> **Common causes:**
>
> * Kubelet not responding
> * Network connectivity lost
> * Disk pressure
> * Memory pressure
> * PID pressure

> [accordion] SchedulingDisabled
>
> Node is cordoned and won't accept new pods.
>
> **Indicator:** Orange badge with "SchedulingDisabled"
>
> **What it means:**
>
> * Node manually cordoned (`kubectl cordon`)
> * Under maintenance
> * Being prepared for removal
> * Existing pods continue running

> [accordion] DiskPressure
>
> Node is running out of disk space.
>
> **Indicator:** Yellow badge with "DiskPressure"
>
> **Thresholds:**
>
> * Available disk \< 10% (default)
> * Available inodes \< 5%
>
> **Actions taken:**
>
> * Evict pods with BestEffort QoS
> * Prevent new pod scheduling

> [accordion] MemoryPressure
>
> Node is running low on memory.
>
> **Indicator:** Yellow badge with "MemoryPressure"
>
> **Thresholds:**
>
> * Available memory \< 100Mi (default)
>
> **Actions taken:**
>
> * Evict pods based on QoS and memory usage
> * Prevent new BestEffort pods

> [accordion] PIDPressure
>
> Node is running out of process IDs.
>
> **Indicator:** Yellow badge with "PIDPressure"
>
> **What it means:**
>
> * Too many processes running
> * Approaching PID limit
> * Pods may fail to start

### Table Columns

| Column | Description |
| - | - |
| **Name** | Node name (clickable to view details) |
| **Status** | Node health status badge |
| **Roles** | Node roles (master, worker, etc.) |
| **CPU** | CPU capacity and allocation percentage |
| **Memory** | Memory capacity and allocation percentage |
| **Pods** | Number of pods running / maximum pods |
| **Age** | Time since node joined cluster |

### Resource Indicators

Each node shows resource utilization with color-coded progress bars:

> [tab] CPU
>
> **Display:** `8 cores (45% allocated)`
>
> * **Green**: \< 70% allocated
> * **Yellow**: 70-90% allocated
> * **Red**: > 90% allocated
>
> Shows allocatable CPU vs requested CPU by pods

> [tab] Memory
>
> **Display:** `32 GB (62% allocated)`
>
> * **Green**: \< 80% allocated
> * **Yellow**: 80-95% allocated
> * **Red**: > 95% allocated
>
> Shows allocatable memory vs requested memory by pods

> [tab] Pods
>
> **Display:** `48 / 110 pods`
>
> * **Green**: \< 80% capacity
> * **Yellow**: 80-95% capacity
> * **Red**: > 95% capacity
>
> Shows current pod count vs maximum pod capacity

## Detail View

Click any node name to view comprehensive details.

### Overview Section

**1. Basic Information**

* **Name**: Node hostname
* **Status**: Overall node health status
* **Roles**: Kubernetes roles assigned
* **Labels**: All node labels (topology, instance type, zone, etc.)
* **Annotations**: Node annotations
* **Created**: When node joined cluster

**2. Node Info**

* **Kubelet Version**: Kubernetes version running
* **Container Runtime**: Docker, containerd, CRI-O version
* **OS Image**: Operating system and version
* **Kernel Version**: Linux kernel version
* **Architecture**: CPU architecture (amd64, arm64, etc.)
* **Operating System**: linux, windows

**3. Network Information**

* **Internal IP**: Node internal IP address
* **Hostname**: Node hostname
* **External IP**: Public IP (if available)

### Resource Capacity

Detailed breakdown of node resources:

![Node Resources](https://mintlify.s3.us-west-1.amazonaws.com/orphelix/images/node-resources.png)

#### CPU Resources

> [tab] Capacity
>
> **Total CPU cores** available on the node
>
> Example: `8 cores` (physical CPU)

> [tab] Allocatable
>
> **CPU cores** available for pods (capacity minus system reserved)
>
> Example: `7.8 cores` (0.2 reserved for system)
>
> Calculation:
>
> ```
> Allocatable = Capacity - System Reserved - Kube Reserved
> ```

> [tab] Requests
>
> **Total CPU** requested by all pods on this node
>
> Example: `3.5 cores` (45% of allocatable)
>
> Determines scheduling decisions

> [tab] Limits
>
> **Total CPU** limits set by all pods
>
> Example: `7.0 cores` (90% of allocatable)
>
> Maximum CPU pods can burst to

#### Memory Resources

> [tab] Capacity
>
> **Total memory** available on the node
>
> Example: `32 GB`

> [tab] Allocatable
>
> **Memory** available for pods (capacity minus system reserved)
>
> Example: `30.5 GB` (1.5 GB reserved)

> [tab] Requests
>
> **Total memory** requested by all pods
>
> Example: `18 GB` (59% of allocatable)

> [tab] Limits
>
> **Total memory** limits set by all pods
>
> Example: `28 GB` (92% of allocatable)

#### Pod Capacity

Maximum number of pods the node can run:

* **Capacity**: Maximum pods (e.g., 110)
* **Running**: Current pod count (e.g., 48)
* **Available**: Remaining capacity (e.g., 62)

> [!NOTE]
>
> Pod capacity is determined by kubelet `--max-pods` flag and CNI plugin limitations

#### Storage Resources

> [accordion] Ephemeral Storage
>
> Temporary storage on node's root filesystem
>
> * **Capacity**: Total ephemeral storage
> * **Allocatable**: Available for pods
> * **Requests**: Storage requested by pods
>
> Used for:
>
> * Container layers
> * EmptyDir volumes
> * Container logs
> * Container writable layers

> [accordion] Persistent Volumes
>
> List of PersistentVolumes bound to this node
>
> Shows:
>
> * PV name
> * Capacity
> * Access modes
> * Status
> * Claim reference

### Pods Section

View all pods running on this node:

![Pods on Node](https://mintlify.s3.us-west-1.amazonaws.com/orphelix/images/node-pods.png)

**Pod Table Columns:**

* **Name**: Pod name with namespace
* **Status**: Pod phase (Running, Pending, etc.)
* **Namespace**: Pod namespace
* **CPU Requests**: CPU requested by pod
* **Memory Requests**: Memory requested by pod
* **Restarts**: Container restart count
* **Age**: Pod uptime

> [!TIP]
>
> Click any pod name to navigate to the pod detail page

**Pod Grouping:**

Pods are grouped by namespace for easier viewing:

* System pods (kube-system)
* Application pods (default, custom namespaces)
* Monitoring pods (monitoring namespace)

### Conditions

Detailed node condition history:

![Node Conditions](https://mintlify.s3.us-west-1.amazonaws.com/orphelix/images/node-conditions.png)

| Condition | Status | Description |
| - | - | - |
| **Ready** | True/False | Node is healthy and ready |
| **MemoryPressure** | True/False | Node is low on memory |
| **DiskPressure** | True/False | Node is low on disk space |
| **PIDPressure** | True/False | Node is low on process IDs |
| **NetworkUnavailable** | True/False | Network is incorrectly configured |

Each condition shows:

* **Status**: True, False, Unknown
* **Reason**: Why condition is in current state
* **Message**: Detailed explanation
* **Last Heartbeat**: When condition last updated
* **Last Transition**: When condition changed state

### Events

Recent events related to this node:

> [accordion] Normal Events
>
> Routine node operations
>
> Examples:
>
> * NodeReady: Node became ready
> * RegisteredNode: Node registered with API server
> * Starting kubelet: Kubelet service started
> * NodeHasSufficientMemory: Memory available

> [accordion] Warning Events
>
> Node issues and problems
>
> Examples:
>
> * NodeNotReady: Node lost connectivity
> * Rebooted: Node rebooted
> * EvictionThresholdMet: Disk/memory pressure
> * ContainerGCFailed: Garbage collection failed
> * ImageGCFailed: Image cleanup failed

### Taints

Node taints prevent certain pods from scheduling:

![Node Taints](https://mintlify.s3.us-west-1.amazonaws.com/orphelix/images/node-taints.png)

**Taint Effects:**

> [tab] NoSchedule
>
> **Hard constraint** - Pods without matching toleration won't schedule
>
> Example:
>
> ```yaml theme={null}
> taints:
> - key: "dedicated"
>   value: "gpu"
>   effect: "NoSchedule"
> ```
>
> Requires pod toleration:
>
> ```yaml theme={null}
> tolerations:
> - key: "dedicated"
>   operator: "Equal"
>   value: "gpu"
>   effect: "NoSchedule"
> ```

> [tab] PreferNoSchedule
>
> **Soft constraint** - Scheduler tries to avoid, but allows if necessary
>
> Example:
>
> ```yaml theme={null}
> taints:
> - key: "workload"
>   value: "batch"
>   effect: "PreferNoSchedule"
> ```
>
> Pods without toleration may still schedule if no other nodes available

> [tab] NoExecute
>
> **Eviction** - Existing pods without toleration are evicted
>
> Example:
>
> ```yaml theme={null}
> taints:
> - key: "node.kubernetes.io/not-ready"
>   effect: "NoExecute"
>   tolerationSeconds: 300
> ```
>
> Evicts pods after `tolerationSeconds` (if specified)

**Common Taints:**

| Taint Key | Purpose |
| - | - |
| `node.kubernetes.io/not-ready` | Node not ready (automatic) |
| `node.kubernetes.io/unreachable` | Node unreachable (automatic) |
| `node.kubernetes.io/disk-pressure` | Disk pressure detected |
| `node.kubernetes.io/memory-pressure` | Memory pressure detected |
| `node.kubernetes.io/pid-pressure` | PID pressure detected |
| `node.kubernetes.io/network-unavailable` | Network not ready |
| `node.kubernetes.io/unschedulable` | Node cordoned |

## Resource Allocation

### Understanding Requests vs Limits

> [tab] Requests
>
> **Minimum guaranteed resources** for a pod
>
> * Used by scheduler to place pods
> * Pod won't be scheduled if node lacks requested resources
> * Pod always gets at least this much
>
> Example:
>
> ```yaml theme={null}
> resources:
>   requests:
>     cpu: "500m"
>     memory: "256Mi"
> ```

> [tab] Limits
>
> **Maximum resources** a pod can use
>
> * Pod can't exceed these limits
> * CPU: Throttled when limit reached
> * Memory: OOMKilled when limit exceeded
>
> Example:
>
> ```yaml theme={null}
> resources:
>   limits:
>     cpu: "1000m"
>     memory: "512Mi"
> ```

### Quality of Service (QoS)

Pods are assigned QoS classes affecting eviction order:

> [accordion] Guaranteed
>
> **Highest priority** - Last to be evicted
>
> Requirements:
>
> * Every container has CPU and memory limits
> * Requests equal limits for both CPU and memory
>
> ```yaml theme={null}
> resources:
>   requests:
>     cpu: "500m"
>     memory: "256Mi"
>   limits:
>     cpu: "500m"
>     memory: "256Mi"
> ```

> [accordion] Burstable
>
> **Medium priority** - Evicted after BestEffort
>
> Requirements:
>
> * At least one container has CPU or memory request/limit
> * Doesn't meet Guaranteed criteria
>
> ```yaml theme={null}
> resources:
>   requests:
>     cpu: "250m"
>     memory: "128Mi"
>   limits:
>     cpu: "1000m"
>     memory: "512Mi"
> ```

> [accordion] BestEffort
>
> **Lowest priority** - First to be evicted
>
> Requirements:
>
> * No containers have CPU or memory requests/limits
>
> ```yaml theme={null}
> # No resources specified
> containers:
> - name: app
>   image: nginx
> ```

### Eviction Policies

When node runs out of resources, kubelet evicts pods:

**Eviction Signals:**

* `memory.available` \< 100Mi
* `nodefs.available` \< 10% (root filesystem)
* `nodefs.inodesFree` \< 5%
* `imagefs.available` \< 15% (image filesystem)

**Eviction Order:**

1. BestEffort pods using most resources
2. Burstable pods exceeding requests
3. Burstable pods within requests
4. Guaranteed pods (last resort)

Within each category, evict lowest priority pods first.

## Troubleshooting

### Node NotReady

**Symptom:** Node shows NotReady status

**Diagnostic Steps:**

**1. Check Node Conditions**

View Conditions section for specific issues:

* MemoryPressure
* DiskPressure
* PIDPressure
* NetworkUnavailable

**2. Check Events**

Look for warning events:

* "Kubelet stopped posting node status"
* "Container runtime not responding"
* "Failed to initialize network plugin"

**3. Check Kubelet**

SSH to node and check kubelet:

```bash theme={null}
systemctl status kubelet
journalctl -u kubelet -f
```

**4. Check Resources**

Verify node has sufficient resources:

```bash theme={null}
df -h    # Disk space
free -h  # Memory
top      # CPU and processes
```

**Common Causes:**

> [accordion] Network Issues
>
> Node can't communicate with API server
>
> Solutions:
>
> * Check network connectivity
> * Verify firewall rules
> * Test DNS resolution
> * Check API server endpoints

> [accordion] Disk Full
>
> Node out of disk space
>
> Solutions:
>
> * Clean up container images: `docker system prune`
> * Remove old logs: `journalctl --vacuum-time=3d`
> * Increase disk size
> * Check for filled volumes

> [accordion] Memory Pressure
>
> Node low on memory
>
> Solutions:
>
> * Evict non-essential pods
> * Increase node memory
> * Reduce pod memory requests
> * Fix memory leaks in applications

> [accordion] Container Runtime Issues
>
> Docker/containerd not responding
>
> Solutions:
>
> * Restart container runtime: `systemctl restart docker`
> * Check runtime logs
> * Verify runtime configuration
> * Update runtime if outdated

### High Resource Utilization

**Symptom:** Node consistently at >90% CPU or memory

**Solutions:**

**1. Identify Resource Hogs**

Check Pods section to find pods using most resources

**2. Optimize Pod Requests**

Reduce over-requested resources:

```yaml theme={null}
# Before
requests:
  cpu: "2000m"

# After (if only using 500m)
requests:
  cpu: "500m"
```

**3. Distribute Pods**

Move pods to other nodes:

```bash theme={null}
kubectl drain <node> --ignore-daemonsets
kubectl uncordon <node>
```

**4. Scale Cluster**

Add more nodes to cluster:

* Increase node pool size
* Add larger nodes
* Enable cluster autoscaling

### Pod Evictions

**Symptom:** Pods being evicted from node

**Reasons:**

1. **Resource Pressure**
   * MemoryPressure
   * DiskPressure
   * PIDPressure

2. **Manual Drain**
   * Node maintenance
   * Node upgrade
   * Cluster scaling

3. **Preemption**
   * Higher priority pods need resources
   * Cluster autoscaler needs to consolidate

**Solutions:**

* Increase node resources
* Reduce pod resource usage
* Adjust pod priorities
* Clean up unused resources

## Best Practices

> [accordion] Monitor Resource Utilization
>
> Keep node utilization at 60-80% for optimal performance and headroom

> [accordion] Set Resource Requests Accurately
>
> Base requests on actual usage, not maximum possible usage

> [accordion] Use Node Labels
>
> Label nodes for targeted scheduling:
>
> ```bash theme={null}
> kubectl label nodes <node> workload=gpu
> kubectl label nodes <node> environment=production
> ```

> [accordion] Implement Node Auto-scaling
>
> Automatically add/remove nodes based on demand

> [accordion] Regular Maintenance
>
> Schedule node updates and security patches regularly

> [accordion] Monitor Node Health
>
> Set up alerts for NotReady nodes and resource pressure

## Next Steps

> [card] [Pods](https://orphelix.mintlify.site/user/pods.md)
>
> View pods running on nodes

> [card] [Events](https://orphelix.mintlify.site/user/events.md)
>
> Monitor cluster events

> [card] [Dashboard](https://orphelix.mintlify.site/user/dashboard.md)
>
> View cluster overview

> [card] [HPA](https://orphelix.mintlify.site/user/hpa.md)
>
> Configure autoscaling


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.