Common tasks

In this section:

The sections provides information about common tasks that users and administrators may need to perform to manage SD Elements.

Helm

  • List all deployed charts:

    helm list

Kubernetes

  • List all SDE Pods:

    $ kubectl get pods
    sde-1578433057-broker-b698dfcfb-55rnk                 1/1     Running       1          6d
    sde-1578433057-cache-84fd48b88-4qsgl                  1/1     Running       1          6d
    sde-1578433057-database-5c5fdf76d-jqzm6               1/1     Running       1          6d
    sde-1578433057-mail-6977f6dfd-ln55j                   1/1     Running       1          6d
    sde-1578433057-web-6c4d548c7d-bzjw9                   1/1     Running       1          6d
    sde-1578433057-worker-10-7ddc88d5c-qlwdf              1/1     Running       5          6d
    sde-1578433057-worker-15-sde-medium-c9bff4dbd-spkmc   1/1     Running       1          6d
    sde-1578433057-worker-17-6754875844-gfkwk             1/1     Running       3          6d
    sde-1578433057-worker-18-sde-low-6dfcf68c4d-98t54     1/1     Running       1          6d
  • Retreive pod logs:

    # Syntax
    kubectl logs pod/<POD_NAME>
    # Example
    kubectl logs pod/sde-1578433057-broker-b698dfcfb-55rnk
  • Retrieve superuser login username:

    kubectl describe pods | grep 'SDE_SUPERUSER:' | sort -u
  • Retrieve superuser login password:

    kubectl get secrets -o  yaml    | \
      grep 'SDE_SUPERUSER_PASSWORD' | \
      grep -v '\{'                  | \
      awk '{print $2}'              | \
      base64 --decode && echo

results matching ""

    No results matching ""