nvtop container, based on Ubuntu and the [do-framework](bit.ly/do-framework)
4.3K
A depend-on-docker nvtop container, based on Ubuntu and the do-framework
Run locally using docker:
docker run -it --rm iankoulski/do-nvtop nvtop
Run on Kubernetes using kubectl:
kubectl apply -f https://bit.ly/do-nvtop-daemonset
When running on Kubernetes, to view metrics, run:
kubectl exec -it $(kubectl get pods | grep htop | head -n 1 | cut -d ' ' -f 1) -- nvtop
This project is configured with defaults which work in most cases. To change the default settings, execute ./config.sh or just edit the .env file. One of the settings in the project is the target orchestrator TO. This setting configures the container to run locally using docker, or on a kubernetes cluster, using kubectl. Switching to a different orchestrator is as simple as configuring the TO setting.
The project contains the following scripts:
config.sh - open the configuration file .env in an editor so the project can be customizedbuild.sh - build the container imagetest.sh - run container unit testspush.sh - push the container image to a registrypull.sh - pull the container image from a registryrun.sh [cmd] - run the container, passing an argument overrides the default commandstatus.sh - show container status - running, exited, etc.logs.sh - tail container logsexec.sh [cmd] - open a shell or execute a specified command in the running containerPlease see the LICENSE file for details.
Content type
Image
Digest
sha256:6951658f7…
Size
1.9 GB
Last updated
about 2 years ago
docker pull iankoulski/do-nvtop