Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to complete the onboarding process, you will need to execute a script on your machine . This script requires:

...

cluster-admin access to the Kubernetes cluster

...

kubectl

...

to generate a new service account.

This service account will have read-only permissions and will allow Data Theorem to connect to the Kubernetes cluster API to analyze its configuration

The script requires:

  • cluster-admin access to the Kubernetes cluster

  • kubectl

  • Python 3.7+ on MacOS or Linux

View file
namedatatheorem_onboarding_script.py

...

The script will:

  • Create a service account for Data Theorem

  • Add a security audit role (with read-only access)

  • Link the security audit role to the service account

  • Generate a kube config file for the previously generated service account

...

Code Block
languagebash
python3 datatheorem-k8s-onboarding.py -p gcp -o datatheorem_k8s_service_account.yaml

Onboarding on-premise and others Kubernetes cluster

Code Block
languagebash
python3 datatheorem-k8s-onboarding.py -p onprem -o datatheorem_k8s_service_account.yaml

...