GoogleCloudPlatform / ai-on-gke

AI on GKE is a collection of examples, best-practices, and prebuilt solutions to help build, deploy, and scale AI Platforms on Google Kubernetes Engine
Apache License 2.0
220 stars 165 forks source link

[TPU Provisioner] Create admission controller #687

Closed danielvegamyhre closed 4 months ago

danielvegamyhre commented 4 months ago

This is an admission controller with a mutating Job webhook to inject nodeSelectors based on deployment specific environment variables.

The PR contains:

(I removed the SSL cert and private key I used for testing of course, so if you want to test yourself you'll need to replace the placeholders with your own)