Skip to content

Commit

Permalink
Merge pull request #10 from UlisesGascon/fix/deployment
Browse files Browse the repository at this point in the history
Improve deployment
  • Loading branch information
UlisesGascon authored Mar 20, 2023
2 parents d2351bd + 48faba2 commit 6fa4181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion k8s/api-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ metadata:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: "api.demo.ulisesgascon.com"
- host: "apifoo.ulisesgascon.com"
http:
paths:
- pathType: Prefix
Expand Down
6 changes: 3 additions & 3 deletions k8s/landing-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: demo-foo-landing
image: <IMAGE>
ports:
- containerPort: 3000
- containerPort: 80
# resources:
# requests:
# cpu: 500m
Expand All @@ -34,7 +34,7 @@ spec:
livenessProbe:
httpGet:
path: /
port: 3000
port: 80
initialDelaySeconds: 3
periodSeconds: 3
failureThreshold: 2
Expand All @@ -61,7 +61,7 @@ metadata:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: "demo.ulisesgascon.com"
- host: "foo.ulisesgascon.com"
http:
paths:
- pathType: Prefix
Expand Down

0 comments on commit 6fa4181

Please sign in to comment.