Skip to content

Commit

Permalink
kubectl deployement
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 10, 2023
1 parent 0fccb40 commit d9053f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ do
docker build -f Dockerfile --tag gcr.io/"$PROJECT_ID"/orderservice:"$GITHUB_SHA" .
echo "--------docker build done, docker push---------------"
docker push gcr.io/"$PROJECT_ID"/orderservice:"$GITHUB_SHA"
echo "--------pushed docker image--------------------------"
echo "--------pushed docker image, deploy to gke cluster--------------------------"

gcloud container clusters get-credentials "order-service-gke" --region us-east1
# setup kustomize
curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
chmod u+x ./kustomize
Expand Down

0 comments on commit d9053f3

Please sign in to comment.