Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #24

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Dev #24

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deployment.azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ spec:
selector:
matchLabels:
app: angular
replicas: 5 # tells deployment to run 2 pods matching the template
replicas: 2 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
app: angular
spec:
containers:
- name: angular
image: houssemdocker/angular-app:#{Build.BuildId}#
image: acr112.azurecr.io/angular-app:#{Build.BuildId}#
ports:
- containerPort: 80
---
Expand All @@ -30,4 +30,4 @@ spec:
- protocol: TCP
port: 80
targetPort: 80
type: LoadBalancer
type: LoadBalancer
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div style="text-align:center">
<h1>

This Angular app is running in a Docker container inside Azure Kubernetes Service (AKS)
This Angular app is running in a Docker container inside Azure Kubernetes Service (AKS)-Test1

<br>
Welcome to {{ title }}!
Expand Down
1 change: 1 addition & 0 deletions test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
update