Commit Graph

875 Commits

Author SHA1 Message Date
Haowei Cai
684544e53e detect OS X sed and fail client generation script 2021-04-29 11:20:40 -07: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
Kubernetes Prow Robot
b5fedc3cf9
Merge pull request #1433 from Priyankasaggu11929/psaggufix_crd_yaml_manifest
Fix CustomResourceDefinition manifest yaml in custom_object.py example
2021-04-27 10:33:49 -07:00
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
Kubernetes Prow Robot
e2aad06bc4
Merge pull request #1431 from roycaihw/pin-openapi-generator
configure the openapi-generator version
2021-04-26 13:19:17 -07:00
Haowei Cai
7309a45b77 configure the openapi-generator version 2021-04-26 11:51:37 -07:00
Kubernetes Prow Robot
c3005ce1d4
Merge pull request #1322 from palnabarun/update-CHANGELOG
Cherry-pick: Update CHANGELOG with v17.14.0a1
2021-04-22 14:40:01 -07:00
Kubernetes Prow Robot
683ea3636e
Merge pull request #1419 from roycaihw/release-automation
add update-submodule script
2021-04-20 17:32:10 -07:00
Haowei Cai
83d294e2b0 fixup! add update-submodule script 2021-04-20 16:56:30 -07:00
Haowei Cai
d86a47de26 add PR template
copied from k/k. We should add the same template to python-base
2021-04-20 11:01:16 -07:00
Haowei Cai
7b9e77bfd2 add update-submodule script 2021-04-19 21:46:38 -07:00
Kubernetes Prow Robot
b313b5e74f
Merge pull request #1416 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.2.2
Bump actions/setup-python from v2.1.4 to v2.2.2
2021-04-12 20:48:50 -07:00
dependabot[bot]
b78db01baf
Bump actions/setup-python from v2.1.4 to v2.2.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.4 to v2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.4...dc73133d4da04e56a135ae2246682783cc7c7cb6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 03:02:11 +00:00
Kubernetes Prow Robot
b839eee939
Merge pull request #1401 from Akasurde/i1396
examples/pod_exec.py: fix example
2021-03-29 18:27:58 -07:00
Abhijeet Kasurde
b3e51c4820 examples/pod_exec.py: fix example
Use get_default_copy() API with configuration.
2021-03-23 10:28:13 +05:30
Kubernetes Prow Robot
bf63f59e72
Merge pull request #1390 from abhiabhi94/ref/utils
Refactor utils
2021-03-14 15:53:04 -07:00
abhiabhi94
44fe8bf1c2 Refactor utils
- move regex compilation to the top of the module to enable caching.
2021-03-10 08:15:32 +05:30
Kubernetes Prow Robot
f17076f0e1
Merge pull request #1385 from jonasdlindner/master
Fix Typo in examples/remote_cluster.py
2021-03-02 09:15:19 -08:00
Jonas Lindner
9a0713b2b2
Fix Typo in examples/remote_cluster.py 2021-03-01 14:19:59 +01:00
Kubernetes Prow Robot
2febc69715
Merge pull request #1383 from chrisayoub/master
Update base submodule
2021-02-26 10:42:16 -08:00
Chris Ayoub
fdd2e14c60 Update base submodule 2021-02-25 19:00:06 -05:00
Kubernetes Prow Robot
529bae3760
Merge pull request #1370 from soumitrak/master
Added kubernetes.leaderelection in packages list to fix import error
2021-02-06 11:15:11 -08:00
Soumitra Kumar
d7584c538c Added kubernetes.leaderelection in packages list to fix No module named 'kubernetes.leaderelection' error
To reproduce: Make sure to create a file outside of checked out python repo directory.
$ cat hello_k8s.py
import kubernetes

kubernetes.config.load_kube_config()

k8s = kubernetes.client.CoreV1Api()
print("Listing pods with their IPs:")
ret = k8s.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
    print("%s\t%s\t%s" % (i.status.pod_ip, i.metadata.namespace, i.metadata.name))

python hello_k8s.py
Traceback (most recent call last):
  File "hello_k8s.py", line 1, in <module>
    import kubernetes
  File "<frozen zipimport>", line 259, in load_module
  File "anaconda3/lib/python3.8/site-packages/kubernetes-17.0.0_snapshot-py3.8.egg/kubernetes/__init__.py", line 25, in <module>
ModuleNotFoundError: No module named 'kubernetes.leaderelection'
2021-02-05 15:17:53 -08:00
Kubernetes Prow Robot
cbc2a2d212
Merge pull request #1363 from Invictus17/master
Enable leaderelection
2021-02-04 22:24:51 -08:00
Invictus17
a6655d6eba Adding symbolic link to base/leaderelection 2021-02-04 21:23:37 -05:00
Sumant
6eb9f7d9dc Adding module leaderelection from base 2021-02-01 17:03:44 -05:00
Sumant
bd26d85e84 Enable leaderelection 2021-01-28 18:50:23 -05:00
Kubernetes Prow Robot
3e615b60b5
Merge pull request #1348 from roycaihw/configmap-e2e/labels
e2e: use labels for configmap api; wait for default service account creation
2021-01-12 19:18:35 -08:00
Haowei Cai
90931037ac pod e2e: wait for the default service account to be created 2021-01-12 17:18:42 -08:00
Haowei Cai
3b95adc8f3 configmap-e2e: use labels 2021-01-11 12:34:14 -08:00
Haowei Cai
5be9c893b3 update python-base submodule 2021-01-05 09:53:49 -08:00
Kubernetes Prow Robot
818e5ba0ba
Merge pull request #1337 from asellappen/master
Adding Power support(ppc64le) with ci and testing to the project for architecture independent
2020-12-03 21:37:25 -08:00
Arumugam
d860dc5259 Adding Power support(ppc64le) with ci and testing to the project for architecture independent 2020-12-02 11:09:47 +00:00
Haowei Cai (Roy)
f461dd42d4
Merge pull request #1311 from gliptak/python1
Add Python 3.9 to build
2020-11-23 18:25:50 -08:00
Kubernetes Prow Robot
49a59d7526
Merge pull request #1329 from iciclespider/master
Implement back end raw port test container using python.
2020-11-23 10:51:02 -08:00
Patrick J. McNerthney
fd405e813d Implement back end raw port test container using python. 2020-11-22 10:26:43 -10:00
Kubernetes Prow Robot
eb9b6d609e
Merge pull request #1321 from palnabarun/refactor-compat-and-support-clauses
Update support and compatibitility sections of documentation
2020-11-16 17:34:04 -08:00
Nabarun Pal
3ffa47edba
Update CHANGELOG with v17.14.0a1
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 03:33:56 +05:30
Nabarun Pal
f0dbe38970
Add a note about the change in client versioning schema
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 03:29:47 +05:30