# 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-east1-b, otherwise needs to be valid GCP value export CLUSTER_LOCATION= # 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 the kpower to aa sds cluster ```shell source .env lift pack config/pallets/sds/kpower lift apply --cluster-provider=dsds config/pallets/sds/kpower ```