python: extensions/v1beta1 for ingress deprecated but new api not found in models

The kubernetes documentation tells me the following ;

_The extensions/v1beta1 and networking.k8s.io/v1beta1 API versions of Ingress will no longer be served in v1.22.

Migrate manifests and API clients to use the networking.k8s.io/v1 API version, available since v1.19._

I have the models but i was not able to find the new models based on networking.k8s.io/v1. This is something not yet made and will come in the future or do i miss something? Methods i used;

body = client.ExtensionsV1beta1Ingress(
            api_version="extensions/v1beta1",
            kind="Ingress",
            metadata=client.V1ObjectMeta(name="blabla-tenant-ingress",
                                         annotations=annotations),
            spec=client.ExtensionsV1beta1IngressSpec(
                rules=rules
            ))

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 6
  • Comments: 15 (8 by maintainers)

Most upvoted comments

it is in the works, i think it’ll take a few weeks

v19.15.0a1 has been released. Please give it a try and file any issue you find. I plan to release a beta version in the next week or two.