<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GCP on Hallblazzar: 開發者日誌</title>
    <link>https://dev-journal.hallblazzar.dev/zh-tw/categories/gcp/</link>
    <description>Recent content in GCP on Hallblazzar: 開發者日誌</description>
    <generator>Hugo</generator>
    <language>zh-tw</language>
    <lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://dev-journal.hallblazzar.dev/zh-tw/categories/gcp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>在 Cloud Run 使用 Cloud Storage Volume 的一些注意事項</title>
      <link>https://dev-journal.hallblazzar.dev/zh-tw/posts/2026_apr_13_gcp/</link>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://dev-journal.hallblazzar.dev/zh-tw/posts/2026_apr_13_gcp/</guid>
      <description>&lt;p&gt;分享我最近在 GCP 上部署掛載 Cloud Storage Volume 的 Cloud Run Service時，遇到的一些值得一提的經驗（&lt;del&gt;坑&lt;/del&gt;）。&lt;/p&gt;&#xA;&lt;h2 id=&#34;container-無故結束運行且未回報錯誤&#34;&gt;&#xA;  Container 無故結束運行且未回報錯誤&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#container-%e7%84%a1%e6%95%85%e7%b5%90%e6%9d%9f%e9%81%8b%e8%a1%8c%e4%b8%94%e6%9c%aa%e5%9b%9e%e5%a0%b1%e9%8c%af%e8%aa%a4&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;通常在建立掛載 Cloud Storage Volume 的 Cloud Run Service 時，執行 Create Service 的 &lt;strong&gt;Service Account&lt;/strong&gt; 應具備 &lt;strong&gt;Storage Object User&lt;/strong&gt; 或 &lt;strong&gt;Admin&lt;/strong&gt; Role。 如果權限不足，可能會見到以下狀況：&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;在 Log Explorer 中看到與 Container Exit 相關的錯誤：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;#34;textPayload&amp;#34;: &amp;#34;Application exec likely failed&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;#34;textPayload&amp;#34;: &amp;#34;terminated: Application failed to start: The container may have exited abnormally.&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Log Explorer 顯示 Cloud Storage Volume 似乎已成功掛載：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
