Skip to content

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

@DilaraOflaz

Description

@DilaraOflaz

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',
  1. Run pip install -e .[dev]
  2. Run kubetools deploy ${NAMESPACE}.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions