# How to upgrade service using the shell command

**URL:** https://forums.suse.com/t/how-to-upgrade-service-using-the-shell-command/8094
**Category:** General
**Created:** [December 22, 2017, 7:05am UTC](https://forums.suse.com/t/how-to-upgrade-service-using-the-shell-command/8094 "2017-12-22T07:05:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GavenHwang](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@GavenHwang](https://forums.suse.com/u/GavenHwang)
#### Post date: [December 22, 2017, 7:05am UTC](https://forums.suse.com/t/how-to-upgrade-service-using-the-shell-command/8094/1 "2017-12-22T07:05:00Z")

</div>

curl -u “${CATTLE\_ACCESS\_KEY}:${CATTLE\_SECRET\_KEY}”   
-X POST   
-H ‘Accept: application/json’   
-H ‘Content-Type: application/json’   
-d ‘{“inServiceStrategy”:null, “toServiceStrategy”:null}’   
‘[http://192.168.99.100:8080/v2-beta/projects/1a5/services/1s10/?action=upgrade](http://192.168.99.100:8080/v2-beta/projects/1a5/services/1s10/?action=upgrade)’

I don’t know what information should be filled in “inServiceStrategy” and "toServiceStrategy"  
hope to get your help, Thanks!
