Peter Morgenstern

Results 15 comments of Peter Morgenstern

Finally, I figured out where the caching problem is. Somehow the cache isn't really cleared. If I change in sitetree.cache_init ``` cache_ = cache.get('sitetrees') ``` to ``` cache_ = None...

Ok I was wrong. The caching works fine :) But I figured out where the caching problem is. After saving in Admin, the sitetree gets initiated, but in the Admin....

I'm using the default cache ('BACKEND': 'django.core.cache.backends.locmem.LocMemCache',) I think the problem lays somewhere in the Admin. After a server restart, if the first load of the sitetree is in the...

I might have done some things wrong, so I'm really happy to receive feedback on this!

Implements https://github.com/databricks/click/issues/64 /cc @nicklan

Would be useful to have the env variables of the specified pod set as well.

The challenge with the env variables is, that there might be some variables from secrets and `kubectl run` does not support this, see https://github.com/kubernetes/kubernetes/pull/48684. But there is a work around...

@nicklan thanks for pointing that out. I added a method to sanitise the pod name.

I realised that the current implementation only allows one run command of the same image at the same time. A random sequence could be added to the K8s name so...

I already provided a first working solution here: https://github.com/databricks/click/pull/65 I might have done some things wrong, so I'm really happy to receive feedback on this!