Python Client for GKE Connect Gateway API¶
GKE Connect Gateway: builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters.
Quick Start¶
In order to use this library, you first need to go through the following steps:
Installation¶
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Mac/Linux¶
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-gke-connect-gateway
Windows¶
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-gke-connect-gateway
Next Steps¶
Read the Client Library Documentation for GKE Connect Gateway to see other available methods on the client.
Read the GKE Connect Gateway Product documentation to learn more about the product and see How-to Guides.
View this README to see the full list of Cloud APIs that we cover.
Note
Because this client uses grpc
library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances after the invocation of
os.fork()
by multiprocessing.pool.Pool
or
multiprocessing.Process
.
This package includes clients for multiple versions of GKE Connect Gateway.
By default, you will get version gateway_v1
.
API Reference¶
API Reference¶
Changelog¶
For a list of all google-cloud-gke-connect-gateway
releases:
- Changelog
- 0.10.0 (2024-11-14)
- 0.9.2 (2024-11-11)
- 0.9.1 (2024-10-24)
- 0.9.0 (2024-08-22)
- 0.8.11 (2024-07-30)
- 0.8.10 (2024-07-08)
- 0.8.9 (2024-03-05)
- 0.8.8 (2024-02-22)
- 0.8.7 (2024-02-06)
- 0.8.6 (2024-02-01)
- 0.8.5 (2023-12-07)
- 0.8.4 (2023-09-19)
- 0.8.3 (2023-07-05)
- 0.8.2 (2023-03-23)
- 0.8.1 (2023-01-20)
- 0.8.0 (2023-01-10)
- 0.7.0 (2022-12-14)
- 0.6.3 (2022-10-07)
- 0.6.2 (2022-09-29)
- 0.6.1 (2022-08-11)
- 0.6.0 (2022-07-14)
- 0.5.2 (2022-06-03)
- 0.5.1 (2022-03-05)
- 0.5.0 (2022-02-26)
- 0.4.1 (2021-11-01)
- 0.4.0 (2021-10-20)
- 0.3.0 (2021-10-09)
- 0.2.3 (2021-09-24)
- 0.2.2 (2021-07-29)
- 0.2.1 (2021-07-21)
- 0.2.0 (2021-07-14)
- 0.1.0 (2021-06-20)