{"id":601,"date":"2025-08-02T09:42:24","date_gmt":"2025-08-02T07:42:24","guid":{"rendered":"https:\/\/www.oferto.io\/?p=601"},"modified":"2025-08-02T09:42:24","modified_gmt":"2025-08-02T07:42:24","slug":"despliegue-continuo-en-kubernetes-con-helm","status":"publish","type":"post","link":"https:\/\/www.oferto.io\/en\/despliegue-continuo-en-kubernetes-con-helm\/","title":{"rendered":"Continuous deployment in Kubernetes with Helm"},"content":{"rendered":"<h2>Continuous deployment in Kubernetes with Helm<\/h2>\n<p><strong>Category:<\/strong> Kubernetes<\/p>\n<p><em>Helm is the Kubernetes package manager. Learn how to use it to automate continuous deployments, manage configurations, and maintain versions of your applications across clusters.<\/em><\/p>\n<hr>\n<h3>What is Helm and why should you use it?<\/h3>\n<p>Helm is a tool that facilitates the deployment of applications in Kubernetes through reusable templates called <strong>charts<\/strong>If Docker is the container and Kubernetes is the orchestrator, Helm is the equivalent of a package management system like apt or npm.<\/p>\n<p>With Helm you can:<\/p>\n<ul>\n<li>Versioning and reusing deployment configurations<\/li>\n<li>Automate continuous deployments in environments such as staging and production<\/li>\n<li>Reduce human errors by avoiding duplicate YAML files<\/li>\n<li>Rollback to previous versions if something goes wrong<\/li>\n<\/ul>\n<h3>Step 1: Install Helm<\/h3>\n<p>Helm can be easily installed from the official site or with Homebrew:<\/p>\n<pre><code class=\"language-bash\">brew install helm helm version<\/code><\/pre>\n<h3>Step 2: Create a Custom Chart<\/h3>\n<p>Use the command <code>helm create<\/code> To generate the base structure of a chart:<\/p>\n<pre><code class=\"language-bash\">helm create mi-app<\/code><\/pre>\n<p>This will generate a structure like this:<\/p>\n<pre><code>my-app\/ \u251c\u2500\u2500 charts\/ \u251c\u2500\u2500 templates\/ \u2502 \u251c\u2500\u2500 deployment.yaml \u2502 \u251c\u2500\u2500 service.yaml \u2502 \u2514\u2500\u2500 ingress.yaml \u251c\u2500\u2500 values.yaml \u2514\u2500\u2500 Chart.yaml<\/code><\/pre>\n<p>The file <code>values.yaml<\/code> contains the configuration values that you can parameterize. The rest of the files use the syntax of <code>Go templates<\/code> to interpolate those values.<\/p>\n<h3>Step 3: Install the chart on Kubernetes<\/h3>\n<p>If you already have your Kubernetes cluster running (minikube, kind, GKE, EKS, etc.), you can install your chart with:<\/p>\n<pre><code class=\"language-bash\">helm install my-app .\/my-app<\/code><\/pre>\n<p>You can also pass custom values from another file:<\/p>\n<pre><code class=\"language-bash\">helm install mi-app .\/mi-app -f values.prod.yaml<\/code><\/pre>\n<h3>Step 4: Update the app and make continuous deployments<\/h3>\n<p>When you update the chart or your values, you just need to run:<\/p>\n<pre><code class=\"language-bash\">helm upgrade my-app .\/my-app<\/code><\/pre>\n<p>This applies the changes without removing the current release, allowing for a <strong>continuous deployment cycle<\/strong> without downtime (as long as your containers are correctly configured with probes and rolling update strategies).<\/p>\n<h3>Step 5: Automate with GitHub Actions<\/h3>\n<p>You can use GitHub Actions to automatically deploy when a main is pushed:<\/p>\n<pre><code class=\"language-yaml\">name: Deploy to Kubernetes on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions\/checkout@v4 - uses: azure\/setup-helm@v3 - run: | helm upgrade --install mi-app .\/mi-app -f values.prod.yaml\r\n<\/code><\/pre>\n<p>This workflow assumes that you have configured access to your cluster via a <code>kubeconfig<\/code> secure stored as a secret in the repository.<\/p>\n<h3>Advanced Tips<\/h3>\n<ul>\n<li>\u2705 Use <code>helm diff<\/code> to preview the changes before applying them<\/li>\n<li>\ud83d\udce6 Publish your charts to your own private Helm repository<\/li>\n<li>\ud83e\uddea Integrates deployment tests and template validation<\/li>\n<li>\ud83d\ude80 Combine Helm with ArgoCD for declarative continuous deployment<\/li>\n<\/ul>\n<h3>Conclusion<\/h3>\n<p>Helm has become the de facto standard for deploying applications on Kubernetes. Its strength lies in its template reusability, rollback capabilities, and its natural integration with CI\/CD pipelines. If you work with Kubernetes, mastering Helm is almost mandatory.<\/p>\n<p>With just a few lines of configuration, you can automate the entire deployment cycle, from development to production.<\/p>","protected":false},"excerpt":{"rendered":"<p>Helm is the Kubernetes package manager. Learn how to use it to automate continuous deployments, manage configurations, and maintain versions of your applications across clusters.<\/p>","protected":false},"author":1,"featured_media":602,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Despliegue continuo en Kubernetes con Helm - Oferto<\/title>\n<meta name=\"description\" content=\"Helm es el gestor de paquetes de Kubernetes. Aprende a usarlo para automatizar despliegues continuos, gestionar configuraciones y mantener versiones de tus aplicaciones en cl\u00fasteres.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oferto.io\/en\/despliegue-continuo-en-kubernetes-con-helm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Despliegue continuo en Kubernetes con Helm - Oferto\" \/>\n<meta property=\"og:description\" content=\"Helm es el gestor de paquetes de Kubernetes. Aprende a usarlo para automatizar despliegues continuos, gestionar configuraciones y mantener versiones de tus aplicaciones en cl\u00fasteres.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oferto.io\/en\/despliegue-continuo-en-kubernetes-con-helm\/\" \/>\n<meta property=\"og:site_name\" content=\"Oferto\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-02T07:42:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"doominio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/\"},\"author\":{\"name\":\"doominio\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#\\\/schema\\\/person\\\/6ee60897fbb7fb4ad6634c73f4be87fa\"},\"headline\":\"Despliegue continuo en Kubernetes con Helm\",\"datePublished\":\"2025-08-02T07:42:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/\"},\"wordCount\":417,\"publisher\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg\",\"articleSection\":[\"Kubernetes\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/\",\"url\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/\",\"name\":\"Despliegue continuo en Kubernetes con Helm - Oferto\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg\",\"datePublished\":\"2025-08-02T07:42:24+00:00\",\"description\":\"Helm es el gestor de paquetes de Kubernetes. Aprende a usarlo para automatizar despliegues continuos, gestionar configuraciones y mantener versiones de tus aplicaciones en cl\u00fasteres.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg\",\"width\":1500,\"height\":1000,\"caption\":\"Software developing\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/despliegue-continuo-en-kubernetes-con-helm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inicio\",\"item\":\"https:\\\/\\\/www.oferto.io\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Despliegue continuo en Kubernetes con Helm\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#website\",\"url\":\"https:\\\/\\\/www.oferto.io\\\/\",\"name\":\"Oferto\",\"description\":\"Software Toolbox\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.oferto.io\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#organization\",\"name\":\"Oferto\",\"url\":\"https:\\\/\\\/www.oferto.io\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/www.oferto.io\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/image.png\",\"width\":1385,\"height\":437,\"caption\":\"Oferto\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.linkedin.com\\\/in\\\/masalinas\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.oferto.io\\\/#\\\/schema\\\/person\\\/6ee60897fbb7fb4ad6634c73f4be87fa\",\"name\":\"doominio\",\"sameAs\":[\"https:\\\/\\\/www.oferto.io\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Continuous Deployment in Kubernetes with Helm - Oferto","description":"Helm is the Kubernetes package manager. Learn how to use it to automate continuous deployments, manage configurations, and maintain versions of your applications across clusters.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oferto.io\/en\/despliegue-continuo-en-kubernetes-con-helm\/","og_locale":"en_US","og_type":"article","og_title":"Despliegue continuo en Kubernetes con Helm - Oferto","og_description":"Helm es el gestor de paquetes de Kubernetes. Aprende a usarlo para automatizar despliegues continuos, gestionar configuraciones y mantener versiones de tus aplicaciones en cl\u00fasteres.","og_url":"https:\/\/www.oferto.io\/en\/despliegue-continuo-en-kubernetes-con-helm\/","og_site_name":"Oferto","article_published_time":"2025-08-02T07:42:24+00:00","og_image":[{"width":1500,"height":1000,"url":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg","type":"image\/jpeg"}],"author":"doominio","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#article","isPartOf":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/"},"author":{"name":"doominio","@id":"https:\/\/www.oferto.io\/#\/schema\/person\/6ee60897fbb7fb4ad6634c73f4be87fa"},"headline":"Despliegue continuo en Kubernetes con Helm","datePublished":"2025-08-02T07:42:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/"},"wordCount":417,"publisher":{"@id":"https:\/\/www.oferto.io\/#organization"},"image":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg","articleSection":["Kubernetes"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/","url":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/","name":"Continuous Deployment in Kubernetes with Helm - Oferto","isPartOf":{"@id":"https:\/\/www.oferto.io\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#primaryimage"},"image":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg","datePublished":"2025-08-02T07:42:24+00:00","description":"Helm is the Kubernetes package manager. Learn how to use it to automate continuous deployments, manage configurations, and maintain versions of your applications across clusters.","breadcrumb":{"@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#primaryimage","url":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg","contentUrl":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/08\/hacker-using-computer-smartphone-and-coding-to-st-2025-03-09-13-09-24-utc.jpg","width":1500,"height":1000,"caption":"Software developing"},{"@type":"BreadcrumbList","@id":"https:\/\/www.oferto.io\/despliegue-continuo-en-kubernetes-con-helm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https:\/\/www.oferto.io\/"},{"@type":"ListItem","position":2,"name":"Despliegue continuo en Kubernetes con Helm"}]},{"@type":"WebSite","@id":"https:\/\/www.oferto.io\/#website","url":"https:\/\/www.oferto.io\/","name":"Oferto","description":"Software Toolbox","publisher":{"@id":"https:\/\/www.oferto.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oferto.io\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.oferto.io\/#organization","name":"Oferto","url":"https:\/\/www.oferto.io\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.oferto.io\/#\/schema\/logo\/image\/","url":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/07\/image.png","contentUrl":"https:\/\/www.oferto.io\/wp-content\/uploads\/2025\/07\/image.png","width":1385,"height":437,"caption":"Oferto"},"image":{"@id":"https:\/\/www.oferto.io\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.linkedin.com\/in\/masalinas\/"]},{"@type":"Person","@id":"https:\/\/www.oferto.io\/#\/schema\/person\/6ee60897fbb7fb4ad6634c73f4be87fa","name":"domain","sameAs":["https:\/\/www.oferto.io"]}]}},"_links":{"self":[{"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":1,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/posts\/601\/revisions\/603"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/media\/602"}],"wp:attachment":[{"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oferto.io\/en\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}