Difference between revisions of "Aws ecs describe-clusters"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
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 | ||
− | * | + | * Active, Provisioning, Deprovisioning, Failed, Inactive |
== Examples == | == Examples == |
Revision as of 16:24, 13 October 2022
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html
- Active, Provisioning, Deprovisioning, Failed, Inactive
Examples
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
See also
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: