Get
Returns the specified Helm release.
- TypeScript
- Python
import { cloudApi, serviceClients, Session } from "@yandex-cloud/nodejs-sdk";
const GetHelmReleaseRequest =
cloudApi.k8s.marketplace_helm_release_service.GetHelmReleaseRequest;
(async () => {
const authToken = process.env["YC_OAUTH_TOKEN"];
const session = new Session({ oauthToken: authToken });
const client = session.client(serviceClients.HelmReleaseServiceClient);
const result = await client.get(
GetHelmReleaseRequest.fromPartial({
id: "id",
})
);
console.log(result);
})();
import os
import grpc
import yandexcloud
from yandex.cloud.k8s.marketplace.v1.helm_release_service_pb2 import GetHelmReleaseRequest
from yandex.cloud.k8s.marketplace.v1.helm_release_service_pb2_grpc import HelmReleaseServiceStub
token = os.getenv("YC_OAUTH_TOKEN")
sdk = yandexcloud.SDK(token=token)
service = sdk.client(HelmReleaseServiceStub)
response = service.Get(GetHelmReleaseRequest(id="id"))
print(response)
GetHelmReleaseRequest
id
: string
The ID of the Helm release to retrieve.
HelmRelease
A Helm Release.
Status
STATUS_UNSPECIFIED
UNKNOWN
Helm release status is unknown
DEPLOYED
Helm release deployed.
UNINSTALLED
Helm release uninstalled.
SUPERSEDED
Helm release superseded.
FAILED
Helm release installation failed.
UNINSTALLING
Helm release is being uninstalled.
PENDING_INSTALL
Helm release is to be installed.
PENDING_UPGRADE
Helm release is to be updated.
PENDING_ROLLBACK
Helm release is to be rolled back.
id
: string
ID of a helm release.
clusterId
: string
ID of the Kubernetes cluster.
appName
: string
Name of the application.
appNamespace
: string
Namespace of the application.
productId
: string
Kubernetes marketplace product id.
productName
: string
Kubernetes marketplace product name.
productVersion
: string
Kubernetes marketplace product version.
status
: Status
Status of a helm release.
createdAt
: google.protobuf.Timestamp
Creation timestamp.