StatCan / aaw

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

Dev Testing: Create a protected B Notebook #1230

Closed wg102 closed 2 years ago

wg102 commented 2 years ago

Describe the bug

When trying to create a protected B notebook on Dev, the even is blocked by the gatekeeper before the creation of the pod.

Environment info

Environment: https://kubeflow.aaw-dev.cloud.statcan.ca/ Namespace: Any in which you have access

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to Notebook
  2. Click New Server
  3. Specify the name
  4. Under Configuration, Selected Protected B
  5. Click Create

Expected behaviour

The notebook is created and the pod is visible in k9s

Screenshots

image

Additional context

The issue seems related to the Gatekeeper.

Another user had a similar issue:

An error occured. Original message: [500] Internal error occurred: failed calling webhook "validation.gatekeeper.sh": Post "[https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/admit?timeout=3s](https://gatekeeper-webhook-service.gatekeeper-system.svc/v1/admit?timeout=3s)": context deadline exceeded https://kubeflow.aaw-dev.cloud.statcan.ca/jupyter/api/namespaces/charles-belisle/notebooks
zachomedia commented 2 years ago

This should be fixed with https://github.com/StatCan/aaw-gatekeeper-constraints/commit/3586663421fedb6b481f93025db3542f03ee0d2a

wg102 commented 2 years ago

Fixed see, comment above