borescope: a natural shell for Juju Kubernetes workload containers

borescope: a natural shell for Juju Kubernetes workload containers

4.0 5 Reviews
Haven't used borescope: a natural shell for Juju Kubernetes workload containers yet?
Ask Trustburn

Questions about borescope: a natural shell for Juju Kubernetes workload containers

Based on 5 reviews, listing data and website checks · updated 2 days ago

What is borescope: a natural shell for Juju Kubernetes workload containers?

borescope is an open-source command-line tool that provides a shell-like prompt for debugging Juju Kubernetes workload containers. It works with charm workloads running minimal rock container images without an included shell, allowing operators to interact with the container's Pebble service manager through existing Juju authority.

Who is borescope intended for?

The tool is designed for operators who need to debug Juju Kubernetes workload containers where the workload rock has no bash or coreutils. It exposes Pebble commands such as services, logs, plan, checks, changes, and notices to help manage these environments effectively.

How can I get started with borescope?

Users can get started by viewing the project on GitHub, where the code is distributed under an Apache 2.0 license. The tool is free and open source, making it accessible for immediate use without any cost or complex setup procedures.

How does borescope handle containers with no shell?

borescope drives the workload's Pebble through the charm container, which always has a shell, so familiar file commands work even when the image is empty. This approach allows users to execute commands like ls and grep directly within the container environment.

What access requirements does borescope have?

The tool communicates with containers using the same mechanism as juju ssh, so it does not require kubectl or cluster-admin access. This means users only need the ability to juju ssh to the unit for borescope to function properly.

What specific features does borescope offer?

borescope ships a deliberately small command set that includes path-aware tab-completion, per-unit history, and single pipes. Users can also use the exec escape hatch to run any tool directly in the container with their current working directory.

How do one-shot and snapshot modes work?

The tool supports one-shot and snapshot modes, allowing users to script actions with --command or file a bug with --snapshot. The snapshot mode captures services, plan, checks, notices, and recent logs as a single stable JSON document.

What is the step-by-step process for borescope to connect?

borescope turns the target unit into a Pebble discovery step by confirming the unit, reading the charm's metadata.yaml for workload container names, and checking the container is alive. This process relies entirely on your Juju model access.

How does borescope open a transport to the Pebble socket?

The default backend reaches the workload's Pebble socket through the charm container via juju ssh. When the socket is directly reachable, inside a charm or a local Pebble, it uses the real ops.pebble.Client HTTP API instead.

What do reviewers praise about borescope?

Some reviewers say the tool feels like bash with muscle memory mostly just working, providing a real REPL with cd and pwd. Users appreciate the familiar file commands and the way Pebble's own vocabulary is first-class.

How does borescope integrate with existing Juju authority?

The tool provides a prompt that feels like bash, talking to the container's Pebble through the Juju authority you already have. This design ensures that operators can interact with the container without needing additional permissions or tools.

What is the current development status of borescope?

borescope is under active development as of the latest update, with version 1 currently available. The project is hosted on GitHub and follows an Apache 2.0 license for its distribution.

Which Pebble commands are exposed by borescope?

The tool exposes Pebble commands such as services, logs, plan, checks, changes, and notices, offering features like path-aware tab-completion and per-unit history. These capabilities are built into the core functionality of the shell.

What makes borescope different from other debugging tools?

borescope works on rocks with no shell at all, making it suitable for environments where the workload rock lacks bash or coreutils. The charm container always has a shell, which borescope leverages to drive the workload's Pebble.

What is the official website of borescope: a natural shell for Juju Kubernetes workload containers?

The official website of borescope: a natural shell for Juju Kubernetes workload containers is borescope.dev.

Based on reviews, listing data and the company's website. Verify anything important with the company directly.

Elena Rodriguez
Reviews 1

The functionality of borescope seems robust for accessing pebble containers through juju ssh. However, the documentation does not clearly specify which specific Pebble commands are supported versus those available via exec. For enterprise adoption, it would be helpful to have a definitive list of included capabilities. Also, the distinction between the snap and pip installations could be clearer regarding dependencies. It works well, but the scope feels slightly vague for strict compliance reviews.

Questions & Answers

No questions yet — be the first to ask.

News & Press

No news yet. This is where the business shares its own updates and press.

Photos

No photos yet. Photos shared by reviewers will show up here.

Widgets

Boost your business trust by displaying widget on your website — its a simple way to convert your visitors into customers.

Embed code

<script src="https://trustburn.com/widgets/index.js"></script>
<div class="trustburn-widget" data-trustburn-protocol="https:" data-trustburn-domain="trustburn.com" data-trustburn-widget="score" data-company-path="borescope-dev" data-lang="en"></div>
More widgets

About borescope: a natural shell for Juju Kubernetes workload containers

borescope is an open-source command-line tool that provides a shell-like prompt for debugging Juju Kubernetes workload containers. It is designed to work with charm workloads that run minimal "rock" container images without an included shell, allowing operators to interact with the container's Pebble service manager through the Juju authority they already have. The tool exposes Pebble commands such as services, logs, plan, checks, changes, and notices, and offers features like path-aware tab-completion, per-unit history, and single pipes. borescope communicates with containers using the same mechanism as `juju ssh`, so it does not require kubectl or cluster-admin access. It is distributed under the Apache 2.0 license and is under active development.