Skip to content
Proyek

Tentang

Provides a demo app to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it's deployed to.

Sistem dan infrastruktur

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Hello Kubernetes!

Docker Image Version (latest semver) Docker Image Size (latest semver) Docker Pulls Artifact Hub

Using a tag before 1.11? 1.0 to 1.10.1 are deprecated: they're unsupported, have known security vulnerabilities, and now show a warning. Upgrade to 1.11. See the pinned issue.

hello-kubernetes is a small web app to deploy on a Kubernetes cluster. Its page shows:

  • a message, Hello world! by default
  • the namespace, pod and node it runs on
  • the container image and its architecture

Hello world! from the hello-kubernetes image

The image runs on linux/amd64 and linux/arm64 nodes, as a non-root user. It is on GHCR as ghcr.io/paulbouwer/hello-kubernetes, which we recommend, and on Docker Hub as paulbouwer/hello-kubernetes.

Documentation: paulbouwer.github.io/hello-kubernetes

Quick start

Deploy it into your current namespace with kubectl, from the release file:

kubectl apply -f https://github.com/paulbouwer/hello-kubernetes/releases/latest/download/hello-kubernetes.yaml
kubectl rollout status deployment/hello-kubernetes-demo

Reach it on http://localhost:8080/:

kubectl port-forward service/hello-kubernetes-demo 8080:80

You see Hello world!, and the pod that answered. Remove it:

kubectl delete -f https://github.com/paulbouwer/hello-kubernetes/releases/latest/download/hello-kubernetes.yaml

To deploy with Helm, behind an Ingress or a Gateway, or with Kustomize, see the documentation.

Contributing

See CONTRIBUTING.md. The repo has a devcontainer with every tool at a known version, and docs/ has the contributor docs.

Jelajahi proyek terkait

Memuat…