Skip to content

Commit e99ec88

Browse files
committed
fixed typos, cleaner flow
1 parent 92afc88 commit e99ec88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rolling-update/readme.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ Renaming webapp-rc-5a11f15230716f6026c407eb9c1a60ca to webapp-rc
2828
replicationcontroller "webapp-rc" rolling updated
2929
```
3030
. Access web application's main page http://127.0.0.1:8001/api/v1/proxy/namespaces/default/services/webapp-service/app/index.jsp and check for red background.
31-
31+
. Delete resources: `kubectl.sh delete rc/webapp-rc service/webapp-service`
3232

3333
== Using Deployment
3434

35-
. Create a Deployment: `kubectl create -f webapp-deployment.yml`
35+
. Create a Deployment: `kubectl.sh create -f webapp-deployment.yml`
3636
. Expose the Deployment as Service: `kubectl.sh expose deployment webapp-deployment --name=webapp-service --port=8080 --target-port=8080`
3737
. Start proxy: `kubectl proxy`
3838
. Access web application's main page at http://127.0.0.1:8001/api/v1/proxy/namespaces/default/services/webapp-service/app/index.jsp
3939
. Rolling update
40-
.. Using `kubectl set` command
40+
.. Using `kubectl.sh set` command
4141
... `kubectl.sh set image deployment/webapp-deployment webapp=arungupta/wildfly-app:2`
4242
... Check history of deployment `kubectl.sh rollout history deployment webapp-deployment`
4343
+

0 commit comments

Comments
 (0)