Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.05 KB

acdh-cluster.md

File metadata and controls

44 lines (33 loc) · 2.05 KB

Using the arche-ingestion environment on the ACDH cluster

There are two ways to obtain a console of the arche-ingestion environment on the ACDH cluster:

  • By using the Rancher GUI
    This method is easier to start with but has two annoying features. First, the console is being disconnected after annoyingly short period of inactivity and second, copy-pasting does not work with CTRL+c and CTRL+v.
  • By using the kubectl
    This method is harder to set up but provides a nicer user experience.

Rancher GUI

Remarks:

  • As the shell gets disconnected after a very short inactivity, remember to run commands using screen:
    • Run screen -S mySessionName, then hit enter.
    • Run commands as normal.
    • If the shell gets disconnected, obtain a new one and run screen -rd mySessionName
  • You can not use CRTL+c and CTRL+v. Copying and pasting is only possible using the righ-mouse-button menu.

Kubectl

Installation

Usage

Run

pod=`kubectl get pods --namespace arche-ingestion --kubeconfig=kubeConfigFilePath | grep Running | head -n 1 | sed -e 's/ .*//'`
kubectl exec --kubeconfig=kubeConfigFilePath --stdin --tty --namespace arche-ingestion $pod -- /bin/bash