Commit Graph

51 Commits

Author SHA1 Message Date
haiker2011
9d12fe40f2 Add Job examples 2019-03-19 15:44:35 +08: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