Sign inSign up

mfinelli/jumpbox

By mfinelli

•Updated over 5 years ago
Archived

docker container with debug tools

Image
0

1.8K

mfinelli/jumpbox repository overview

⁠jumpbox

Lint Status Image Size

A docker container containing debugging tools that I need that I can run as a "jump host" in a kubernetes cluster to kubectl exec to.

The keepalive script is based on this post: https://andrewlock.net/deploying-asp-net-core-applications-to-kubernetes-part-10-creating-an-exec-host-deployment-for-running-one-off-commands/⁠

⁠install

You can easily install the jumpbox into your cluster using helm:

helm repo add mfinelli https://charts.finelli.dev
helm install --namespace jumpbox mfinelli/jumpbox

⁠usage

After installing the chart into your cluster you can connect to it using the normal kubectl:

export POD_NAME=$(kubectl get pods --namespace jumpbox \
  -l "app.kubernetes.io/name=jumpbox,app.kubernetes.io/instance=jumpbox" \
  -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace jumpbox exec -it $POD_NAME -- /bin/bash

⁠license

Copyright 2021 Mario Finelli

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Tag summary

Content type

Image

Digest

Size

398.1 MB

Last updated

over 5 years ago

docker pull mfinelli/jumpbox