The Upgrade API uses Kubernetes custom resources and relies on the Kubernetes Resource Model (KRM). It manages the schedule for tenant organization upgrades.
To use the Upgrade API, we recommend that you use the GDCH console or
kubectl CLI. If your application needs to use your own libraries to call this
API, use the following example and the
full API definition to build
Service endpoint and discovery document
The API endpoint for the Upgrade API is
GDCH_API_SERVER_ENDPOINT is the endpoint of the
GDCH API server.
kubectl proxy command, you can access that URL in your browser or
with a tool such as
curl to get the discovery document for the Upgrade API.
kubectl proxy command opens up a proxy to the Kubernetes API server on
your local machine. After that command is running, you can access the document at
the following URL:
Example upgrade MaintenanceWindow resource
You can interact with maintenance windows using the GDCH console and
kubectl CLI in GDCH. There are two maintenance windows
for every tenant organization, one for patch upgrades and the other for minor
The following is an example of a
MaintenanceWindow object configured to define
a maintenance window for GDCH minor upgrades: