Skip to content

show details about the container environment its running on

Notifications You must be signed in to change notification settings

rgl/kubernetes-hello

Repository files navigation

About

Build status Docker pulls

Container that shows details about the environment its running on.

It will:

When running in Azure Kubernetes Service (AKS), it will also:

When running in Amazon Elastic Kubernetes Service (EKS), it will also:

This is used in:

Usage

Install docker, kind, and kubectl.

Create the local test infrastructure:

./.github/workflows/kind/create.sh

Access the test infrastructure kind Kubernetes cluster:

export KUBECONFIG="$PWD/kubeconfig.yml"
kubectl get nodes -o wide

Build and test:

./build.sh && ./test.sh && xdg-open index.html

Destroy the local test infrastructure:

./.github/workflows/kind/destroy.sh