简体   繁体   English

AWS ECS 任务定义:为什么我的任务定义处于活动状态?

[英]AWS ECS task definition : Why is my task definitions are active?

I'm currently running a ec2 instance with no load balancer我目前正在运行一个没有负载均衡器的 ec2 实例

intended to run single instance with no scaling旨在运行没有扩展的单个实例


I have only one task running but all three tasks are Active我只有一项任务正在运行,但所有三项任务都处于活动状态

在此处输入图像描述

在此处输入图像描述

I want to know why my all of my task definitions are activated我想知道为什么我所有的任务定义都被激活

is it intended or just a default state?它是有意的还是只是默认的 state?

for a backup when latest version of task crushes?当最新版本的任务崩溃时进行备份? or is it for quick scaling?还是为了快速扩展?

I can't find a clue for it Doc: Run a standalone task我找不到线索 Doc: Run a Standalone task

ACTIVE simply means that you can run a task using the given version. ACTIVE仅表示您可以使用给定版本运行任务。 It does not mean that the version is actually running.这并不意味着该版本实际上正在运行。 To make old versions INACTIVE (ie not usable) you have to deregister it.要使旧版本INACTIVE (即不可用),您必须注销它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM