hello-app

by sysintelligent

Helm chartv2.0.1App 2.0.1Verified publisher

A Helm chart for hello-app

About this chart

hello-app

Welcome to hello-app, a simple test application designed for rapid deployment and validation on Kubernetes clusters.

Overview

hello-app is a lightweight application intended for testing and validating Kubernetes deployments. It responds to HTTP requests with a friendly greeting message along with its version number.

Usage

To install the hello-app chart, follow these steps:

  1. Add the sysintelligent Helm repository:

    $ helm repo add sysintelligent https://sysintelligent.github.io/hello-app-helm/
    
  2. Install the hello-app chart:

    $ helm install my-hello-app sysintelligent/hello-app --version <application version#>
    

Once installed, you can test the application by sending an HTTP request to its endpoint:

$ curl http://<cluster-node-ip>:30000

This should return a response similar to: hello-app says hi! [<application version$>]

If you are using Minikube, you can test it with the following command:

$ curl $(minikube ip):30000

Local Testing

To test hello-app locally, follow these steps:

  1. Navigate to the hello-app-helm directory:

    $ cd hello-app-helm
    
  2. Install the hello-app chart:

    $ helm install hello-app .
    
    Or
    
    $ helm install hello-app ./hello-app-<application version#>.tgz
    
  3. Send an HTTP request to the application's endpoint:

    $ curl $(minikube ip):30000
    

Additional Information

  • Dependencies: hello-app has no external dependencies and is designed to be lightweight and easy to deploy.
  • Troubleshooting: If you encounter any issues during installation or testing, please refer to the Helm documentation or Kubernetes troubleshooting guides for assistance.
  • Uninstallation: To remove hello-app from your cluster, you can use the helm uninstall command followed by the release name. For example:
    $ helm uninstall my-hello-app
    

Deploy hello-app with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hello-app on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthello-app is pinned at v2.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply