SIMS icon indicating copy to clipboard operation
SIMS copied to clipboard

[FOR KAL] EDW Extract - Deployment Standards

Open sslaws opened this issue 1 year ago • 2 comments

** User Story ** As a SIMS team we want to ensure that deployments and secrets are standardized for usage to ensure that maintenance is straight forward for the team.

Acceptance Criteria

  • [ ] Nino to have EDW API utilize this new user;
  • [ ] Kal to retire DC for Deployment
  • [x] discuss image pruning
  • [ ] Update Route: aest-api.0c27fb-dev.apps.silver.devops.gov.bc.ca to https://xxx.sims.studentaidbc.ca/edwapi
  • [ ] DeploymentConfig to be renamed: edw-api
  • [ ] BuildConfig to be renamed edw-api
  • [ ] Remove secret sims-dev-api
  • [ ] Update DC to use existing secret simsdb-pguser-app-database-user and map required db values.
  • [ ] Create a new secret to contain APP_KEY and map that to the DC
  • [ ] Create a new Config Map edw-api-secret for the following settings and set appropriately and map to the DC
    1. APP_DEBUG=true
    2. APP_ENV=development
    3. APP_NAME="EDW Extract API"
    4. APP_URL=localhost
    5. CACHE_DRIVER=file.
    6. DB_CONNECTION=pgsql
    7. DB_HOST=
    8. DB_PORT=
    9. DB_SCHEMA_NAME=sims
    10. FILESYSTEM_DRIVER=local
    11. KEYCLOAK_CERT=
    12. LOG_CHANNEL=stack
    13. LOG_DEPRECATIONS_CHANNEL=null
    14. LOG_LEVEL=debug
    15. QUEUE_CONNECTION=sync
    16. SERVICE_ACCOUNT=
    17. SESSION_DRIVER=file
    18. SESSION_LIFETIME=120
  • [ ] Add PDB with minimum of 1
  • [ ] Review and add HPA
  • [ ] Minimum Replicas of 2 pods

sslaws avatar Apr 25 '24 22:04 sslaws

The changes have been made in accordance with the above requested items on the list. We didn't add the HPA as it seemed to be unnecessary however , it can be added later on if needed.

m7amad-github avatar Sep 11 '24 22:09 m7amad-github

Stephen to send current status via email to Michelle and Jason

sslaws avatar Sep 27 '24 17:09 sslaws