Difference between revisions of "Aws ecs describe-clusters"
Jump to navigation
Jump to search
m (Welcome moved page Aws ecs describe-cluster to Aws ecs describe-clusters) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | [[aws ecs]] [[describe-clusters]] | ||
+ | |||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html | ||
+ | * Status: <code>Active, Provisioning, Deprovisioning, Failed, Inactive</code> | ||
+ | == Examples == | ||
aws ecs describe-clusters --cluster default | aws ecs describe-clusters --cluster default | ||
{ | { | ||
Line 18: | Line 22: | ||
"failures": [] | "failures": [] | ||
} | } | ||
+ | |||
+ | [[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].default[[CapacityProviderStrategy]]' | ||
== Related == | == Related == | ||
Line 23: | Line 29: | ||
== See also == | == See also == | ||
+ | * {{aws ecs capacity-provider}} | ||
* {{aws ecs}} | * {{aws ecs}} | ||
* {{AWS ECS}} | * {{AWS ECS}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 19:26, 20 March 2024
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html
- Status:
Active, Provisioning, Deprovisioning, Failed, Inactive
Examples[edit]
aws ecs describe-clusters --cluster default { "clusters": [ { "status": "ACTIVE", "clusterName": "default", "registeredContainerInstancesCount": 0, "pendingTasksCount": 0, "runningTasksCount": 0, "activeServicesCount": 1, "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default" } ], "failures": [] }
aws ecs describe-clusters --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'
Related[edit]
See also[edit]
aws ecs [ create-capacity-provider | delete-capacity-provider | describe-capacity-providers | put-cluster-capacity-providers | update-capacity-provider ]
- AWS ECS:
aws ecs [ create-cluster | create-service | update-service | list-clusters | list-services | describe-cluster | describe-services | describe-tasks | put-account-setting | execute-command | run-task ]
- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: