adding txt file to store node name

This commit is contained in:
Simon Belmas
2024-06-27 14:55:36 +02:00
parent 60048f74c7
commit 13dc53688d
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
# html-kube-tester # html-kube-tester
## Workload
Workload to test application behavior while making changes on infrastructure. Workload to test application behavior while making changes on infrastructure.
Ingress fqdn has to be configured by either: Ingress fqdn has to be configured by either:
@@ -11,6 +12,6 @@ Ingress fqdn has to be configured by either:
Connntent git will be displayed in an iframe with node name on top. Connntent git will be displayed in an iframe with node name on top.
Node name is displayed on the top of the page and also in kube-node.json Node name is displayed on the top of the page and also in kube-node.json and on kube-node.txt
Thanks to https://github.com/amoldalwai/RoadFighter.git for having something fun to display. Thanks to https://github.com/amoldalwai/RoadFighter.git for having something fun to display.

View File

@@ -34,4 +34,4 @@ cat <<EOF >index.html
EOF EOF
echo '{"node": "'${KUBE_NODE_NAME}'"}' > kube-node.json echo '{"node": "'${KUBE_NODE_NAME}'"}' > kube-node.json
echo -n ${KUBE_NODE_NAME} > kube-node.txt