Skip to content

Commit 52d4a00

Browse files
committed
V1 Base Commit
0 parents  commit 52d4a00

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM nginx
2+
COPY index.html /usr/share/nginx/html

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Azure DevOps App1 Demo with AKS, Github and ACR

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body style="background-color:rgb(212, 240, 234);">
4+
<h1>Welcome to Stack Simplify - Azure DevOps App1 - V1</h1>
5+
<h2>Azure DevOps Demo App1</h2>
6+
<h2>Application Version: V1</h2>
7+
</body>
8+
</html>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: app1-nginx-deployment
5+
labels:
6+
app: app1-nginx
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: app1-nginx
12+
template:
13+
metadata:
14+
labels:
15+
app: app1-nginx
16+
spec:
17+
containers:
18+
- name: app1-nginx
19+
image: aksdevopsacr.azurecr.io/custom2aksnginxapp1
20+
ports:
21+
- containerPort: 80
22+
---
23+
apiVersion: v1
24+
kind: Service
25+
metadata:
26+
name: app1-nginx-loadbalancer-service
27+
labels:
28+
app: app1-nginx
29+
spec:
30+
type: LoadBalancer
31+
selector:
32+
app: app1-nginx
33+
ports:
34+
- port: 80
35+
targetPort: 80
36+
37+
38+

0 commit comments

Comments
 (0)