首页 \ 问答 \ 终止的ACI不会消失(Terminated ACI not disappearing)

终止的ACI不会消失(Terminated ACI not disappearing)

我正在处理一个新的容器映像,它运行我的工作进程以排空Azure队列。 一旦队列为空,我的应用程序退出,我希望ACI取消分配并被删除。 我所看到的是ACI棒。 它处于“已终止”状态,重启次数为0,正如我所料(在Azure门户中看到),但为什么不完全从ACI列表中删除/删除?

我使用Azure cli创建这些实例,并指定restart never选项。 这是我的命令行(减去图像特定的细节):

az container create --cpu 4 --memory 14 --restart-policy never --os-type windows --location eastus

我当然也想知道结算何时停止。 一旦我看到终止状态,我希望结算已经停止。 虽然目前尚不清楚。 我当然可以手动删除ACI,它会立即消失,如果退出应用程序也一样吗?


I'm working on a new container image that runs my worker process to drain an Azure queue. Once the queue is empty my app exits and I'd like the ACI to de-allocate and be removed as well. What I am seeing is the ACI stick around. It is in a "Terminated" state with a restart count of 0 as I would expect (seen in Azure Portal), but why is it not removed/deleted from the ACI list entirely?

I am using the Azure cli to create these instances and am specifying the restart never option. Here is my command line (minus the image specific details):

az container create --cpu 4 --memory 14 --restart-policy never --os-type windows --location eastus

I am of course also wondering where billing stops. Once I see the terminated state I am hoping that billing has stopped. Though this is unclear. I can of course manually delete the ACI and it is gone immediately, should exiting the app do the same?


原文:https://stackoverflow.com/questions/50010572
更新时间:2022-11-12 22:11

相关问答

更多
  • OpenGL中的着色器(以及Vulkan / D3D) 不能有指针。 您可以做的最多是为其他一些数据结构提供索引。 所以你可以使x成为其他数组的索引。 虽然目前尚不清楚为什么它需要成为一个指针。 Shaders in OpenGL (and Vulkan/D3D for that matter) cannot have pointers. The most you can do is provide an index into some other data structure. So you could ...
  • 您用于传输交错数据的方法是正确的(即,使用glVertexAttribPointer ,但最后两个参数不正确)。 倒数第二个是stride (对于结构中的每个项目都是相同的,应该是结构的大小),最后一个是offset ,对于每个元素应该是不同的(因为它们在不同的偏移量中)结构本身)。 此外,最好不要在此处使用常量,而是使用sizeof()运算符,使代码尽可能与平台无关。 这是它应该是什么样子: glVertexAttribPointer( 0, 3, GL_FLOAT, GL_FALSE, size ...
  • 雷托科拉迪得到了答案! 在编译着色器以正确绑定它时,您需要事先调用glBindAttribLocation。 现在都在工作! 另外,在主持人问我之前,我不能接受他的回答作为正确的答案,因为这是对我原来的问题的评论。 Reto Koradi had the answer! You need to call glBindAttribLocation beforehand when compiling the shader to bind it correctly. It's all working now! A ...
  • 在着色器代码中使用所谓静态数组的正确方法是将其作为Uniform传递: http://www.opengl.org/wiki/GLAPI/glUniform 在你的着色器代码中,你需要一个外部数组: uniform int colors[3]; // Specify an array of 3 integers 在你的java代码中使用这个: int array[3] = {0, 1, 2}; int location = GLES20.glGetUniformLocation(program_id, " ...
  • OpenGL 3.3至少需要16个顶点属性位置。 顶点属性限制(由GLSL定义): const int gl_MaxVertexAttribs = 16; // Minimum: 16 Vertex Attribute Slots 顶点属性限制(在OpenGL中查询): GLuint max_vtx_attribs; glGetIntegerv (GL_MAX_VERTEX_ATTRIBS, &max_vtx_attribs); AMD是我所知道的唯一提供超过16个属性的供应商(它们在某些驱动程序/硬件 ...
  • 您可以使用2DArray类型来执行此操作。 Properties { _TheTextureArray ("Tex", 2DArray) = "" {} } 您可以在此处找到有关它的更多信息: https : //docs.unity3d.com/Manual/SL-TextureArrays.html 请注意技术限制(例如,DX11 / 12),因此默认情况下它不适用于所有环境,当然不适用于Web(当前)。 You can use the 2DArray type which will allo ...
  • 我只是学习如何使用计算着色器,所以我不是专家。 关于你的骨骼计算,我确信CS应该至少和VS一样快。 Intuition告诉我, numthreads (64,1,1)的效率低于numthreads (16,16,1) 。 所以你可以尝试这种方法: 将线性缓冲区视为具有二次布局,x和y大小相同 将x / y-size计算为size = ceil (sqrt (numvertices)) 在程序中使用dispat ch(size / 16, size / 16) ,在hlsl文件中使用numthreads (1 ...
  • 最后,我使用我的旧方法,如我的帖子 Finally I use my old method like my post
  • Cg就是这样做的,它就是这样。 HLSL / D3D11确实通过CBUFFERS的概念改进了这一点 。 你最终能够做的是在你的C ++代码中创建一个C风格的结构,它反映着色器中的所有参数,并将所有参数一次性刷新到gpu,而不必通过愚蠢的变量名来实现: C ++代码: struct GPUCDATA { // the concatenated modelview-projection matrix float modelViewProj[16] ; // column major float d ...
  • 这里的问题是glVertexAttribPointer确实指定了浮点数据,因此您必须在着色器中将它们作为float / vec访问。 该函数的normalized参数只是指定它,结果浮点数将被归一化为[0,1]或直接转换。 从理论上讲,你可以像使用非标准化的uint一样使用,只需在着色器中使用in float color - 但是你会失去精确度。 如果要直接将整数值传递给着色器,则必须使用glVertexAttribIPointer ,它最初是在EXT_gpu_shader4扩展中引入的,并且是自版本3以来 ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。