Skip to content

Commit 2e6b70e

Browse files
authored
Cleanup (#6)
* initial outline * initial outline * moving /labs folder to root * add NIC headless * cleanup
1 parent 3445cc8 commit 2e6b70e

File tree

17 files changed

+1195
-0
lines changed

17 files changed

+1195
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: nginx-ingress-headless
5+
namespace: nginx-ingress
6+
spec:
7+
type: ClusterIP
8+
clusterIP: None
9+
ports:
10+
- port: 80
11+
targetPort: 80
12+
#nodePort: 32080
13+
protocol: TCP
14+
name: http
15+
- port: 443
16+
targetPort: 443
17+
#nodePort: 32443
18+
protocol: TCP
19+
name: https
20+
# - port: 6379
21+
# nodePort: 32379
22+
# protocol: TCP
23+
# name: redis-leader
24+
# - port: 6380
25+
# nodePort: 32378
26+
# protocol: TCP
27+
# name: redis-follower
28+
# - port: 9000
29+
# nodePort: 32090
30+
# protocol: TCP
31+
# name: dashboard
32+
selector:
33+
app: nginx-ingress
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Nginx 4 Azure direct to Juice for Upstreams
2+
# Chris Akker, Shouvik Dutta, Adam Currier - Mar 2024
3+
#
4+
# direct to juiceshop-svc Headless Service ( no NodePort )
5+
#
6+
upstream aks1_juice_direct {
7+
zone aks1_juice_direct 256k;
8+
9+
least_time last_byte;
10+
11+
# direct to nginx-ingress Headless Service Endpoints
12+
# Resolvers set to kube-dns Endpoints List
13+
resolver 172.16.4.64 172.16.4.224 valid=10s ipv6=off status_zone=kube-dns; # 172.16.4.64;
14+
15+
# Server name must follow this format
16+
# server <service name>.<namespace>.svc.cluster.local:port
17+
server juiceshop-svc.juice.svc.cluster.local:3000 resolve;
18+
# server 172.16.4.74:80;
19+
20+
keepalive 32;
21+
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Nginx 4 Azure direct to NIC for Upstreams
2+
# Chris Akker, Shouvik Dutta, Adam Currier - Mar 2024
3+
#
4+
# direct to nginx ingress Headless Service ( no NodePort )
5+
#
6+
upstream aks1_nic_direct {
7+
zone aks1_nic_direct 256k;
8+
9+
least_time last_byte;
10+
11+
# direct to nginx-ingress Headless Service Endpoints
12+
# Resolvers set to kube-dns Endpoints List
13+
resolver 172.16.4.64 172.16.4.224 valid=10s ipv6=off status_zone=kube-dns; # 172.16.4.64;
14+
15+
# Server name must follow this format
16+
# server <service name>.<namespace>.svc.cluster.local
17+
server nginx-ingress-headless.nginx-ingress.svc.cluster.local:80 resolve;
18+
# server 172.16.4.74:80;
19+
20+
keepalive 32;
21+
22+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
limit_req_zone $binary_remote_addr zone=limitone:10m rate=1r/s;
2+
limit_req_zone $binary_remote_addr zone=limit10:10m rate=10r/s;
3+
limit_req_zone $binary_remote_addr zone=limit100:10m rate=100r/s;
4+
limit_req_zone $binary_remote_addr zone=limit1000:10m rate=1000r/s;

labs/lab0/readme.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Setup your Computer for NGINX Workshops
2+
3+
## Introduction
4+
5+
In this lab, you will build ( x,y,x ).
6+
7+
< Lab specific Images here, in the /media sub-folder >
8+
9+
NGINX aaS | Docker
10+
:-------------------------:|:-------------------------:
11+
![NGINX aaS](media/nginx-azure-icon.png) |![Docker](media/docker-icon.png)
12+
13+
## Learning Objectives
14+
15+
By the end of the lab you will be able to:
16+
17+
- Introduction to `xx`
18+
- Build an `yyy` Nginx configuration
19+
- Test access to your lab enviroment with Curl and Chrome
20+
- Investigate `zzz`
21+
22+
23+
## Pre-Requisites
24+
25+
- You must have `aaaa` installed and running
26+
- You must have `bbbbb` installed
27+
- See `Lab0` for instructions on setting up your system for this Workshop
28+
- Familiarity with basic Linux commands and commandline tools
29+
- Familiarity with basic Docker concepts and commands
30+
- Familiarity with basic HTTP protocol
31+
32+
<br/>
33+
34+
### Lab exercise 1
35+
36+
<numbered steps are here>
37+
38+
### Lab exercise 2
39+
40+
<numbered steps are here>
41+
42+
### Lab exercise 3
43+
44+
<numbered steps are here>
45+
46+
### << more exercises/steps>>
47+
48+
<numbered steps are here>
49+
50+
<br/>
51+
52+
**This completes Lab0.**
53+
54+
<br/>
55+
56+
## References:
57+
58+
- [NGINX As A Service for Azure](https://docs.nginx.com/nginxaas/azure/)
59+
- [NGINX Plus Product Page](https://docs.nginx.com/nginx/)
60+
- [NGINX Ingress Controller](https://docs.nginx.com//nginx-ingress-controller/)
61+
- [NGINX on Docker](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/)
62+
- [NGINX Directives Index](https://nginx.org/en/docs/dirindex.html)
63+
- [NGINX Variables Index](https://nginx.org/en/docs/varindex.html)
64+
- [NGINX Technical Specs](https://docs.nginx.com/nginx/technical-specs/)
65+
- [NGINX - Join Community Slack](https://community.nginx.org/joinslack)
66+
67+
<br/>
68+
69+
### Authors
70+
71+
- Chris Akker - Solutions Architect - Community and Alliances @ F5, Inc.
72+
- Shouvik Dutta - Solutions Architect - Community and Alliances @ F5, Inc.
73+
- Adam Currier - Solutions Architect - Community and Alliances @ F5, Inc.
74+
75+
-------------
76+
77+
Navigate to ([Lab1](../lab1/readme.md) | [LabX](../labX/readme.md))

labs/lab1/readme.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Azure VNet and Subnets and Network Security Group
2+
3+
## Introduction
4+
5+
In this lab, you will build ( x,y,x ).
6+
7+
< Lab specific Images here, in the /media sub-folder >
8+
9+
NGINX aaS | Docker
10+
:-------------------------:|:-------------------------:
11+
![NGINX aaS](media/nginx-azure-icon.png) |![Docker](media/docker-icon.png)
12+
13+
## Learning Objectives
14+
15+
By the end of the lab you will be able to:
16+
17+
- Introduction to `xx`
18+
- Build an `yyy` Nginx configuration
19+
- Test access to your lab enviroment with Curl and Chrome
20+
- Investigate `zzz`
21+
22+
23+
## Pre-Requisites
24+
25+
- You must have `aaaa` installed and running
26+
- You must have `bbbbb` installed
27+
- See `Lab0` for instructions on setting up your system for this Workshop
28+
- Familiarity with basic Linux commands and commandline tools
29+
- Familiarity with basic Docker concepts and commands
30+
- Familiarity with basic HTTP protocol
31+
32+
<br/>
33+
34+
### Lab exercise 1
35+
36+
<numbered steps are here>
37+
38+
### Lab exercise 2
39+
40+
<numbered steps are here>
41+
42+
### Lab exercise 3
43+
44+
<numbered steps are here>
45+
46+
### << more exercises/steps>>
47+
48+
<numbered steps are here>
49+
50+
<br/>
51+
52+
**This completes Lab1.**
53+
54+
<br/>
55+
56+
## References:
57+
58+
- [NGINX As A Service for Azure](https://docs.nginx.com/nginxaas/azure/)
59+
- [NGINX Plus Product Page](https://docs.nginx.com/nginx/)
60+
- [NGINX Ingress Controller](https://docs.nginx.com//nginx-ingress-controller/)
61+
- [NGINX on Docker](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/)
62+
- [NGINX Directives Index](https://nginx.org/en/docs/dirindex.html)
63+
- [NGINX Variables Index](https://nginx.org/en/docs/varindex.html)
64+
- [NGINX Technical Specs](https://docs.nginx.com/nginx/technical-specs/)
65+
- [NGINX - Join Community Slack](https://community.nginx.org/joinslack)
66+
67+
<br/>
68+
69+
### Authors
70+
71+
- Chris Akker - Solutions Architect - Community and Alliances @ F5, Inc.
72+
- Shouvik Dutta - Solutions Architect - Community and Alliances @ F5, Inc.
73+
- Adam Currier - Solutions Architect - Community and Alliances @ F5, Inc.
74+
75+
-------------
76+
77+
Navigate to ([Lab2](../lab2/readme.md) | [LabX](../labX/readme.md))

labs/lab10/readme.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# NGINX Caching / Juiceshop or Garage
2+
3+
## Introduction
4+
5+
In this lab, you will build ( x,y,x ).
6+
7+
< Lab specific Images here, in the /media sub-folder >
8+
9+
NGINX aaS | Docker
10+
:-------------------------:|:-------------------------:
11+
![NGINX aaS](media/nginx-azure-icon.png) |![Docker](media/docker-icon.png)
12+
13+
## Learning Objectives
14+
15+
By the end of the lab you will be able to:
16+
17+
- Introduction to `xx`
18+
- Build an `yyy` Nginx configuration
19+
- Test access to your lab enviroment with Curl and Chrome
20+
- Investigate `zzz`
21+
22+
23+
## Pre-Requisites
24+
25+
- You must have `aaaa` installed and running
26+
- You must have `bbbbb` installed
27+
- See `Lab0` for instructions on setting up your system for this Workshop
28+
- Familiarity with basic Linux commands and commandline tools
29+
- Familiarity with basic Docker concepts and commands
30+
- Familiarity with basic HTTP protocol
31+
32+
<br/>
33+
34+
### Lab exercise 1
35+
36+
<numbered steps are here>
37+
38+
### Lab exercise 2
39+
40+
<numbered steps are here>
41+
42+
### Lab exercise 3
43+
44+
<numbered steps are here>
45+
46+
### << more exercises/steps>>
47+
48+
<numbered steps are here>
49+
50+
<br/>
51+
52+
**This completes Lab10.**
53+
54+
<br/>
55+
56+
## References:
57+
58+
- [NGINX As A Service for Azure](https://docs.nginx.com/nginxaas/azure/)
59+
- [NGINX Plus Product Page](https://docs.nginx.com/nginx/)
60+
- [NGINX Ingress Controller](https://docs.nginx.com//nginx-ingress-controller/)
61+
- [NGINX on Docker](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/)
62+
- [NGINX Directives Index](https://nginx.org/en/docs/dirindex.html)
63+
- [NGINX Variables Index](https://nginx.org/en/docs/varindex.html)
64+
- [NGINX Technical Specs](https://docs.nginx.com/nginx/technical-specs/)
65+
- [NGINX - Join Community Slack](https://community.nginx.org/joinslack)
66+
67+
<br/>
68+
69+
### Authors
70+
71+
- Chris Akker - Solutions Architect - Community and Alliances @ F5, Inc.
72+
- Shouvik Dutta - Solutions Architect - Community and Alliances @ F5, Inc.
73+
- Adam Currier - Solutions Architect - Community and Alliances @ F5, Inc.
74+
75+
-------------
76+
77+
Navigate to ([LabX](../labX/readme.md) | [LabX](../labX/readme.md))

labs/lab2/readme.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# NGINX for Azure Overview and Deployment
2+
3+
## Introduction
4+
5+
In this lab, you will build ( x,y,x ).
6+
7+
< Lab specific Images here, in the /media sub-folder >
8+
9+
NGINX aaS | Docker
10+
:-------------------------:|:-------------------------:
11+
![NGINX aaS](media/nginx-azure-icon.png) |![Docker](media/docker-icon.png)
12+
13+
## Learning Objectives
14+
15+
By the end of the lab you will be able to:
16+
17+
- Introduction to `xx`
18+
- Build an `yyy` Nginx configuration
19+
- Test access to your lab enviroment with Curl and Chrome
20+
- Investigate `zzz`
21+
22+
23+
## Pre-Requisites
24+
25+
- You must have `aaaa` installed and running
26+
- You must have `bbbbb` installed
27+
- See `Lab0` for instructions on setting up your system for this Workshop
28+
- Familiarity with basic Linux commands and commandline tools
29+
- Familiarity with basic Docker concepts and commands
30+
- Familiarity with basic HTTP protocol
31+
32+
<br/>
33+
34+
### Lab exercise 1
35+
36+
<numbered steps are here>
37+
38+
### Lab exercise 2
39+
40+
<numbered steps are here>
41+
42+
### Lab exercise 3
43+
44+
<numbered steps are here>
45+
46+
### << more exercises/steps>>
47+
48+
<numbered steps are here>
49+
50+
<br/>
51+
52+
**This completes Lab2.**
53+
54+
<br/>
55+
56+
## References:
57+
58+
- [NGINX As A Service for Azure](https://docs.nginx.com/nginxaas/azure/)
59+
- [NGINX Plus Product Page](https://docs.nginx.com/nginx/)
60+
- [NGINX Ingress Controller](https://docs.nginx.com//nginx-ingress-controller/)
61+
- [NGINX on Docker](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/)
62+
- [NGINX Directives Index](https://nginx.org/en/docs/dirindex.html)
63+
- [NGINX Variables Index](https://nginx.org/en/docs/varindex.html)
64+
- [NGINX Technical Specs](https://docs.nginx.com/nginx/technical-specs/)
65+
- [NGINX - Join Community Slack](https://community.nginx.org/joinslack)
66+
67+
<br/>
68+
69+
### Authors
70+
71+
- Chris Akker - Solutions Architect - Community and Alliances @ F5, Inc.
72+
- Shouvik Dutta - Solutions Architect - Community and Alliances @ F5, Inc.
73+
- Adam Currier - Solutions Architect - Community and Alliances @ F5, Inc.
74+
75+
-------------
76+
77+
Navigate to ([Lab3](../lab3/readme.md) | [LabX](../labX/readme.md))

0 commit comments

Comments
 (0)