Using the basic Docker images permite to have the simplest way to start the KDT tools
and ansure all configs, auth files are saved into the current user home directory.
# Into the the project folder
make attach [FOLDER=<folder-path-to-mount>] [PORT=<port-number>] [DEBUG=false|*]
# From everywhere with the alias
## FOLDER parameter is automaticaly set with 'kdt' alias with the current folder
kdt attach [PORT=<port-number>] [DEBUG=false|*]
# The authentication command looks like this:
gcloud container clusters get-credentials <CLUSTER_NAME> --region <REGION> --project <PROJECT_NAME>
# To help you during Operational phase, rename the cluster name like this example:
kx production=gke_kogus-production_europe-west1_pkub
attach: Start a container of image KDT in interactive mode
FOLDER (default: false, ex: /my/folder/path)
Define the folder to mount into the container.
If you'r using the shell alias kdt this variable is set with the current folder.
PORT (default: false, ex: 2222 or 8080,9090)
Define the port binded on the host to give access to your web browser or your
ssh client.
DOCKER (default: false, ex: true)
Set if you need to mount the docker daemon socket into the container.