This commit is contained in:
Karteek Gadiraju (GSV) 2021-02-23 04:27:48 +00:00
commit f8131f3181
5 changed files with 53 additions and 0 deletions

19
manifests/deployment.yml Normal file
View File

@ -0,0 +1,19 @@
apiVersion : apps/v1
kind: Deployment
metadata:
name: "qrssredevakseshop-965f"
spec:
replicas: 2
selector:
matchLabels:
app: "qrssredevakseshop-965f"
template:
metadata:
labels:
app: "qrssredevakseshop-965f"
spec:
containers:
- name: "qrssredevakseshop-965f"
image: "qrssredevcontainerregistryeshop.azurecr.io/qrssredevakseshop"
ports:
- containerPort: 80

17
manifests/ingress.yml Normal file
View File

@ -0,0 +1,17 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "qrssredevakseshop-965f"
labels:
app: "qrssredevakseshop-965f"
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
spec:
rules:
- host: qrs-sre-dev-aks-eshopb3b2-qrssredevakseshop-965f.c754af2a8611422a9a98.eastus.aksapp.io
http:
paths:
- path: /
backend:
serviceName: "qrssredevakseshop-965f"
servicePort: 80

15
manifests/service.yml Normal file
View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: "qrssredevakseshop-965f"
labels:
app: "qrssredevakseshop-965f"
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: "qrssredevakseshop-965f"

View File

@ -30,6 +30,7 @@
<link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/override.css" type="text/css" />
</environment>
@Html.Raw(JavaScriptSnippet.FullScript)
</head>
<body>
<header class="esh-app-header">

View File

@ -2,4 +2,5 @@
@using Microsoft.eShopOnContainers.WebMVC.ViewModels
@using Microsoft.AspNetCore.Identity
@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers