mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-05-06 08:46:56 +00:00
fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
*Gamified chaos engineering tool for Kubernetes. It is like Space Invaders but the aliens are pods or worker nodes.*
|
||||
*Gamified chaos engineering tool and log viewer for Kubernetes*
|
||||
|
||||
# Table of Contents
|
||||
|
||||
1. [Description](#Description)
|
||||
|
||||
@@ -254,6 +254,19 @@ experiments:
|
||||
<button type="button" id="logConsoleButton" class="btn btn-light" onclick="setLogConsole()">Start Logs Tail</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
<input type="button" style="margin-top: 2%" class="btn btn-light" id="zoomInGameScreenInput2" name="zoomInGameScreenInput2" value="+" onclick="zoomIn()">
|
||||
<input type="button" style="margin-top: 2%" class="btn btn-light" id="zoomOutGameScreenInput2" name="zoomOutGameScreenInput2" value="-" onclick="zoomOut()">
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="logTailRegexInput" style="display: block;">
|
||||
<div class="row" style="margin-top: 2%;">
|
||||
<input type="text" style="font-family: Courier New, Courier, monospace;" id="logTailRegex" value='{"pod":".*", "namespace":".*", "labels":".*", "annotations":".*"}'/>
|
||||
@@ -295,6 +308,8 @@ experiments:
|
||||
document.getElementById("gameContainer").style.height = "100%";
|
||||
document.getElementById("zoomInGameScreenInput").disabled = true;
|
||||
document.getElementById("zoomOutGameScreenInput").disabled = false;
|
||||
document.getElementById("zoomInGameScreenInput2").disabled = true;
|
||||
document.getElementById("zoomOutGameScreenInput2").disabled = false;
|
||||
}
|
||||
|
||||
function zoomOut() {
|
||||
@@ -303,7 +318,9 @@ experiments:
|
||||
document.getElementById("gameContainer").style.width = "50%"
|
||||
document.getElementById("gameContainer").style.height = "50%"
|
||||
document.getElementById("zoomInGameScreenInput").disabled = false;
|
||||
document.getElementById("zoomOutGameScreenInput").disabled = true;
|
||||
document.getElementById("zoomOutGameScreenInput").disabled = true;
|
||||
document.getElementById("zoomInGameScreenInput2").disabled = false;
|
||||
document.getElementById("zoomOutGameScreenInput2").disabled = true;
|
||||
}
|
||||
|
||||
function controlAutoPilot() {
|
||||
|
||||
Reference in New Issue
Block a user