EDITD / kubetools

:nut_and_bolt: Kubetools is a tool and processes for developing and deploying microservices to Kubernetes.
MIT License
13 stars 2 forks source link

[BUG] - Python Kubernetes library doesn't support CronJobs #129

Open DilaraOflaz opened 2 years ago

DilaraOflaz commented 2 years ago

Describe the bug Kubernetes library versions prior to 21.7.0 don't support CronJobs.

To Reproduce Steps to reproduce the behavior:

  1. In kubetools/setup.py modify line 59 to:
    'kubernetes==20.13.0',
  2. Run pip install -e .[dev]
  3. Run kubetools deploy ${NAMESPACE}.

Expected behavior AttributeError: 'BatchV1Api' object has no attribute 'list_namespaced_cron_job'