From 37a414f8b66dcb769b34ec9e088fdbd874ac4e55 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 6 Jan 2020 19:32:13 +0100 Subject: [PATCH] Basic Nginx lab --- 01_nginx/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 01_nginx/README.md diff --git a/01_nginx/README.md b/01_nginx/README.md new file mode 100644 index 0000000..6698cb2 --- /dev/null +++ b/01_nginx/README.md @@ -0,0 +1,18 @@ +# Nginx lab + +## Spawn a standalone Nginx instance + +* Create a Namespace. +* Deploy the `nginx:stable` image, using a `deployment` of one replica and exposing the port `80`. +* Try to connect to it using port forwarding from the hosting node. + +## Create a service to expose Nginx + +* Expose the Nginx server, with a service to facilite access to it. + +## Expose a static webpage with Nginx + +* Create a basic HTML file with the content of your choice +* Create a `configmap` with the html file +* Modify the nginx deployment to mount the configmap into `/usr/share/nginx/html` +* Confirm the webpage is now available