# [[How to deploy the Grafana Loki Helm chart on GCP]] <iframe width="560" height="315" src="https://www.youtube.com/embed/0000000" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> Related:: "[[Deploying Loki on GCP GKE via Helm]], [[Helm for Kubernetes|Helm]], [[Kubernetes]], [[Google Cloud Platform|GCP]], [[Google Kubernetes Engine|GKE]]" ## Pre-production ### Thumbnail ![[How to deploy the Loki Helm on GCP.png]] ### Title 1. loki helm (61) 2. ### Hook If you've ever tried to deploy Grafana Loki on Kubernetes using a Helm chart, you might have quickly gotten confused. Which Helm chart do you use? Which deployment mode of Loki should you choose? How can you configure Loki to use object storage? In this video, I'm going to show you how to set up Loki to run on Google Cloud Platform using Helm. ### Structure - Why microservices mode? - If you're unfamiliar with the different components of Loki, check out my video with [[Jay Clifford]] on [[Loki Architecture and Components]] - [[Google Kubernetes Engine]] (GKE) is the managed [[readwise/Articles/Kubernetes|Kubernetes]] service of GCP - [[Google Cloud Storage]] is the [[Object storage]] service offered by GCP, the equivalent of [[AWS Simple Storage Service (S3)|S3]] for [[AWS]] - [[Access Control]] on [[Google Cloud Platform|GCP]] - [[GCP Authentication]] - User authentication - Service account - Workload Identity Federation (this is what I recommend), but with a service account through impersonation - [[GCP Identity Access Management|GCP IAM]] - We'll be walking through the documentation here: https://gra.fan/lokigcp - Prerequisites - Create cluster - Create [[Google Cloud Storage]] buckets - chunks - ruler - Set permissions for Loki to access GCS - Add authentication for Loki itself - Apply the Loki Helm chart for GCP - Test the Loki deployment ### Outro So now you're hopefully running Loki on Kubernetes. What's next? In this video ([[Loki Community Call January 2025 - How to run Loki at scale on Kubernetes with Poyzan Taneli]]), my colleagues and I talk about our best tips and tricks for sizing different Loki components to run it all at scale on Kubernetes. Also check out the cloud deployment guides for AWS and Azure, written by my friend Jay Clifford. Thanks for watching! ### Related videos and resources 🎥 Deploying the Loki Helm on AWS: https://youtu.be/5lXmWmofqwM 🎥 All the components of Loki explained: https://youtu.be/_hv4i84Z68s ### Cards 🎥 All the components of Loki explained: https://youtu.be/_hv4i84Z68s ### Pinned comment ``` This is current as of <date>. Check this page for up-to-date documentation. ``` ### Timestamps 00:00 Intro ## Post-production - [ ] Create captions using Rev, then edit them. - [ ] Take a thumbnail photo and create one for YouTube (1280 x 720). - [ ] Add description. - [ ] Include the title and any keywords in the first few sentences, but in a natural way. - [ ] Add related videos and resources as links. - [ ] Add end screen. - [ ] Add cards if necessary. - [ ] Add chapters/timestamps for YouTube if longer than 5 minutes. - [ ] Add mid-roll ads/check monetization settings. - [ ] Add pinned comment. - [ ] Post video preview on Patreon. - [ ] Schedule on YouTube. - [ ] Add video to relevant playlist(s), or create a playlist if necessary. - [ ] Schedule on Mastodon. - [ ] Create a blog post on [site](https://nicolevanderhoeven.com). - [ ] Change `published` to `true`. - [ ] Change `publish` to `true`. - [ ] Change `status` to `Done`.