...

Text file src/edge-infra.dev/config/pallets/sds/kpower/README.md

Documentation: edge-infra.dev/config/pallets/sds/kpower

     1# Environment Variables
     2
     3## Environment Setup
     4
     5Create an `.env` file with the following variables:
     6
     7```dotenv
     8# gke, sds, or generic. use "generic" for any K8s cluster that isn't GKE or 
     9# SDS.
    10export CLUSTER_PROVIDER=
    11# uuid is necessary for generating a cluster_hash, existing resources should
    12# have this in their annotations already but one can be created by using
    13# uuidgen
    14export CLUSTER_UUID=
    15# google cloud project id
    16export GCP_PROJECT_ID=
    17# defaults to us-east1-b, otherwise needs to be valid GCP value
    18export CLUSTER_LOCATION= 
    19# set to same value as gcp project ID when developing within a single
    20# project.
    21export FOREMAN_GCP_PROJECT_ID=
    22# enables split scheduling
    23export INFRA=true
    24# name of the kubeconfig context to use to schedule infra objects; 
    25# default behavior is to apply all objects to the same K8s context
    26export INFRA_CONTEXT=
    27# target namespace for all applied infrastructure resources, including 
    28# dependencies; the namespace is created if it does not already exist.
    29export INFRA_NAMESPACE=
    30```
    31
    32# Applying the Pallet
    33
    34The following is the example applying the kpower to aa sds cluster
    35
    36```shell
    37source .env
    38
    39lift pack config/pallets/sds/kpower
    40lift apply --cluster-provider=dsds config/pallets/sds/kpower
    41```

View as plain text