kallaics82/hello-world

By kallaics82

Updated about 2 years ago

Simple Go code with HTTP response for demonstration purpose.

Helm
Image
Developer tools
Web servers
0

65

kallaics82/hello-world repository overview

Docker image

Description

Simple Go code with http response for demonstration purpose.

Notice: The container are running as non-root user.

Used port: 8080

Configuration

Parameter: TEXT

Mandatory: Yes

Type: string

Description: will added after the text "My favorite thing is today: "

Examples

Pull image

docker pull kallaics82/hello-world:v0.1.0

Run image

docker run -it --rm -p 8080:8080 -e TEXT="whatever" kallaics82/hello-world:v0.1.0

Connect to container

curl http://localhost:8080/

Response

My favorite thing is today: whatever

Helm chart

Description

Helm chart to deploy the hello-world image on Kubernetes.

Usage

Add Helm repository

helm repo add oci://registry-1.docker.io/kallaics82
helm repo update

Create values file:

cat << EOF > values.yaml
addText: <text will show in the response>

ingress:
  enabled: true
  className: <ingress class name>
  hosts:
    - host: hello-world.<ingress domain name>
      paths:
        - path: /
          pathType: ImplementationSpecific
EOF

Install the chart

helm install demo hello-world/ --values values.yaml

Upgrade the Helm chart

helm upgrade demo hello-world/ --values values.yaml

Remove Helm chart

helm uninstall demo

Tag summary

Content type

Helm

Digest

sha256:c720807fe

Size

3.6 kB

Last updated

about 2 years ago

helm pull oci://registry-1.docker.io/kallaics82/hello-world --version 0.1.0