Deploy Kubernetes Apps in Seconds with Helm and Alibaba Cloud AppHub
This article introduces Helm as a Kubernetes package manager, explains the Chinese Helm Hub alternative AppHub, guides readers through installing Helm v3, adding the AppHub repository, and quickly deploying the Guestbook example with step‑by‑step commands and optional one‑click UI.
What is Helm and why it matters
Kubernetes (K8s) manages containers but lacks a native "application" abstraction; an application usually consists of multiple resources such as Deployments, Services, and ConfigMaps. Helm fills this gap by providing a tool that packages these resources into a Chart , similar to an Android APK, enabling one‑command deployment to any K8s cluster.
AppHub – a China‑friendly Helm Hub
The official Helm Hub hosts many community charts, but many chart files contain external image URLs (e.g., gcr.io) that are inaccessible from China. AppHub is a public, nonprofit service hosted on Alibaba Cloud that mirrors the official Helm Hub, rewrites unreachable URLs to domestic mirrors, and makes Helm charts usable for Chinese developers.
Installing Helm v3
Helm v3 is recommended over v2 because it removes the server‑side component Tiller and offers a cleaner user experience. Pre‑built binaries for macOS, Linux, and Windows are available for download; after extracting the binary to $PATH, the helm command is ready.
Adding AppHub as a repository
$ helm repo add apphub https://apphub.aliyuncs.comOnce added, you can search for charts, for example:
$ helm search guestbook
NAME CHART VERSION APP VERSION DESCRIPTION
apphub/guestbook 0.2.0 1.0.0 A Helm chart to deploy Guestbook three tier web...Deploying the Guestbook example
With the chart found, install it in a single command: $ helm install guestbook apphub/guestbook After installation, verify that all pods are running:
$ kubectl get pod
NAME READY STATUS RESTARTS AGE
guestbook-... 1/1 Running 0 5m59s
redis-master-... 1/1 Running 0 5m59s
...Expose the service and obtain its external IP:
$ kubectl get service -l app.kubernetes.io/name=guestbook
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
guestbook LoadBalancer 172.21.1.213 47.95.136.189 3000:32244/TCP 11mAccess the Guestbook application via the displayed external IP.
Using NodePort or Minikube
If a cloud load balancer is unavailable, you can install the chart with a NodePort service:
$ helm install guestbook apphub/guestbook --set service.type=NodePortOn Minikube, expose the NodePort service with:
$ minikube service guestbookOne‑click installation via AppHub UI
AppHub also provides a web UI where you can click “One‑click install” on a chart’s detail page, fill in the target cluster URL and base64‑encoded certificate, and let AppHub perform the Helm install automatically.
Roadmap and community involvement
The AppHub project is open‑source on GitHub ( cloudnativeapp/charts); users can submit issues or pull requests to add or improve charts. Future roadmap items include UI‑driven parameter customization.
Conclusion
Helm dramatically lowers the barrier to deploying Kubernetes applications, and with AppHub’s domestic mirror, Chinese developers can enjoy the same seamless experience without network obstacles. The article sets the stage for deeper explorations of Helm’s release model, rollback capabilities, and integration with GitOps and Kustomize in upcoming posts.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Alibaba Cloud Native
We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
