# Environment Variables ## Environment Setup Create an `.env` file with the following variables: ```dotenv # gke, sds, or generic. use "generic" for any K8s cluster that isn't GKE or # SDS. export CLUSTER_PROVIDER= # uuid is necessary for generating a cluster_hash, existing resources should # have this in their annotations already but one can be created by using # uuidgen export CLUSTER_UUID= # google cloud project id export GCP_PROJECT_ID= # defaults to us and east1-b, otherwise needs to be valid GCP value export GCP_REGION= export GCP_ZONE= # set to same value as gcp project ID when developing within a single # project. export FOREMAN_GCP_PROJECT_ID= # enables split scheduling export INFRA=true # name of the kubeconfig context to use to schedule infra objects; # default behavior is to apply all objects to the same K8s context export INFRA_CONTEXT= # target namespace for all applied infrastructure resources, including # dependencies; the namespace is created if it does not already exist. export INFRA_NAMESPACE= ``` # Applying the Pallet The following is the example applying tolerator to a cluster ```shell source .env lift pack config/pallets/sds/tolerator lift apply config/pallets/sds/tolerator ```