# AppDeployment Tutorial 1. Create an Application ```bash $ cat < Note that in order to AppDeployment to work, your workload object must have a `spec.replicas` field for scaling. 1. Now you can check that there will 1 deployment and 2 pod instances deployed ```bash $ kubectl get deploy NAME READY UP-TO-DATE AVAILABLE AGE testsvc-v1 2/2 2 0 27s ``` 1. Update Application properties: ```bash $ cat < 8080 Forwarding from [::1]:8080 -> 8080 # The command should return pages of either docker whale or nginx in 50/50 $ curl -H "Host: example-app.example.com" http://localhost:8080/ ``` 1. Cleanup: ```bash kubectl delete appdeployments.core.oam.dev --all kubectl delete applications.core.oam.dev --all ```