Commit Graph

1899 Commits

Author SHA1 Message Date
Fabian von Feilitzsch
8ef5857bda Use explicit API version for retrieving CRD API 2019-09-24 09:41:24 -04:00
Kubernetes Prow Robot
6ca7a5b732
Merge pull request #157 from AyliD/patch-1
Update ws_client.py to support proxy
2019-09-23 18:39:25 -07:00
Richard Godden
7ce0198af2 default empty dict 2019-09-23 17:57:50 +01:00
Richard Godden
4ea69211e3 added test that should fail 2019-09-23 17:43:20 +01:00
Evgeniy Ganchurin
6dec044758 Issue-954 - Support false values in configuration file 2019-09-21 03:04:17 +03:00
Kubernetes Prow Robot
af42f24d72
Merge pull request #158 from qlemaire22/master
Check is not None in safe_get
2019-09-20 13:41:27 -07:00
Kubernetes Prow Robot
a05c3315f0
Merge pull request #956 from oz123/get_exit_code
Test getting the returncode of execution in a pod
2019-09-20 13:39:25 -07:00
Oz Tiram
752373b1f9 Test getting the returncode of execution in a pod
This tests demonstrate how to execute a command in a pod and
what behavior is expected. As discussed in the commit
bf367ed6ddc63369f76df0a07b248a6711328605 in python-base this
behavior would be familiar to Python users, as `subprocess.Popen`
has the same property.
2019-09-19 10:03:43 +02:00
Quentin Lemaire
a29bf292cc Add checks for None config file 2019-09-19 09:34:21 +02:00
Kubernetes Prow Robot
5092d96134
Merge pull request #160 from oz123/exit_code
Add property returncode to WSClient
2019-09-18 14:17:00 -07:00
Haowei Cai (Roy)
f4634711ec
Dummy change to trigger readthedocs build
trigger the build in https://readthedocs.org/projects/kubernetes/builds/ through the webhook integration
2019-09-17 17:06:02 -07:00
Oz Tiram
69570ac708 Add property returncode to WSClient
This will be familiar for Python users as subprocess.Popen has
the same attribute. Also, the behavior is such the returncode returns
a None value if the process was not run yet.

Other than that, when the process exists with a numerical code this will
be the value of the return code. If the command executed successfully
the return value will be 0.
2019-09-17 17:23:46 +02:00
Kubernetes Prow Robot
ceaf188498
Merge pull request #938 from scottilee/examples
#884: Cleanup examples folder
2019-09-13 17:14:40 -07: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
Kubernetes Prow Robot
4c1ab55553
Merge pull request #155 from oz123/remove-shebangs
Remove all shebangs from Python modules and checker
2019-08-29 13:06:58 -07:00
AyliD
34f3d05c84
Update ws_client.py to support proxy 2019-08-29 07:46:40 +03:00
Oz N Tiram
c941d74b37 Remove all shebangs from Python modules and checker
As discussed, Python modules which aren't intended to be invoked
as scripts should not include a shebang line.

Update CONTRIBUTING.md and the checker script.
This script now includes a list SKIP_FILES for files that
should not be checked for boilerplate template.
The tests will now fail if a Python module has a shebang line.
Scripts which should have a shebang line and exists in the directory
`hack` can be ignored by adding them to the SKIP_FILES list.
2019-08-27 22:18:52 +02:00
Kubernetes Prow Robot
a5cb3d7889
Merge pull request #855 from juliantaylor/parse-quantity
add function to parse canonical quantities (e.g. resources)
2019-08-26 13:06:38 -07:00
Julian Taylor
8b385a87dc add function to parse canonical quantities (e.g. resources)
This utility function is useful to parse values like the 200m or 300Gi
memory and cpu resources stored in kubernetes manifests.
It uses Decimal as output format as it usually represents typical input
values more accurately and reduces rounding errors.
2019-08-26 21:49:58 +02:00
Kubernetes Prow Robot
08fefc3a6e
Merge pull request #924 from oz123/update-support-matrix
Update support matrix
2019-08-21 15:44:33 -07:00
Kubernetes Prow Robot
91c080d390
Merge pull request #933 from ratanboddu/ingress-example
Added Ingress Example
2019-08-17 21:20:05 -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
Sergei Maertens
382707436f Refs. #151 -- detect binary payloads and send the correct opcode
On Python 2, strings are bytestrings either way. On Python 3, the
result of `chr(channel)` is `str`, while the data itself is
`bytes`. The channel prefix needs to be turned into a binary type,
and the websocket frame needs the correct opcode (binary vs. text).

