Skip to content

Commit

Permalink
Fix deployment command.
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
ryanjbaxter committed Dec 4, 2024
1 parent 295a077 commit 151c293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ $ cd k8s
Now we can use kubectl to generate the basic YAML we need:

```
$ kubectl create deployment gs-spring-boot-k8s --image spring-k8s/gs-spring-boot-k8s:snapshot -o yaml --dry-run=client > deployment.yaml
$ kubectl create deployment gs-spring-boot-k8s --image spring-k8s/spring-k8s/hello-spring-k8s:latest -o yaml --dry-run=client > deployment.yaml
```

Because the image we are using is local, we need to change the https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy[`imagePullPolicy`] for the container in our deployment.
Expand Down Expand Up @@ -461,4 +461,4 @@ Getting a Spring Boot application running on Kubernetes requires nothing more th
of Spring Boot has always been to make building and running Java applications as easy as possible, and we try to enable
that, no matter how you choose to run your application. Building cloud-native applications with Kubernetes involves
nothing more than creating an image that uses Spring Boot’s built-in image builder and taking advantage of the capabilities
of the Kubernetes platform.
of the Kubernetes platform.

0 comments on commit 151c293

Please sign in to comment.