0.0.1 使用 Kubernetes 运行 hugo 博客

使用 Kubernetes 运行 hugo 博客

Hugo Chart


Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.


This chart helps you run a blog built by hugo using a URL on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To install the chart with the release name my-release:

# set source_url
$ helm install my-release hugo \
--set source_url=
# set ingress
$ helm install my-release hugo \
--set source_url= \
--set ingress.enabled=true \
--set ingress.hosts={}  

Please resolve the DNS to ingress.


To uninstall/delete the my-release deployment:

$ helm uninstall my-release


The following table lists the configurable parameters of the hugo chart and their default values.

Parameter Description Default
image.registry Image registry.
image.repository Image source repository name. nginx
image.tag Image tag. latest
image.pullPolicy Image pull policy IfNotPresent
source_url Url of source.
config ngxinx config. server {...}
ingress.enabled Whether to open ingress. false
ingress.hosts Ingress hosts. {}
resources CPU/Memory resource requests/limits {}

image.registry can use Aliyun image source.

image.repository can use nginx or tengine.

  • 安装

    Add repository

    helm repo add apphub

    Install chart

    helm install apphub/hugo --version 0.0.2
  • Chart 版本

  • App 版本

  • 主页