You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -923,7 +923,7 @@ List scaling activities for Autoscaling Group(s)
923
923
## autoscaling-commands
924
924
925
925
926
-
### scaling-ecs
926
+
### ##scaling-ecs
927
927
928
928
List autoscaling actions
929
929
filter by environment (eg test1) or namespace (eg ecs)
@@ -1382,136 +1382,6 @@ List images for ECR Repositories
1382
1382
## ecs-commands
1383
1383
1384
1384
1385
-
### ecs-clusters2
1386
-
1387
-
List ECS clusters
1388
-
output includes clusterName,status,activeServicesCount,runningTasksCount,pendingTasksCount
1389
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1390
-
1391
-
$ ecs-clusters test
1392
-
test-octopus-ecs-cluster ACTIVE 1 1 0
1393
-
test1-ecs-cluster ACTIVE 3 1 0
1394
-
test3-ecs-cluster ACTIVE 3 1 0
1395
-
test2-ecs-cluster ACTIVE 3 3 0
1396
-
1397
-
1398
-
### ecs-services2
1399
-
1400
-
List ECS services
1401
-
output includes serviceName,status,desiredCount,runningCount,pendingCount,createdAt
1402
-
1403
-
gets all clusters if no filter passed in
1404
-
if you do pass a filter:
1405
-
1. if your filter is the name of one of your clusters, it will list the services in that cluster (eg ecs-clusters test1 | ecs-services)
1406
-
2. if your filter is not a cluster name, it will list the services in all clusters whose names match your filter (ie it filters on cluster name not service name)
1407
-
3. if you do not pass a filter, it will list all services in all clusters
1408
-
1409
-
$ ecs-clusters test1|ecs-services
1410
-
test1-ecs-admin-7URaUr0YGJHi ACTIVE 0 0 0 2023-09-13T17:16:48.198000+10:00
1411
-
test1-ecs-public-wEaTAqGXqbpq ACTIVE 0 0 0 2023-09-13T16:54:54.162000+10:00
1412
-
test1-ecs-hangfire-YNIo1hlx8rjn ACTIVE 1 1 0 2023-09-13T16:39:06.218000+10:00
1413
-
1414
-
1415
-
### ecs-tasks
1416
-
1417
-
List ECS tasks
1418
-
output includes taskDefinitionArn, createdAt, cpu, memory
1419
-
1420
-
gets all tasks if no filter passed in
1421
-
if you do pass a filter, it filters on the task name. All clusters are included (I haven't worked out a way of passing a cluster name AND a filter)
LIst autoscaling activities - the actual scaling events that have happened
1432
-
eg
1433
-
ecs-scaling www
1434
-
2023-11-22T06:24:50.937000+11:00 www-ecs-public-ServicePublic-OuN3rXBLvmx3-AlarmLow-64de4512-d901-4b26-a6a2-184bb1e90bc6 in state ALARM triggered policy www-ecs-public-target-tracking-mem70 Successfully set desired count to 2. Change successfully fulfilled by ecs.
1435
-
2023-11-22T05:25:48.611000+11:00 www-ecs-public-ServicePublic-OuN3rXBLvmx3-AlarmHigh-6408c172-647e-4c0e-aac9-a800cd83317d in state ALARM triggered policy www-ecs-public-target-tracking-mem70 Successfully set desired count to 3. Change successfully fulfilled by ecs.
1436
-
1437
-
1438
-
### ecs-scaling-actions
1439
-
1440
-
List autoscaling actions - cron-based scheduled scaling
1441
-
filter by environment (eg test1) or namespace (eg ecs)
1442
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1443
-
1444
-
$ scaling-ecs 'test.*down' # list the scale-down times of all our test environments
1445
-
1446
-
1447
-
## ecs-commands2
1448
-
1449
-
1450
-
### ecs-clusters2
1451
-
1452
-
List ECS clusters
1453
-
output includes clusterName,status,activeServicesCount,runningTasksCount,pendingTasksCount
1454
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1455
-
1456
-
$ ecs-clusters test
1457
-
test-octopus-ecs-cluster ACTIVE 1 1 0
1458
-
test1-ecs-cluster ACTIVE 3 1 0
1459
-
test3-ecs-cluster ACTIVE 3 1 0
1460
-
test2-ecs-cluster ACTIVE 3 3 0
1461
-
1462
-
1463
-
### ecs-services2
1464
-
1465
-
List ECS services
1466
-
output includes serviceName,status,desiredCount,runningCount,pendingCount,createdAt
1467
-
1468
-
gets all clusters if no filter passed in
1469
-
if you do pass a filter:
1470
-
1. if your filter is the name of one of your clusters, it will list the services in that cluster (eg ecs-clusters test1 | ecs-services)
1471
-
2. if your filter is not a cluster name, it will list the services in all clusters whose names match your filter (ie it filters on cluster name not service name)
1472
-
3. if you do not pass a filter, it will list all services in all clusters
1473
-
1474
-
$ ecs-clusters test1|ecs-services
1475
-
test1-ecs-admin-7URaUr0YGJHi ACTIVE 0 0 0 2023-09-13T17:16:48.198000+10:00
1476
-
test1-ecs-public-wEaTAqGXqbpq ACTIVE 0 0 0 2023-09-13T16:54:54.162000+10:00
1477
-
test1-ecs-hangfire-YNIo1hlx8rjn ACTIVE 1 1 0 2023-09-13T16:39:06.218000+10:00
1478
-
1479
-
1480
-
### ecs-tasks
1481
-
1482
-
List ECS tasks
1483
-
output includes taskDefinitionArn, createdAt, cpu, memory
1484
-
1485
-
gets all tasks if no filter passed in
1486
-
if you do pass a filter, it filters on the task name. All clusters are included (I haven't worked out a way of passing a cluster name AND a filter)
LIst autoscaling activities - the actual scaling events that have happened
1497
-
eg
1498
-
ecs-scaling www
1499
-
2023-11-22T06:24:50.937000+11:00 www-ecs-public-ServicePublic-OuN3rXBLvmx3-AlarmLow-64de4512-d901-4b26-a6a2-184bb1e90bc6 in state ALARM triggered policy www-ecs-public-target-tracking-mem70 Successfully set desired count to 2. Change successfully fulfilled by ecs.
1500
-
2023-11-22T05:25:48.611000+11:00 www-ecs-public-ServicePublic-OuN3rXBLvmx3-AlarmHigh-6408c172-647e-4c0e-aac9-a800cd83317d in state ALARM triggered policy www-ecs-public-target-tracking-mem70 Successfully set desired count to 3. Change successfully fulfilled by ecs.
1501
-
1502
-
1503
-
### ecs-scaling-actions
1504
-
1505
-
List autoscaling actions - cron-based scheduled scaling
1506
-
filter by environment (eg test1) or namespace (eg ecs)
1507
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1508
-
1509
-
$ scaling-ecs 'test.*down' # list the scale-down times of all our test environments
1510
-
1511
-
1512
-
## ecs-commands~
1513
-
1514
-
1515
1385
### ecs-clusters
1516
1386
1517
1387
List ECS clusters
@@ -1558,7 +1428,7 @@ if you do pass a filter, it filters on the task name. All clusters are included
1558
1428
1559
1429
### ecs-scaling-activities
1560
1430
1561
-
LIst autoscaling activities - the actual scaling events that have happened
1431
+
List autoscaling activities - the actual scaling events that have happened
1562
1432
eg
1563
1433
ecs-scaling www
1564
1434
2023-11-22T06:24:50.937000+11:00 www-ecs-public-ServicePublic-OuN3rXBLvmx3-AlarmLow-64de4512-d901-4b26-a6a2-184bb1e90bc6 in state ALARM triggered policy www-ecs-public-target-tracking-mem70 Successfully set desired count to 2. Change successfully fulfilled by ecs.
@@ -2102,35 +1972,6 @@ Generate NS records for delegating domain to AWS
0 commit comments