broken-dream
331848f4d8
Add patch_namespaced_config_map example
2024-10-24 20:50:43 +08:00
Flynn
f05c642b4a
Review feedback
...
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-21 12:22:36 -04:00
Flynn
3b4121e55a
Have an example program too.
...
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-21 10:28:56 -04:00
showjason
1e472043ec
replace utcnow with now, due to utcnow will be deprecated
2024-03-30 22:11:48 +08:00
Ananya Nayak
298725de92
chore: use f-string
2023-09-13 23:24:16 +05:30
Ananya Nayak
1e50e5f431
chore: move yaml files to correct folder
2023-09-11 19:10:57 +05:30
Hemslo Wang
8c4590b017
Fix request_timeout example and doc
...
Arg name should be _request_timeout.
Single value type should be int or long.
Signed-off-by: Hemslo Wang <hemslo.wang@gmail.com>
2023-06-07 22:25:06 +10:00
Yu Liao
854672a93a
Merge pull request #1998 from kianmeng/fix-typos
...
Fix typos
2023-02-24 20:36:00 -08:00
Yu Liao
6a7cc398b8
Merge pull request #1971 from chandsharma/patch-1
...
added newline at the end of code.
2023-01-28 21:12:12 -08:00
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
Kian-Meng Ang
2d299b7a57
Fix typos
...
Found via `codespell -S CHANGELOG.md,*.json,*.unprocessed -L querys,couldn`
2023-01-27 11:10:29 +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
Chandan Sharma
d1d084943d
added newline at the end of code.
...
For better readability
2022-12-17 13:42:59 +05:30
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