You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker exec openshell-cluster-<name> sh -lc 'KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl get nodes -o jsonpath="{range .items[*]}{.metadata.name}{range .status.conditions[*]} {.type}={.status}{end}{\"\n\"}{end}"'
140
+
141
+
# Check disk usage inside the container
142
+
docker exec openshell-cluster-<name> df -h /
143
+
144
+
# Check memory usage
145
+
docker exec openshell-cluster-<name> free -h
146
+
```
147
+
148
+
If any pressure condition is `True`, pods will be evicted and new ones rejected. The bootstrap now detects `HEALTHCHECK_NODE_PRESSURE` markers from the health-check script and aborts early with a clear diagnosis. To fix: free disk/memory on the host, then recreate the gateway.
149
+
135
150
### Step 4: Check OpenShell Server StatefulSet
136
151
137
152
The OpenShell server is deployed via a HelmChart CR as a StatefulSet with persistent storage. Check its status:
@@ -305,6 +320,8 @@ If DNS is broken, all image pulls from the distribution registry will fail, as w
305
320
| Port conflict | Another service on 6443 or the configured gateway host port (default 8080) | Stop conflicting service or use `--port` on `openshell gateway start` to pick a different host port |
306
321
| gRPC connect refused to `127.0.0.1:443` in CI | Docker daemon is remote (`DOCKER_HOST=tcp://...`) but metadata still points to loopback | Verify metadata endpoint host matches `DOCKER_HOST` and includes non-loopback host |
307
322
| DNS failures inside container | Entrypoint DNS detection failed | Check `/etc/rancher/k3s/resolv.conf` and container startup logs |
323
+
| Node DiskPressure / MemoryPressure / PIDPressure | Insufficient disk, memory, or PIDs on host | Free disk (`docker system prune -a --volumes`), increase memory, or expand host resources. Bootstrap auto-detects via `HEALTHCHECK_NODE_PRESSURE` marker |
324
+
| Pods evicted with "The node had condition: [DiskPressure]" | Host disk full, kubelet evicting pods | Free disk space on host, then `openshell gateway destroy <name> && openshell gateway start`|
308
325
|`metrics-server` errors in logs | Normal k3s noise, not the root cause | These errors are benign — look for the actual failing health check component |
309
326
| Stale NotReady nodes from previous deploys | Volume reused across container recreations | The deploy flow now auto-cleans stale nodes; if it still fails, manually delete NotReady nodes (see Step 3) or choose "Recreate" when prompted |
310
327
| gRPC `UNIMPLEMENTED` for newer RPCs in push mode | Helm values still point at older pulled images instead of the pushed refs | Verify rendered `navigator-helmchart.yaml` uses the expected push refs (`server`, `sandbox`, `pki-job`) and not `:latest`|
@@ -363,6 +380,12 @@ run docker exec "${CONTAINER}" sh -lc "${KCFG} kubectl get --raw='/readyz'" 2>&1
363
380
echo"=== Nodes ==="
364
381
run docker exec"${CONTAINER}" sh -lc "${KCFG} kubectl get nodes -o wide"2>&1
365
382
383
+
echo"=== Node Conditions ==="
384
+
run docker exec"${CONTAINER}" sh -lc "${KCFG} kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{range .status.conditions[*]} {.type}={.status}{end}{\"\n\"}{end}'"2>&1
385
+
386
+
echo"=== Disk Usage ==="
387
+
run docker exec"${CONTAINER}" df -h / 2>&1
388
+
366
389
echo"=== All Pods ==="
367
390
run docker exec"${CONTAINER}" sh -lc "${KCFG} kubectl get pods -A -o wide"2>&1
0 commit comments