StatCan / aaw

Documentation for the Advanced Analytics Workspace Platform
https://statcan.github.io/aaw/
Other
69 stars 12 forks source link

[Epic - Conditional Gitlab Access] Update `aaw-toleration-injector` to add a toleration for `node.statcan.gc.ca/use=cloud-main-system`. #1149

Closed Collinbrown95 closed 2 years ago

Collinbrown95 commented 2 years ago

aaw-toleration-injector needs to add three tolerations to any cloud-main-system egress gateway pod in order for that pod to be scheduled to the cloud-main-system nodepool:

  1. node.statcan.gc.ca/purpose=system
  2. node.statcan.gc.ca/use=cloud-main-system
  3. data.statcan.gc.ca/classification=protected-b

If all three tolerations are added to the egress gateway pod, it should get correctly scheduled to the cloud-main-system node pool. The toleration node.statcan.gc.ca/use=cloud-main-system is added only for pods scheduled to the cloud-main-system namespace, so no other pods should get accidentally scheduled to the cloud-main-system node pool.

Collinbrown95 commented 2 years ago

Summary of Changes