linux - Azure Kubernetes : Spring Batch running on Ubuntu 18. 04 很少被杀死

标签 linux ubuntu kubernetes spring-batch azure-aks

我在 Azure Kubernetes 上部署了一个 Spring Batch 2.1.x 应用程序。基础镜像是 Ubuntu 18.04。我发现该进程有时会被终止。

工艺流程:

  1. 用于启动 bash 脚本的 kubectl 命令行命令
  2. 启动 spring 批处理的 bash 脚本
  3. 用于打印/生成 CSV 文件的 Spring Batch 应用程序

enter image description here

最佳答案

在 Kubernetes 环境中,Pod 有时会关闭并且替换 Pod 会安排在另一个工作节点上,这是完全正常的。由于节点维护或平衡工作负载,这种情况经常发生。您可以在documentation about pod-lifecycle中阅读更多相关信息。 .

关于linux - Azure Kubernetes : Spring Batch running on Ubuntu 18. 04 很少被杀死,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71641761/

相关文章:

c++ - 使用 Codeblocks 和 Cmake Linux 编译 GLFW

c++ - 如何以编程方式在 Windows、Mac 和 Ubuntu 中设置音量?

mysql - 在 Ubuntu 服务器内部使用 mysql_config_editor 连接 root 问题

linux - 使用 Play Framework 在 Linux 上本地进行 HTTPS

kubernetes - 是否可以在单个API调用中应用整个 list

Kubernetes Ingress 规范中的路径

python - 保护Python代码,包括密码、加密?

swift - 在 Windows 10 上的 Ubuntu 上的 bash 上安装 swift 4

kubernetes - 如何在 kubernetes 中重启主节点

linux - 使用 gnuplot 将页面附加到现有的 Postscript 文件