Skip to content

Commit

Permalink
Merge pull request #107 from stakater/for-dev
Browse files Browse the repository at this point in the history
fixes for dev
  • Loading branch information
ayeshasiddiqa161 authored Jun 26, 2023
2 parents 920291d + 8c57334 commit ddc5513
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions content/for-developers/explanation/inner-outer-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Here's a list of steps you might typically follow to deploy from the inner loop:
1. Create a container image: Issue the commands `docker build` and `docker tag`.
1. Upload the container image to a registry: Issue a `docker push`.
1. Write one or more Kubernetes or OpenShift resource files: Write lots of YAML.
1. Deploy your app to the cluster: Issue the command: `kubectl apply -f my_app.yaml`.
1. Deploy other services to the cluster: Issue the command: `kubectl apply -f svc*.yaml`.
1. Deploy your app to the cluster: Issue the command: `kubectl apply -f my_app.yaml -n <deleloper-namespace>`.
1. Deploy other services to the cluster: Issue the command: `kubectl apply -f svc*.yaml -n <deleloper-namespace>`.
1. Write the config (or set `ENV`) to allow apps to work together: Issue a `kubectl create configmap`.
1. Configure apps to work together correctly: Issue a `kubectl apply -f my_configmap.yaml`.
1. Configure apps to work together correctly: Issue a `kubectl apply -f my_configmap.yaml -n <deleloper-namespace>`.

That's a lot of steps!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Local Development Workflow](./images/local-development-1.png)

The diagram below depicts a development workflow orchestrated by Tilt. After you execute the tilt up command on your development machine, Tilt will keep running while performing the following actions:
The diagram above depicts a development workflow orchestrated by Tilt. After you execute the tilt up command on your development machine, Tilt will keep running while performing the following actions:

1. Tilt watches for changes in the source code made by the developer on the local machine.
1. After a change has been detected, Tilt executes docker/buildah to update the container image. After the build completes, the updated container image is pushed to the internal docker registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Lets create a Dockerfile inside the repository folder and delete any existing fi
1. JAR files were generated as a result of `mvn package`. Copy the artifact generated from build stage.

```Dockerfile
EXPOSE 8080
COPY --from=build /usr/src/app/target/*.jar $HOME/artifacts/app.jar
```

1. Finally, specify the command to be executed when container is created with this image, typically the command to run the application.
Expand Down

0 comments on commit ddc5513

Please sign in to comment.