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
@@ -1372,24 +1372,6 @@ List all deployment IDs for a deployment group (not useful for the user, only in
1372
1372
List all deployment groups for an application
1373
1373
1374
1374
1375
-
## codedeploy-commands~
1376
-
1377
-
1378
-
### deployment
1379
-
1380
-
List deployments
1381
-
1382
-
1383
-
### deployments
1384
-
1385
-
List all deployment IDs for a deployment group (not useful for the user, only internal)
1386
-
1387
-
1388
-
### deployment-groups
1389
-
1390
-
List all deployment groups for an application
1391
-
1392
-
1393
1375
## ecr-commands
1394
1376
1395
1377
@@ -1406,136 +1388,6 @@ List images for ECR Repositories
1406
1388
## ecs-commands
1407
1389
1408
1390
1409
-
### ecs-clusters2
1410
-
1411
-
List ECS clusters
1412
-
output includes clusterName,status,activeServicesCount,runningTasksCount,pendingTasksCount
1413
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1414
-
1415
-
$ ecs-clusters test
1416
-
test-octopus-ecs-cluster ACTIVE 1 1 0
1417
-
test1-ecs-cluster ACTIVE 3 1 0
1418
-
test3-ecs-cluster ACTIVE 3 1 0
1419
-
test2-ecs-cluster ACTIVE 3 3 0
1420
-
1421
-
1422
-
### ecs-services2
1423
-
1424
-
List ECS services
1425
-
output includes serviceName,status,desiredCount,runningCount,pendingCount,createdAt
1426
-
1427
-
gets all clusters if no filter passed in
1428
-
if you do pass a filter:
1429
-
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)
1430
-
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)
1431
-
3. if you do not pass a filter, it will list all services in all clusters
1432
-
1433
-
$ ecs-clusters test1|ecs-services
1434
-
test1-ecs-admin-7URaUr0YGJHi ACTIVE 0 0 0 2023-09-13T17:16:48.198000+10:00
1435
-
test1-ecs-public-wEaTAqGXqbpq ACTIVE 0 0 0 2023-09-13T16:54:54.162000+10:00
1436
-
test1-ecs-hangfire-YNIo1hlx8rjn ACTIVE 1 1 0 2023-09-13T16:39:06.218000+10:00
1437
-
1438
-
1439
-
### ecs-tasks
1440
-
1441
-
List ECS tasks
1442
-
output includes taskDefinitionArn, createdAt, cpu, memory
1443
-
1444
-
gets all tasks if no filter passed in
1445
-
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
1456
-
eg
1457
-
ecs-scaling www
1458
-
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.
1459
-
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.
1460
-
1461
-
1462
-
### ecs-scaling-actions
1463
-
1464
-
List autoscaling actions - cron-based scheduled scaling
1465
-
filter by environment (eg test1) or namespace (eg ecs)
1466
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1467
-
1468
-
$ scaling-ecs 'test.*down' # list the scale-down times of all our test environments
1469
-
1470
-
1471
-
## ecs-commands2
1472
-
1473
-
1474
-
### ecs-clusters2
1475
-
1476
-
List ECS clusters
1477
-
output includes clusterName,status,activeServicesCount,runningTasksCount,pendingTasksCount
1478
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1479
-
1480
-
$ ecs-clusters test
1481
-
test-octopus-ecs-cluster ACTIVE 1 1 0
1482
-
test1-ecs-cluster ACTIVE 3 1 0
1483
-
test3-ecs-cluster ACTIVE 3 1 0
1484
-
test2-ecs-cluster ACTIVE 3 3 0
1485
-
1486
-
1487
-
### ecs-services2
1488
-
1489
-
List ECS services
1490
-
output includes serviceName,status,desiredCount,runningCount,pendingCount,createdAt
1491
-
1492
-
gets all clusters if no filter passed in
1493
-
if you do pass a filter:
1494
-
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)
1495
-
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)
1496
-
3. if you do not pass a filter, it will list all services in all clusters
1497
-
1498
-
$ ecs-clusters test1|ecs-services
1499
-
test1-ecs-admin-7URaUr0YGJHi ACTIVE 0 0 0 2023-09-13T17:16:48.198000+10:00
1500
-
test1-ecs-public-wEaTAqGXqbpq ACTIVE 0 0 0 2023-09-13T16:54:54.162000+10:00
1501
-
test1-ecs-hangfire-YNIo1hlx8rjn ACTIVE 1 1 0 2023-09-13T16:39:06.218000+10:00
1502
-
1503
-
1504
-
### ecs-tasks
1505
-
1506
-
List ECS tasks
1507
-
output includes taskDefinitionArn, createdAt, cpu, memory
1508
-
1509
-
gets all tasks if no filter passed in
1510
-
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
1521
-
eg
1522
-
ecs-scaling www
1523
-
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.
1524
-
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.
1525
-
1526
-
1527
-
### ecs-scaling-actions
1528
-
1529
-
List autoscaling actions - cron-based scheduled scaling
1530
-
filter by environment (eg test1) or namespace (eg ecs)
1531
-
if you pass an argument, it'll filter for clusters whose ARN contains your text
1532
-
1533
-
$ scaling-ecs 'test.*down' # list the scale-down times of all our test environments
1534
-
1535
-
1536
-
## ecs-commands~
1537
-
1538
-
1539
1391
### ecs-clusters
1540
1392
1541
1393
List ECS clusters
@@ -2126,35 +1978,6 @@ Generate NS records for delegating domain to AWS
0 commit comments