Commit Graph

133 Commits

Author SHA1 Message Date
Yu Liao
872643ca52
Merge pull request #1980 from ghinks/examples/pod_exec
doc: comment pod_exec.py for multiple containers
2023-01-28 21:11:12 -08:00
Venu Karnati
655b78c491 Creating Configmap with Request Timeout Setting
Updating README With Request Timeout Example

Updating Copyrights to 2023

Update timeout-settings.md
2023-01-27 14:53:57 -08:00
Glenn Hinks
e8954f7a5b doc: comment pod_exec.py for multiple containers
The behavior in kubectl is to run the exec command
against the default container. However, this needs to
be specified with the client call.

Add a comment in the example for this.
2023-01-01 08:31:24 -05:00
Christopher Goh
86dcb55cbc Fix typo in timeout-settings docs URL 2022-11-12 02:15:31 +08:00
mans2singh
841c2561bb Updated example description 2022-10-15 21:26:54 -04:00
mans2singh
97f23e0ad0 Updated example steps 2022-10-12 20:21:25 -04:00
shafinhasnat
3aa11438e3 example added for create_from_dict 2022-09-28 12:33:57 +06:00
xg0719
d593fc6267 change BatchV1beta1Api to BatchV1Api 2022-07-09 18:49:58 +08:00
xg0719
7d40da7bfd add a cronjob crud example 2022-07-06 18:49:07 +08:00
xg0719
f412089aaa
Merge branch 'kubernetes-client:master' into master 2022-07-06 18:29:29 +08:00
showjason
cc03f4ecc8 example annotate deployment 2022-06-23 13:13:46 +08:00
xg0719
5645c57859 add a cronjob crud example 2022-06-05 14:47:10 +08:00
Ron
35d3ff0216 docs(examples): add example to utilize utils 2022-03-16 18:13:54 -07:00
Kubernetes Prow Robot
74952467e7
Merge pull request #1749 from RonMallory/fix/jupyter-yaml
fix: remove depriciated gitrepo volume type
2022-03-16 09:47:17 -07:00
showjason
6fa47ea1c3 comment version requirement for example statefulset 2022-03-16 13:49:22 +08:00
Ron
10238161ca fix: remove depriciated gitrepo volume type 2022-03-15 22:42:53 -07:00
Abhijeet Kasurde
50b921247a Misc typo fixes
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-12-17 12:23:37 +05:30
Haowei Cai
c1e5180a5e Use v1 API in the ingress example 2021-11-29 11:11:12 -08:00
Priyanka Saggu
bfb3222603
add documentation for the server & client side timeout
Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
2021-06-02 23:33:03 +05:30
Priyanka Saggu
6f097330cf
drop python2 support
- remove python2 from the .travis.yaml file
  - remove python2 from the tox.ini file
  - remove `-y` flag from isort command in update-pycodestle.sh script
  - fix sequence of module imports to fix faiing pycodestyle check in the following files:
    - examples/multiple_clusters.py
    - examples/pick_kube_config_context.py
    - examples/pod_config_list.py
  - testing coverage & codecov tests with python3
  - testing `update-pycodestyle` for python v3.9 and arch ppc6le

Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
2021-05-15 00:57:04 +05:30
Kubernetes Prow Robot
a126ab046c
Merge pull request #1418 from steveprabha/patch-5
Make job_crud example print the correct job status after job creation
2021-05-13 13:41:17 -07:00
Prabha
30477c7766
Update job_crud.py 2021-05-14 00:44:53 +05:30
Priyanka Saggu
525f2870ed
add "restart_deployment" method
Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
2021-05-13 13:23:15 +05:30
Prabha
a06bd3a3c9
Update job_crud.py 2021-05-12 11:45:52 +05:30
Prabha
57ad5d237e
Update job_crud.py 2021-05-11 14:13:27 +05:30
Yash Kumar Singh
68aba47265 Adding the custom header example for dynamic client 2021-05-11 09:03:06 +05:30
Prabha
ecd1fb4b97
Update job_crud.py 2021-05-07 17:26:14 +05:30
Priyanka Saggu
eb952e70f1 add 'list_ingressroute_for_all_namespaces' method 2021-05-06 10:12:08 +05:30
Kubernetes Prow Robot
def8b28f0a
Merge pull request #1448 from Priyankasaggu11929/psaggu-add-dynamic-client-examples
add examples to demonstrate the usage of dynamic client
2021-05-05 10:05:15 -07:00
Priyanka Saggu
1ff6ece818 correct CRD's apiVersion, manifest & naming typos 2021-05-04 23:37:10 +05:30
Prabha
370eb798f4
Update job_crud.py 2021-05-04 14:02:00 +05:30
Priyanka Saggu
83f92cc0b5 add example to demonstrate a rolling restart of the deployment 2021-05-03 14:44:25 +05:30
Prabha
7571b4519e
Update job_crud.py 2021-05-02 21:38:37 +05:30
Priyanka Saggu
553f6aedc9 add-dynamic-client-examples 2021-05-01 23:25:24 +05:30
jonasdlindner
7bc9f7812d examples: comment improvement in remote_cluster.py and deployment_create.py 2021-05-01 23:24:17 +05:30
Kubernetes Prow Robot
66a66543f9
Merge pull request #1442 from jonasdlindner/master
examples: comment improvement in remote_cluster.py and deployment_cre…
2021-04-30 10:07:58 -07:00
Kubernetes Prow Robot
36d2108e89
Merge pull request #1440 from Yashks1994/remove-custom-patch1
Removed custom_object.py and created a new file namespaced_custom_object.py which is more specific to usage of namespaced custom resource
2021-04-30 09:59:59 -07:00
Yash Kumar Singh
9248a90055 Removed the custom_object.py file and and added namespaced_custom_object.py 2021-04-30 13:08:18 +05:30
jonasdlindner
67f9c7a970 examples: comment improvement in remote_cluster.py and deployment_create.py 2021-04-29 22:17:17 +02:00
Kubernetes Prow Robot
0ea3542ae5
Merge pull request #1437 from Priyankasaggu11929/psaggu_add_cluster_scoped_custom_object_example
Add example to demonstrate usage of `patch_cluster_custom_object` method
2021-04-28 12:40:50 -07:00
Priyanka Saggu
f7a4ad9880
correct custom object to custom resource (CR) 2021-04-28 23:23:09 +05:30
Kubernetes Prow Robot
c3f1a1c61e
Merge pull request #1435 from Priyankasaggu11929/psaggu-enhance_node_labels_example
simplify & enhance the node_labels.py example
2021-04-28 10:52:50 -07:00
Priyanka Saggu
af4ea4bfbe
add more log messages 2021-04-28 23:12:45 +05:30
Priyanka Saggu
cc66bc1274
correct copyright year to 2021 2021-04-28 22:50:22 +05:30
Priyanka Saggu
3b54f4caa6
Update cluster_scoped_custom_object.py 2021-04-28 22:12:17 +05:30
Priyanka Saggu
60e8c895a5
Update node_labels.py 2021-04-28 22:09:40 +05:30
Priyanka Saggu
fca1765fa5
Create cluster_scoped_custom_object.py 2021-04-28 19:57:05 +05:30
Priyanka Saggu
b5d41cb3eb
fix whitspaces 2021-04-28 07:37:07 +05:30
Priyanka Saggu
41d331f990
fix whitespaces 2021-04-28 07:12:02 +05:30
Priyanka Saggu
adac2e0706
improve comments 2021-04-27 22:42:51 +05:30