【问题标题】:Problems with production using Kubernete of Google Cloud Platform, and GitLab CI/CD使用 Google Cloud Platform 的 Kubernetes 和 GitLab CI/CD 进行生产的问题
【发布时间】:2018-07-05 03:19:16
【问题描述】:

我使用 GitLab CI/CD 在每次推送到主分支后自动传输代码。那里一切顺利。但是当 Kubernetes 拿到代码时,它会抛出这个错误信息:

扩展错误:

我需要一些帮助。

【问题讨论】:

  • 您将不得不包含容器日志,因为没有人可以从屏幕截图中显示“它崩溃了”

标签: kubernetes google-cloud-platform gitlab-ci google-kubernetes-engine gitlab-ci-runner


【解决方案1】:

CrashLoopBackoff 错误意味着 GKE 正在尝试启动 Pod,但其中的容器正在崩溃或被终止。

对此没有简单的答案。这是您的应用程序中的特定错误,可能由各种原因引起。您必须通过查看 through the logs 来调查它。

顺便说一句,我发现another thread 和你的很像。

【讨论】:

    猜你喜欢
    • 2018-06-01
    • 2021-08-17
    • 1970-01-01
    • 2019-07-04
    • 1970-01-01
    • 2022-01-03
    • 1970-01-01
    • 1970-01-01
    • 2021-04-11
    相关资源
    最近更新 更多