yc container
Статья создана
Обновлена 3 октября 2024 г.
Manage Container resources.
Command Usage
Syntax:
yc container <group>
Command Tree
- yc container registry — Manage registries.
- yc container registry get — Get information about a registry.
- yc container registry list — List registries.
- yc container registry create — Create a registry.
- yc container registry update — Modify configuration or attributes of a registry.
- yc container registry add-labels — Add labels to a registry.
- yc container registry remove-labels — Remove labels from a registry.
- yc container registry delete — Delete a registry.
- yc container registry list-access-bindings — List access bindings for the specified registry
- yc container registry set-access-bindings — Set access bindings for the specified registry and delete all existing access bindings if there were any
- yc container registry add-access-binding — Add access binding for the specified registry
- yc container registry remove-access-binding — Remove access binding for the specified registry
- yc container registry list-ip-permissions — List ip permissions for the specified registry
- yc container registry set-ip-permissions — Set ip permissions for the specified registry and delete all existing ip permission if there were any
- yc container registry add-ip-permissions — Add ip permissions for the specified registry
- yc container registry remove-ip-permissions — Remove ip permissions for the specified registry
- yc container registry configure-docker — Configure docker to use Yandex Cloud credential helper.
- yc container repository — Manage Docker image repositories.
- yc container repository get — Get information about a Docker image repository.
- yc container repository list — List Docker image repositories.
- yc container repository list-access-bindings — List access bindings for the specified repository
- yc container repository set-access-bindings — Set access bindings for the specified repository and delete all existing access bindings if there were any
- yc container repository add-access-binding — Add access binding for the specified repository
- yc container repository remove-access-binding — Remove access binding for the specified repository
- yc container image — Manage Docker images.
- yc container image get — Get information about a Docker image.
- yc container image list — List Docker images.
- yc container image delete — Delete a Docker image.
- yc container image scan — [PREVIEW] Start scan of Docker image for vulnerabilities.
- yc container image get-scan-result — [PREVIEW] Get scan result.
- yc container image get-last-scan-result — [PREVIEW] Get recent scan result of Docker image.
- yc container image list-scan-results — [PREVIEW] List scan results of Docker image.
- yc container image list-vulnerabilities — [PREVIEW] List vulnerabilities found during scan.
- yc container cluster — Manage Kubernetes clusters.
- yc container cluster get-credentials — Create or update kubeconfig for the specified Kubernetes cluster.
- yc container cluster get — Get information about a Kubernetes cluster.
- yc container cluster list — List Kubernetes clusters available in a folder.
- yc container cluster create — Create a Kubernetes cluster.
- yc container cluster update — Modify configuration or attributes of a Kubernetes cluster.
- yc container cluster add-labels — Add labels to the specified Kubernetes cluster.
- yc container cluster remove-labels — Remove labels from the specified Kubernetes cluster.
- yc container cluster delete — Delete a Kubernetes cluster.
- yc container cluster stop — Stop a Kubernetes cluster and all its node groups.
- yc container cluster start — Start a Kubernetes cluster and all its node groups.
- yc container cluster list-node-groups — List Kubernetes cluster node groups.
- yc container cluster list-operations — List operations for the specified Kubernetes cluster.
- yc container cluster list-nodes — List nodes in all node groups of the specified Kubernetes cluster.
- yc container node-group — Manage node groups.
- yc container node-group get — Get information about a node group.
- yc container node-group list — List node groups available in a folder.
- yc container node-group create — Create a node group.
- yc container node-group update — Modify configuration or attributes of a node group.
- yc container node-group add-metadata — Add or update metadata of the node template of the specified node group.
- yc container node-group remove-metadata — Remove keys from metadata of the node template of the specified node group.
- yc container node-group add-labels — Add labels to the specified node group.
- yc container node-group remove-labels — Remove labels from the specified node group.
- yc container node-group add-node-labels — Add NODE labels to the specified node group.
- yc container node-group remove-node-labels — Remove NODE labels from the specified node group.
- yc container node-group delete — Delete a node group.
- yc container node-group list-operations — List operations for the specified node group.
- yc container node-group list-nodes — List nodes for the specified node group.
Global Flags
Flag | Description |
---|---|
--profile |
string Set the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
int Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
string Set the ID of the cloud to use. |
--folder-id |
string Set the ID of the folder to use. |
--folder-name |
string Set the name of the folder to use (will be resolved to id). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |