Skip to content

Commit

Permalink
Update nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy authored Jan 31, 2024
1 parent fd0aa55 commit a595817
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ jobs:
- name: Deploy nginx
run: |
kubectl run nginx-app --image=nginx --port=80
kubectl create deployment nginx --image=nginx
kubectl wait pod --all --for=condition=Ready
kubectl get pods
kubectl expose deployment nginx-app --type=NodePort
kubectl describe services nginx-app
kubectl expose deployment nginx --type=LoadBalancer --port=8080
kubectl describe services nginx
- name: Export logs
if: always()
Expand Down

0 comments on commit a595817

Please sign in to comment.