更新:原来它已经耗尽了磁盘空间
我的ECS容器在发射后大约一个小时就会被杀死。大约55到65分钟。然后创建一个新的容器,然后在大约一个小时后被杀死。我查看了ec2主机的日志以及容器中的日志,没有任何东西显示正在发生什么。
知道我能做什么吗?
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
我正试图通过codepipeline将我的应用程序部署到AWS ECS,并在Codepipline控制台中看到以下错误:
Waiting for the task to finishes...
==> The one-off task has failed!!
Container exit code: None
Container exit reason: CannotPullContainerError: write /var/lib/docker/tmp/GetImageBlob021600560: no space left on device
Stopped reason: T
嗨,我有两个AWS::ElasticLoadBalancingV2::Listener,名字是Listener1和Listener2。我有一个条件,在这种情况下,部署了listner1或listner1我已经创建了一个我希望依赖于侦听器的ecs服务。
Service:
Type: AWS::ECS::Service
DependsOn: !If [Condition, Listener1, Listener2]
Properties:
在部署时,它给了我错误Template format error: DependsOn must be a string or list
我正在尝试为我已经创建的ECS服务创建一个部署组,但是在输入所有值并单击create deployment group时,我会收到警报:
Deployment group's ECS service must be configured for the external controller.
我无法理解我必须在ECS服务配置中更改什么以纠正警报。
我正在服务器上序列化Entity:
public class Entity
{
private List<Component> _components = new List<Component>();
[Key(0)]
public List<Component> Components {
get {
return _components;
}
set
{