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
Priyanka Saggu
0e37654613
simplify & enhance the node_labels.py example
2021-04-27 21:04:42 +05:30
Priyanka Saggu
68aeb30ae8
Fix CRD manifest yaml
2021-04-27 19:39:14 +05:30
Prabha
7bb0851217
Fix issue #1395
...
create_job function was not printing the current status of the job. Modified the create_job function to call read_namespaced_job_status in order to get the current job status
2021-04-18 16:14:24 +05:30
Abhijeet Kasurde
b3e51c4820
examples/pod_exec.py: fix example
...
Use get_default_copy() API with configuration.
2021-03-23 10:28:13 +05:30
Jonas Lindner
9a0713b2b2
Fix Typo in examples/remote_cluster.py
2021-03-01 14:19:59 +01:00
Patrick J. McNerthney
c1249c9cf2
Support both python 2.7 and 3.x.
2020-09-07 19:47:19 -10:00
Patrick J. McNerthney
d9ec734a6c
Fix tox errors.
2020-09-07 18:22:10 -10:00
Patrick J. McNerthney
8afcebdf8d
Add test that checks for portforward port error return value.
2020-09-07 13:11:50 -10:00
Patrick J. McNerthney
49f3b6e0b5
Rework port forwarding unittest and example.
2020-09-07 07:54:47 -10:00
Patrick J. McNerthney
fada718edf
Unittests and example for portforwarding ability added in python-base.
2020-09-01 18:32:48 -10:00
Kubernetes Prow Robot
cef5e9bd10
Merge pull request #1155 from MoShitrit/fix-issue-967
...
Update Examples to stop using deprecated versions
2020-05-12 15:02:26 -07:00
MoShitrit
6e62c3dd97
Reverting some changed that were made by IDE
2020-05-11 20:02:17 -04:00
MoShitrit
a318e83c37
Expand the deployment_crud example to include requests and limits specification
2020-05-05 00:38:42 -04:00
MoShitrit
1a1ae19371
Update documentation to stop using deprecated versions.
2020-05-01 16:39:45 -04:00
Haowei Cai
de596e9317
debug log example
2020-02-18 12:41:51 -08:00
JP Balarini
59171faa72
Fix custom object API example
2020-01-08 17:53:34 -03:00
Haowei Cai
9d29ac1ded
use new module name in example
2019-11-11 12:05:27 -08:00
Scott Lee
2958cf0195
Address PR comments
2019-09-13 16:16:54 -07:00
Scott Lee
04c499c395
884: Cleanup examples folder
2019-09-12 22:46:07 -07:00
Ratan Boddu
60f0ba99f0
Suggested changes
2019-08-17 02:58:22 +05:30
Ratan Boddu
a796e1e3f3
Added Ingress Example
2019-08-15 15:52:12 +05:30
Oz N Tiram
2e3b50e08e
Update examples ( #922 )
...
* Consolidate both examples for create deployments
* Update deployment_examples.py: use V1Deployment
* Update sphinx documentation with deployment examples
2019-08-13 13:57:43 -07:00
Kubernetes Prow Robot
b723cc0a96
Merge pull request #786 from haiker2011/master
...
feat: add Job examples
2019-08-02 13:05:52 -07:00
Kubernetes Prow Robot
41971cc6ea
Merge pull request #888 from micw523/update-nginx
...
Deprecate extensions/v1beta1 deployment
2019-07-30 15:15:53 -07:00
Kubernetes Prow Robot
5a53aea3a7
Merge pull request #848 from tomplus/fix/example-crd
...
add example of using custom resources
2019-07-26 13:15:59 -07:00
Tomasz Prus
6709b753b4
add example of using custom resources
2019-07-26 22:04:33 +02:00
Xianglong Wang
dd72deaec2
Deprecate extensions/v1beta1 deployment
2019-07-23 21:28:04 -04:00
hajowieland
c3f36bd54a
Configuration class to show active host
2019-06-01 14:05:01 +02:00
hajowieland
4e535772a4
Correct alignment
2019-06-01 13:44:12 +02:00
Kubernetes Prow Robot
84c057bfac
Merge pull request #673 from micw523/yaml-list
...
Extend YAML load functionality to *LIST and multi-resources
2019-03-19 13:22:24 -07:00
haiker2011
630b0ac15d
fix code style
2019-03-19 16:03:37 +08:00
haiker2011
9d12fe40f2
Add Job examples
2019-03-19 15:44:35 +08:00
micw523
c0f71c3ba6
Add list / multi resource support
2019-03-19 00:36:32 -05:00
ramnes
3240b45c46
Use yaml.safe_load
...
See #718 for rationale.
2019-01-09 10:10:48 +01:00
k8s-ci-robot
2dafb4bad3
Merge pull request #655 from micw523/master
...
Add kubectl create -f like feature
2018-10-31 17:47:30 -07:00
micw523
5a92ba65aa
Add kubectl create -f feature
2018-10-31 19:34:18 -05:00
k8s-ci-robot
1efbab92c1
Merge pull request #446 from charly37/master
...
Add example for remote cluster without kube client on server
2018-10-31 16:48:15 -07:00
Charles Walker
67ae262a51
fix typo in comment
2018-10-30 09:25:54 -04:00
k8s-ci-robot
3459c173cd
Merge pull request #587 from onkarganjewar/patch-1
...
Fix typo in exec.py example
2018-09-28 12:49:05 -07:00
Tomasz Prus
f9d5c936a3
feat: add doc to in-cluster-config example
2018-08-28 00:07:39 +02:00
Onkar Ganjewar
bc805e371b
Update exec.py -- fix typo
2018-07-30 15:42:53 -06:00
Charles Walker
8b2b3cd40d
Update example for remote cluster without override of default client
2018-07-26 00:11:05 +00:00
Mehdy Bohlool
a3f6195281
Merge branch 'master' into master
2018-02-26 15:29:30 -08:00
Charles Walker
317aeeec22
Add example for remote cluster without kube client on server
2018-01-27 10:51:09 -05:00
Haowei Cai
ed052519da
Update org and repo name
2018-01-26 15:41:55 -08:00
DjangoPeng
695a05f6ba
make examples work on latest master branch
2017-10-13 12:23:11 +08:00
DjangoPeng
8af0a10a63
Merge branch 'master' of https://github.com/kubernetes-incubator/client-python
2017-10-13 09:17:53 +08:00
DjangoPeng
24435a5b04
fix syntax error
2017-10-12 18:20:46 +08:00
mbohlool
77a504e294
Fix exec example to use new configuration model
2017-10-09 17:15:34 -07:00
DjangoPeng
6c7235db22
securely update deployment with patch_namespaced_deployment
2017-09-27 18:20:20 +08:00
DjangoPeng
c49db53c58
update for pep8
2017-09-27 06:46:35 +08:00
DjangoPeng
cc8e38b46e
add examples of deployment object
2017-09-24 11:22:13 +08:00
mbohlool
27ba35aa81
Use stream module to call exec/attach calls
2017-09-22 11:42:59 -07:00
Mehdy Bohlool
9f1f54e0f7
Merge branch 'master' into create_configmap
2017-09-19 00:59:27 -07:00
Mehdy Bohlool
6ed1f20f26
Merge pull request #281 from djkonro/watch
...
Add notebook on how to watch changes to an object
2017-08-28 16:06:54 -07:00
djkonro
939e735a00
Add notebook on how to watch changes to an object
2017-08-26 22:09:09 +01:00
djkonro
f9b342b29b
Add notebook on how to create a ConfigMap and use its data in Pods
2017-08-22 00:57:14 +01:00
djkonro
1cf9418935
Add notebook on how to create a Secret
2017-08-21 23:19:50 +01:00
mbohlool
cd5d5e2d8c
Add a little more detail to jupyter getting start with minikube
2017-07-08 23:34:22 -07:00
Mehdy Bohlool
2fac3c71bf
Merge pull request #250 from djkonro/create_service
...
Add notebook on how to create a Service
2017-07-07 10:25:19 -07:00
Mehdy Bohlool
9ba5378f96
Merge pull request #239 from djkonro/master
...
Update create_deployment notebook
2017-07-07 10:25:07 -07:00
Mehdy Bohlool
1471c6d455
Merge pull request #261 from djkonro/remove_output
...
Remove code execution output from create_pod notebook
2017-07-07 10:24:45 -07:00
djkonro
0a4af95e3c
Add notebook on how to create a Service
2017-07-06 21:51:48 +01:00
djkonro
7b559b9c1c
Remove code execution output from create_pod notebook
2017-07-06 21:50:12 +01:00
djkonro
7d98dccb66
Update create_deployment notebook
2017-07-06 21:48:54 +01:00
djkonro
e87c3bb9d5
Add introductory notebook
...
This notebook shows how to manage kubernetes objects using
common resource operations with the python client
2017-07-06 21:46:28 +01:00
Flavio Castelli
0a4b52a0aa
Add example about node label management
...
Show how to add/remove/change node labels.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-07-05 12:51:21 +02:00
avi
f62cff9826
Add copyright header
2017-06-21 12:03:05 +05:30
avi
987cda1c71
Add an in cluster config example
2017-06-19 13:55:38 +05:30
Jonathan Kosgei
dab09e0e92
Add support for thirdparty resource watch/create/put and delete operations ( #216 )
...
Add third-party-resources paths to OpenAPI spec to be able to create/update/watch third party resources.
2017-05-18 00:37:30 -07:00
Sebastien Goasguen
ba61aea1f5
move skippbox/notebooks to client-python for GSoC
2017-05-16 19:27:53 +02:00
mbohlool
94861c777e
Add close method to websocket client
2017-02-27 12:34:53 -08:00
mbohlool
4e593a7530
Improvements on ws_client. Now the client can returns an object to interact with websocket server and reach each channel separately
2017-02-21 12:55:37 -08:00
mbohlool
68e3231a80
Add example to create a deployment from yaml file
2017-01-24 22:32:43 -08:00
mbohlool
8c26b4b75b
Support connecting to multiple clusters
2016-12-16 01:50:07 -08:00
mbohlool
4d14edb757
Add default kube config location
2016-12-15 14:47:24 -08:00
mbohlool
b888000b4a
- Add context switch to kube config loader
...
- Refactor kube config loader to be able to test it
- Add test for kube config loader
2016-12-01 16:08:14 -08:00
mbohlool
b088fe017f
Fix examples syntax error
2016-12-01 01:28:20 -08:00
Jeff Schroeder
699d71cfac
Make example code using config.load_kube_config() more portable
2016-11-30 19:43:34 -06:00
mbohlool
ba3e22a7ac
Add incluster config support
2016-11-23 10:31:22 -08:00
mbohlool
26ac2c4a12
Separate package util into config and watch package
2016-11-22 17:52:46 -08:00
mbohlool
cafbdf0dee
Update examples
2016-11-22 17:23:42 -08:00
mbohlool
db2f4fbcd8
Add examples
2016-11-16 16:16:25 -08:00