August 2026 Summaries
3 posts from Ngrok
Filter
Month:
Year:
Post Summaries
Back to Blog
Kubernetes probes are periodic kubelet checks that help manage container startup, traffic eligibility, and recovery: startup probes delay normal health checks until initialization succeeds, readiness probes determine whether Pods receive Service traffic, and liveness probes restart containers judged unable to recover independently. Using simulated browser-based cluster demonstrations, the post shows that containers without appropriate probes can be marked ready before they can serve requests, while startup probes combined with Services, replicas, and graceful Pod termination can prevent traffic from reaching starting or stopping containers. It explains probe configuration through HTTP, TCP, exec, and gRPC checks, warns that overly strict startup settings can cause CrashLoopBackOff states, and advises conservative readiness and liveness endpoints that avoid reacting to shared dependency outages, resource pressure, or other failures that could affect every replica simultaneously. The discussion also shows how failed liveness checks and client retries can trigger cascading failures, how probe intervals influence Deployment rollout speed and availability, and reports a Kubernetes v1.35+ bug in which liveness probes may run before a restarted container’s startup probe succeeds.
Aug 19, 2026
4,432 words in the original blog post.
Compression reduces lossless data size by exploiting redundancy, typically through transforms, probabilistic models, and entropy coders such as arithmetic or Huffman coding, which assign fewer bits to more likely symbols. Shannon entropy defines the theoretical lower bound on the average bits required per symbol for a particular probability distribution, while adding contextual information improves predictions and can substantially reduce that bound. Language models operate through the same principle: given preceding tokens, they estimate probabilities for the next token, and a well-calibrated model could be paired with an entropy coder to compress text efficiently, with incorrect low-probability predictions costing more bits. Although LLMs can outperform simpler context models in compression ratio, their large model sizes and high computational requirements make them impractical for common applications such as web-response compression, where lightweight formats like gzip and Brotli are faster and cheaper. The shared cross-entropy objective in language-model training and entropy minimization in compression supports the view that both systems fundamentally rely on prediction.
Aug 11, 2026
4,793 words in the original blog post.
Accessing a Raspberry Pi remotely without the need for port forwarding, static IPs, or VPNs can be achieved using ngrok, which creates an outbound connection from the Pi to the ngrok cloud over port 443, bypassing most firewalls. This method involves installing the ngrok agent on the Raspberry Pi, registering an authentication token, and starting a TCP tunnel to port 22 to enable SSH access. The connection is secured by using an addressable endpoint provided by ngrok, allowing users to SSH from any network by connecting to the forwarding address. To maintain a stable connection across reboots, users can reserve a TCP address and configure the ngrok agent to run as a background service. Security can be enhanced by enabling SSH key authentication, disabling password login, and applying IP restrictions. This approach scales well for managing multiple remote devices, offering centralized management and secure access for a fleet of deployed devices.
Aug 04, 2026
676 words in the original blog post.