From fd2664d01922ad54369eac568b235694ad003979 Mon Sep 17 00:00:00 2001 From: Russell de Pina <rdepina@microsoft.com> Date: Mon, 27 Jan 2025 14:40:25 -0600 Subject: [PATCH 1/5] changed URL for main.bicep to fetch from the repo --- docs/getting-started/setting-up-lab-environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/setting-up-lab-environment.md b/docs/getting-started/setting-up-lab-environment.md index a01f2e5..e41ba6c 100644 --- a/docs/getting-started/setting-up-lab-environment.md +++ b/docs/getting-started/setting-up-lab-environment.md @@ -80,7 +80,7 @@ az group create \ Run the following command to download the Bicep template file to deploy the lab resources. ```bash -curl -o main.bicep https://gist.githubusercontent.com/pauldotyu/2051a64e4709d5248902b7f8e26ff41b/raw/c2f6266927149d18cd7bda78ab832beb0cb70b95/main.bicep +curl -o main.bicep https://raw.githubusercontent.com/azure-samples/aks-labs/docs/storage/assets/main.bicep ``` Verify the contents of the **main.bicep** file by running the following command. From d41e0b63ce425608f1d1257e23b13cfdea98eb4b Mon Sep 17 00:00:00 2001 From: Russell de Pina <rdepina@microsoft.com> Date: Mon, 27 Jan 2025 17:57:46 -0600 Subject: [PATCH 2/5] added cards for highlighted workshops --- docs/intro.md | 47 -------------------------------------- docs/intro.mdx | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 47 deletions(-) delete mode 100644 docs/intro.md create mode 100644 docs/intro.mdx diff --git a/docs/intro.md b/docs/intro.md deleted file mode 100644 index 926ae8f..0000000 --- a/docs/intro.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Workshop Intro - -Let's discover **Docusaurus in less than 5 minutes**. - -## Getting Started - -Get started by **creating a new site**. - -Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**. - -### What you'll need - -- [Node.js](https://nodejs.org/en/download/) version 18.0 or above: - - When installing Node.js, you are recommended to check all checkboxes related to dependencies. - -## Generate a new site - -Generate a new Docusaurus site using the **classic template**. - -The classic template will automatically be added to your project after you run the command: - -```bash -npm init docusaurus@latest my-website classic -``` - -You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. - -The command also installs all necessary dependencies you need to run Docusaurus. - -## Start your site - -Run the development server: - -```bash -cd my-website -npm run start -``` - -The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. - -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). - -Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/docs/intro.mdx b/docs/intro.mdx new file mode 100644 index 0000000..b976709 --- /dev/null +++ b/docs/intro.mdx @@ -0,0 +1,61 @@ +--- +sidebar_position: 1 +sidebar_label: Introduction to AKS Labs +--- + +export const Highlight = ({children, color}) => ( + <span + style={{ + backgroundColor: color, + borderRadius: '2px', + color: '#fff', + padding: '0.2rem', + }}> + {children} + </span> +); + +export const HighlightedWorkshops = () => ( + <article className="margin-top--lg"> + <section className="row list"> + <article className="col col--6 margin-bottom--lg"> + <a className="card padding--lg cardContainer" + href="/docs/getting-started/getting-started-with-k8s-on-aks"> + <h2 className="text--truncate cardTitle" title="Getting Started on AKS"> + "Getting Started on AKS" + </h2> + <p className="cardDescription"> + Learn how to deploy a Kubernetes cluster on Azure Kubernetes Service (AKS). </p> + </a> + </article> + <article className="col col--6 margin-bottom--lg"> + <a className="card padding--lg cardContainer" + href="/docs/getting-started/getting-started-with-aks-automatic"> + <h2 className="text--truncate cardTitle"> + "Getting Started with AKS Automatic" + </h2> + <p className="cardDescription"> + Learn how to deploy a Kubernetes cluster using AKS Automatic. </p> + </a> + </article> + <article className="col col--6 margin-bottom--lg"> + <a className="card padding--lg cardContainer" + href="/docs/networking/istio-lab"> + <h2 className="text--truncate cardTitle"> + "Istio Service Mesh" + </h2> + <p className="cardDescription"> + Learn how to implment service discovery on Azure Kubernetes Service (AKS) using Istio Service Mesh. </p> + </a> + </article> + </section> + </article> +); + +# Introduction to AKS Labs + +AKS Labs is a series of workshops designed to help you learn how to use Azure Kubernetes Service (AKS) to deploy, scale, and manage containerized applications using Kubernetes. The workshops are designed to provide a hands-on learning experience. + +## Highlighted Workshops + +<HighlightedWorkshops /> From 11980b0325a09383fd5e85d38ade28956db0b411 Mon Sep 17 00:00:00 2001 From: Russell de Pina <rdepina@microsoft.com> Date: Mon, 27 Jan 2025 18:08:38 -0600 Subject: [PATCH 3/5] typo fix --- docs/intro.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/intro.mdx b/docs/intro.mdx index b976709..e0ded71 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -22,7 +22,7 @@ export const HighlightedWorkshops = () => ( <a className="card padding--lg cardContainer" href="/docs/getting-started/getting-started-with-k8s-on-aks"> <h2 className="text--truncate cardTitle" title="Getting Started on AKS"> - "Getting Started on AKS" + Getting Started on AKS </h2> <p className="cardDescription"> Learn how to deploy a Kubernetes cluster on Azure Kubernetes Service (AKS). </p> @@ -32,7 +32,7 @@ export const HighlightedWorkshops = () => ( <a className="card padding--lg cardContainer" href="/docs/getting-started/getting-started-with-aks-automatic"> <h2 className="text--truncate cardTitle"> - "Getting Started with AKS Automatic" + Getting Started with AKS Automatic </h2> <p className="cardDescription"> Learn how to deploy a Kubernetes cluster using AKS Automatic. </p> @@ -42,7 +42,7 @@ export const HighlightedWorkshops = () => ( <a className="card padding--lg cardContainer" href="/docs/networking/istio-lab"> <h2 className="text--truncate cardTitle"> - "Istio Service Mesh" + Istio Service Mesh </h2> <p className="cardDescription"> Learn how to implment service discovery on Azure Kubernetes Service (AKS) using Istio Service Mesh. </p> From b8d5e74293b984945dda62450f530ee6d22e850a Mon Sep 17 00:00:00 2001 From: Russell de Pina <rdepina@microsoft.com> Date: Mon, 27 Jan 2025 18:11:00 -0600 Subject: [PATCH 4/5] remove experimental component --- docs/intro.mdx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/intro.mdx b/docs/intro.mdx index e0ded71..770c54d 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -3,17 +3,7 @@ sidebar_position: 1 sidebar_label: Introduction to AKS Labs --- -export const Highlight = ({children, color}) => ( - <span - style={{ - backgroundColor: color, - borderRadius: '2px', - color: '#fff', - padding: '0.2rem', - }}> - {children} - </span> -); + export const HighlightedWorkshops = () => ( <article className="margin-top--lg"> From 629a3357b0e648c4559fab25302b3f96ac4d065b Mon Sep 17 00:00:00 2001 From: russd2357 <russd2357@gmail.com> Date: Tue, 28 Jan 2025 10:59:43 -0600 Subject: [PATCH 5/5] Update intro.mdx Change "Highlighted Workshops" to "Featured Workshops --- docs/intro.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro.mdx b/docs/intro.mdx index 770c54d..5d325c6 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -46,6 +46,6 @@ export const HighlightedWorkshops = () => ( AKS Labs is a series of workshops designed to help you learn how to use Azure Kubernetes Service (AKS) to deploy, scale, and manage containerized applications using Kubernetes. The workshops are designed to provide a hands-on learning experience. -## Highlighted Workshops +## Featured Workshops <HighlightedWorkshops />