kelproject / pykube

Python client library for Kubernetes
Apache License 2.0
349 stars 183 forks source link

List and watch uninitialized resources #148

Open dvazar opened 6 years ago

dvazar commented 6 years ago

In Kubernetes 1.7 an opportunity to list and watch for uninitialized objects, by using the query parameter includeUninitialized=true|false. If ?includeUninitialized=true, partially initialized resources are included in the response. This query parameter is only relevant for list andwatch operations. For other operations where names of the objects are provided a kube-apiserver takes into account also uninitialized objects.

This pull request is a proposal for implementing this feature.