Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinboia committed Nov 9, 2023
1 parent 89770ca commit 4e80b6d
Show file tree
Hide file tree
Showing 44 changed files with 449 additions and 155 deletions.
Binary file modified docs/_build/doctrees/class3/module1/lab1/lab1.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/class3/module1/lab2/lab2.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/class3/module1/lab1/lab1.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Lab 1 - Workload config
#######################


1. First we need to create a new origin pool which will point directly to application in the **AWS Datacenter**.
1. We now need to create the workload that will define the configuration on how and where to deploy the **Stocks** POD

a) Distributed Apps -> Applications -> Virtual K8s -> Click on **$$vk8sName$$** -> Workloads -> Add VK8s Workload

Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/class3/module1/lab2/lab2.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Lab 2 - Observe

Under the **Virtual K8s** tab you can see that the regular Kubernets objects are available like Deployments, Services, Pods and a lot more

1. Check that the **stocks** pod is up and running
1. Check that the **Stocks** pod is up and running

a) Distributed Apps -> Applications -> Virtual K8s -> Click on **$$vk8sName$$** -> Pods

Expand Down
99 changes: 97 additions & 2 deletions docs/_build/html/_static/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,15 @@ function displayJSON(jsonInput, statusText) {

document.addEventListener("DOMContentLoaded", function() {
const data = JSON.parse(localStorage.getItem('data'))
const { makeId, hostArcadia, ceArcadia, namespace, ceOnPrem, awsSiteName, vk8sName } = data;
const { makeId, hostArcadia, ceArcadia, namespace, ceOnPrem, awsSiteName, vk8sName, kubeconfig } = data;
replacePlaceholderWithValue('makeId', makeId);
replacePlaceholderWithValue('hostArcadia', hostArcadia);
replacePlaceholderWithValue('ceArcadia', ceArcadia);
replacePlaceholderWithValue('namespace', namespace);
replacePlaceholderWithValue('ceOnPrem.clusterName', ceOnPrem.clusterName);
replacePlaceholderWithValue('awsSiteName', awsSiteName);
replacePlaceholderWithValue('vk8sName', vk8sName);
replacePlaceholderWithValue('kubeconfig', kubeconfig);


});
Expand Down Expand Up @@ -365,4 +366,98 @@ const lbConfig = ({
}

return config;
}
}

function getStudentData(courseId) {
// Create the container div and its internal HTML
var appContainer = document.createElement('div');
appContainer.id = 'app';
appContainer.innerHTML = `
<label>Email:
<input type="text" id="email" />
</label>
<button id="getDataBtn">Get Data</button>
<br/><br/>
`;

// Insert the container into the body of the page

const currentScript = document.currentScript;
currentScript.parentNode.insertBefore(appContainer, currentScript.nextSibling);

// Create and insert CSS styles
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = `
#app {
font-family: Arial, sans-serif;
}
.output {
background: #f8f9fa;
border: 1px solid #ddd;
padding: 10px;
margin-top: 10px;
border-radius: 4px;
}
.green {
background-color: green;
color: white;
}
.red {
background-color: red;
color: white;
}
`;
document.head.appendChild(style);

// Get references to the new elements
var emailInput = document.getElementById('email');
var getDataBtn = document.getElementById('getDataBtn');

// Load the email from localStorage if available
emailInput.value = localStorage.getItem('email') || '';

// Define the event handlers
emailInput.oninput = function() {
// Logic to handle input can be added here
};

getDataBtn.onclick = function() {
emailInput.disabled = true;
getDataBtn.disabled = true;

var email = emailInput.value;
localStorage.setItem('email', email);

fetch(`https://f5xclabmgmt.vltr.nginx-experience.com/v1/student/${courseId}/${btoa(email)}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
})
.then(response => {
if (!response.ok) {
throw new Error(response.statusText);
}
return response.json();
})
.then(data => {
localStorage.setItem('data', JSON.stringify(data));
getDataBtn.title = JSON.stringify(data, null, 2);
getDataBtn.classList.remove('red', 'green'); // remove previous classes
getDataBtn.classList.add("green");
})
.catch((error) => {
console.error('Error:', error);
getDataBtn.title = "An error occurred";
getDataBtn.classList.remove('red', 'green'); // remove previous classes
getDataBtn.classList.add("red");
})
.finally(() => {
emailInput.disabled = false;
getDataBtn.disabled = false;
});
};
}


2 changes: 1 addition & 1 deletion docs/_build/html/class1/class1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Class 1 - F5 XC Services"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module1/module1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Publish the application"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module2/module2.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Web Application Firewall"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module3/module3.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Parameter Inspection"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module4/module4.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="IP Intelligence"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module5/module5.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Malicious User Detection"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module6/not-in-use-module6.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Bot Standard"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module7/module7.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Bot Advanced"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module8/module8.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Layer 7 DDOS"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/module9/module9.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="RE + CE"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class1/modulea1/modulea1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="CE Only"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class2/class2.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Class 2 - Multi Cloud Networking"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class2/module1/module1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Migrate the application"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class2/module2/module2.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Connecting Clouds"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class3/class3.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Class 3 - Virtual Kubernetes"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
7 changes: 5 additions & 2 deletions docs/_build/html/class3/module1/lab1/lab1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Lab 1 - Workload config"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-07-19 07:27:33"/>
<meta name="updated_date" content="2023-11-09 13:12:38"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down Expand Up @@ -99,6 +99,7 @@ <h5>F5 XC EMEA Workshop </h5>
<span class="nav-sidebartoc">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../intro/intro.html">Intro</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class1/class1.html">Class 1 - F5 XC Services</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class2/class2.html">Class 2 - Multi Cloud Networking</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../class3.html">Class 3 - Virtual Kubernetes</a><ul class="current">
Expand All @@ -107,6 +108,8 @@ <h5>F5 XC EMEA Workshop </h5>
<li class="toctree-l2"><a class="reference internal" href="../../modulea2/modulea2.html">1 Click Config</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../class4/class4.html">Class 4 - API Protection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class5/class5.html">Class 5 - F5 XC K8s - UNDER CONSTRUCTION</a></li>
</ul>

</span><!-- Use this file to add extra links to the bottom of the ToC sidebar -->
Expand Down Expand Up @@ -169,7 +172,7 @@ <h5>
<div class="section" id="lab-1-workload-config">
<h1>Lab 1 - Workload config<a class="headerlink" href="#lab-1-workload-config" title="Permalink to this headline"></a></h1>
<ol class="arabic simple">
<li>First we need to create a new origin pool which will point directly to application in the <strong>AWS Datacenter</strong>.</li>
<li>We now need to create the workload that will define the configuration on how and where to deploy the <strong>Stocks</strong> POD</li>
</ol>
<ol class="loweralpha">
<li><p class="first">Distributed Apps -&gt; Applications -&gt; Virtual K8s -&gt; Click on <strong>$$vk8sName$$</strong> -&gt; Workloads -&gt; Add VK8s Workload</p>
Expand Down
7 changes: 5 additions & 2 deletions docs/_build/html/class3/module1/lab2/lab2.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Lab 2 - Observe"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-07-19 07:27:33"/>
<meta name="updated_date" content="2023-11-09 13:12:38"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down Expand Up @@ -99,6 +99,7 @@ <h5>F5 XC EMEA Workshop </h5>
<span class="nav-sidebartoc">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../intro/intro.html">Intro</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class1/class1.html">Class 1 - F5 XC Services</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class2/class2.html">Class 2 - Multi Cloud Networking</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../class3.html">Class 3 - Virtual Kubernetes</a><ul class="current">
Expand All @@ -107,6 +108,8 @@ <h5>F5 XC EMEA Workshop </h5>
<li class="toctree-l2"><a class="reference internal" href="../../modulea2/modulea2.html">1 Click Config</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../class4/class4.html">Class 4 - API Protection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../class5/class5.html">Class 5 - F5 XC K8s - UNDER CONSTRUCTION</a></li>
</ul>

</span><!-- Use this file to add extra links to the bottom of the ToC sidebar -->
Expand Down Expand Up @@ -170,7 +173,7 @@ <h5>
<h1>Lab 2 - Observe<a class="headerlink" href="#lab-2-observe" title="Permalink to this headline"></a></h1>
<p>Under the <strong>Virtual K8s</strong> tab you can see that the regular Kubernets objects are available like Deployments, Services, Pods and a lot more</p>
<ol class="arabic simple">
<li>Check that the <strong>stocks</strong> pod is up and running</li>
<li>Check that the <strong>Stocks</strong> pod is up and running</li>
</ol>
<ol class="loweralpha simple">
<li>Distributed Apps -&gt; Applications -&gt; Virtual K8s -&gt; Click on <strong>$$vk8sName$$</strong> -&gt; Pods</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class3/module1/module1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Deploying an application container"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 13:12:38"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/class3/module2/module2.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Routing to Virtual Kubernetes Pod"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<meta name="title" content="Index"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 13:12:38"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
3 changes: 2 additions & 1 deletion docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="F5 Distributed Cloud EMEA Workshop"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 13:12:38"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down Expand Up @@ -242,6 +242,7 @@ <h2>Welcome<a class="headerlink" href="#welcome" title="Permalink to this headli
</li>
<li class="toctree-l1"><a class="reference internal" href="class5/class5.html">Class 5 - F5 XC K8s - UNDER CONSTRUCTION</a><ul>
<li class="toctree-l2"><a class="reference internal" href="class5/module1/module1.html">Deploy the application</a></li>
<li class="toctree-l2"><a class="reference internal" href="class5/module2/module2.html">Virtual Kubernetes</a></li>
<li class="toctree-l2"><a class="reference internal" href="class5/modulea2/modulea2.html">1 Click Config</a></li>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/intro/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="title" content="Intro"/>
<meta name="product" content="F5 XC EMEA Workshop"/>
<meta name="version" content=""/>
<meta name="updated_date" content="2023-11-07 07:48:07"/>
<meta name="updated_date" content="2023-11-09 10:24:45"/>
<meta name="archived" content="Archived documents excluded"/>
<meta name="doc_type" content="Manual"/>
<meta name="lifecycle" content="release"/>
Expand Down
Binary file modified docs/_build/html/objects.inv
Binary file not shown.
Loading

0 comments on commit 4e80b6d

Please sign in to comment.