Skip to content

Improve the custom_object.py to be more specific to usage of namespaced custom resource #1438

@Priyankasaggu11929

Description

@Priyankasaggu11929

Link to the issue (please include a link to the specific documentation or example):
https://github.com/kubernetes-client/python/tree/master/examples

Description of the issue (please include outputs or screenshots if possible):

The examples/custom_object.py example script can be improved by making it more specific to usage of kubernetes.client.CustomObjectsApi for a namespaced scope custom resource.

Following are the suggestion for improvement:

  • rename the file to namespaced_custom_object.py
  • include example usage of patch_namespaced_custom_object method

Metadata

Metadata

Assignees

Labels

kind/documentationCategorizes issue or PR as related to documentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions