Skip to content

Commit

Permalink
Github Action 으로 GKE 에 Spring Boot 애플리케이션 배포하기
Browse files Browse the repository at this point in the history
  • Loading branch information
genie-youn committed Apr 26, 2020
1 parent b9d1c45 commit 4b4f842
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ $ docker push gcr.io/[PROJECT-ID]/demo

#### gke 배포

gke (google-kubernetes-engine)에 배포하기 위해 `deployment.yaml` 을 생성해주도록 하자.
gke (google-kubernetes-engine)에 배포하기 위해 `deployment.yml` 을 생성해주도록 하자.

```shell
$ kubectl create deployment demo --image=gcr.io/[PROJECT-ID]/demo --dry-run -o=yaml > deployment.yaml
$ kubectl create deployment demo --image=gcr.io/[PROJECT-ID]/demo --dry-run -o=yaml > deployment.yml
```

생성된 파일은 다음과 같다.

development.yaml
development.yml

```yaml
apiVersion: extensions/v1beta1
Expand Down

0 comments on commit 4b4f842

Please sign in to comment.