Skip to content

Commit

Permalink
Finished K8s integration
Browse files Browse the repository at this point in the history
  • Loading branch information
aalonsolopez committed Mar 21, 2024
1 parent bfa6b5e commit ef3b34d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion kubernetes/005-client-deplyment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ spec:
cpu: "500m"
ports:
- containerPort: 80
volumeMounts:
- name: app-client-files
mountPath: /usr/share/nginx/html
volumes:
- name: app-client-files
hostPath:
path: "/client"
path: "/tmp/client"
type: Directory
2 changes: 1 addition & 1 deletion kubernetes/006-client-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ spec:
app: app-client
ports:
- port: 8082
targetPort: 8082
targetPort: 80
type: LoadBalancer

0 comments on commit ef3b34d

Please sign in to comment.