github.com/kyma-project/kyma-environment-broker@v0.0.1/utils/kyma-environments-cleanup-job/README.md (about)

     1  # Kyma Environments Cleanup CronJob
     2  >**CAUTION:** The CronJob must run only in the development environment. You must be connected to the development Kubernetes cluster before applying the CronJob.
     3  
     4  Kyma Environments Cleanup CronJob removes Kyma Environments which are older than 24h. The CronJob is scheduled to run daily at midnight local time defined in the system.
     5  
     6  Directory contents:
     7  
     8  | File                               | Description                                                                                 |
     9  |------------------------------------|---------------------------------------------------------------------------------------------|
    10  | kyma-environments-cleanup-job.yaml | Kyma Environments Cleanup CronJob manifest. Should not be applied directly into the cluster |
    11  | apply.sh                           | Shell script for applying the Kyma Environments Cleanup CronJob into the cluster            |
    12  
    13  The manifest contains three placeholders for values which are set by the shell script:
    14  - `$SCRIPT_BROKER_URL` 
    15  - `$SCRIPT_DOMAIN`
    16  - `$SCRIPT_CLOUDSQL_PROXY_COMMAND`
    17  
    18  The values are derived from Kyma Environment Broker Deployment which should be running in the cluster prior to the CronJob application.
    19  
    20  Run `apply.sh` script to apply the CronJob into the cluster.