See #151 for the bug report and related issues.
2019-08-14 11:29:03 +02:00
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
40a03984d8
Merge pull request #929 from micw523/patch-7
Restore latest release of minikube
2019-08-13 12:35:43 -07:00
Scott Lee
9dbbc6959a Add issue templates (#916)
* Add issue templates

* Include feedback fixes

* Fix wording
2019-08-13 12:31:42 -07:00
micw523
ab8b903488
Restore latest release of minikube 2019-08-13 14:08:49 -04:00
Kubernetes Prow Robot
4b8e89f95d
Merge pull request #56 from fabianvf/dynamic-client
Dynamic Client
2019-08-12 11:01:13 -07:00
Fabian von Feilitzsch
53c4cb23a3 Add boilerplate 2019-08-09 21:38:40 -04:00
Fabian von Feilitzsch
5b21d65aae Add tests for dynamic client 2019-08-09 21:38:40 -04:00
Fabian von Feilitzsch
461a3bf7ce Add dynamic client 2019-08-09 21:38:26 -04:00
Oz Tiram
c630528065 Remove old client versions (>v1.9) from support matrix
* Add updating of support matrix to REALEASE.md
   This will help future maintainers and prevent the table
   from becoming huge again.
2019-08-09 13:46:42 +02:00
Kubernetes Prow Robot
b51037f02b
Merge pull request #918 from roycaihw/minikube-1.15.1
Temporary pin minikube to 1.2.0 due to regression in 1.3.0
2019-08-08 16:49:25 -07:00
Haowei Cai
d300fd7809 use minikube 1.2.0 2019-08-08 13:33:56 -07:00
Haowei Cai (Roy)
b403562b94
CHANGELOG for removing use of alpha initializers 2019-08-06 18:48:15 -07:00
Kubernetes Prow Robot
1d51d5ab57
Merge pull request #915 from scottilee/owners
Move inactive members to emeritus
2019-08-05 11:17:51 -07:00
Scott Lee
959c863051 Move inactive members to emeritus 2019-08-02 16:24:00 -07:00
Kubernetes Prow Robot
c1842a3e53
Merge pull request #893 from oz123/docs_update
Docs update
2019-08-02 14:47:56 -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
14a63f81a7
Merge pull request #911 from goddenrich/parse-microseconds-submodule
update submodule to include parsing microseconds
2019-08-02 13:03:54 -07:00
Richard Godden
3f8d583ee0 update submodule to include parsing microseconds 2019-08-01 22:16:00 +01:00
Kubernetes Prow Robot
ec31e05c90
Merge pull request #150 from goddenrich/fix-miliseconds-rfc3339-re
corrected regex to properly parse microseconds
2019-08-01 13:58:15 -07:00
Richard Godden
ca007f3672 parse microseconds 2019-08-01 21:49:32 +01:00
Oz Tiram
3b84216652 Mulitple docs fixes
*  Document how to build the doumentation with sphinx

    For convinience, I added a Makefile which spares one to memorize the
    long sphinx command, or type python setup.py build_sphinx

    You simply use `make html` and you will get the docs.

 * Render README with markdown properly

   conf.py includes some code to work around a  bug in
   common mark. The markdown is now properly converted to HTML.

 * Fix rendering of CONTRIBUTING.md
2019-07-31 18:13:57 +02: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
c98d761127
Merge pull request #907 from micw523/patch-5
Add micw523 to reviewers
2019-07-30 15:07:51 -07:00
micw523
c558b127bf
Add micw523 to reviewers 2019-07-30 17:56:27 -04:00
Kubernetes Prow Robot
4f7bcfaa91
Merge pull request #148 from micw523/patch-1
Remove sudo for Travis CI
2019-07-30 14:35:52 -07:00