Skip to content

Commit

Permalink
Merge pull request #20 from Azure-Samples/btr-updates
Browse files Browse the repository at this point in the history
Minor YAML updates
  • Loading branch information
mosabami committed Jun 16, 2023
2 parents 021833d + 594a749 commit bae835e
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions aks-store-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,42 @@ spec:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: product-service
spec:
replicas: 1
selector:
matchLabels:
app: product-service
template:
metadata:
labels:
app: product-service
spec:
nodeSelector:
"kubernetes.io/os": linux
containers:
- name: product-service
image: ghcr.io/azure-samples/aks-store-demo/product-service:latest
ports:
- containerPort: 3002
resources: {}
---
apiVersion: v1
kind: Service
metadata:
name: product-service
spec:
type: ClusterIP
ports:
- name: http
port: 3002
targetPort: 3002
selector:
app: product-service
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: store-front
spec:
Expand All @@ -201,8 +237,8 @@ spec:
env:
- name: VUE_APP_ORDER_SERVICE_URL
value: "http://order-service:3000/"
- name: VUE_APP_PRODUCT_SERVICE_URL
value: "http://product-service:3000/"
- name: PRODUCT_SERVICE_URL
value: "http://product-service:3002/"
resources: {}
---
apiVersion: v1
Expand Down

0 comments on commit bae835e

Please sign in to comment.