exacaster / lighter

REST API for Apache Spark on K8S or YARN
MIT License
91 stars 21 forks source link

a bug in 0.0.48 can't shutdown #577

Closed cometta closed 1 year ago

cometta commented 1 year ago

on 0.0.48, on jupyter notebook -> kernel-> 'shutdown kernel' button after pressed, nothing happen to the pods . but on 0.0.47 and below no issue. can help to check. I think is a bug

pdambrauskas commented 1 year ago

Hello, thanks for reporting. The problem is caused due to changes on Kubernetes client library, that we are using. We are trying to fix it, in the meantime you can switch back to 0.0.47

pdambrauskas commented 1 year ago

Workaround for the problem: Add this env variable to the lighter deployment:

...
    spec:
      containers:
      - env:
        - name: KUBERNETES_TLS_VERSIONS
          value: TLSv1.2
...

We'll release an updated version with this value as default