Functions

The functions script is meant to be sourced so that the functions contained within can be used to quickly perform tasks that are common or would normally require time to look things up.

Current Functions

jk

This is a primer function that gives a consistent primer for running actual functions. Use it to call other functions

jk ${SUBCOMMAND}
  • SUBCOMMAND: The subcommand to run. See other functions for ecamples.

jk-ssh

Connect automatically to a single instance. Intended for nodetypes that run on a single instance

jk ssh ${NODETYPE}
  • NODETYPE: The nodetype to connect to. For example: prometheus

jk-ip

Display the public IP address of a nodetype

jk ip ${NODETYPE}
  • NODETYPE: The nodetype to connect to. For example: prometheus

Future Home

A CLI