github.com/SamarSidharth/kpt@v0.0.0-20231122062228-c7d747ae3ace/site/reference/cli/alpha/sync/create/README.md (about) 1 --- 2 title: "`create`" 3 linkTitle: "create" 4 type: docs 5 description: > 6 Create a new sync resource in the cluster. 7 --- 8 9 <!--mdtogo:Short 10 Create a new sync resource in the cluster. 11 --> 12 13 `create` adds a new RootSync resource to the cluster which references 14 the specified package. Config Sync then deploys the package into the cluster. 15 16 ### Synopsis 17 18 <!--mdtogo:Long--> 19 20 ``` 21 kpt alpha sync create DEPLOYMENT_NAME [flags] 22 ``` 23 24 #### Args 25 26 ``` 27 DEPLOYMENT_NAME: 28 The name of the sync resource created in the cluster. 29 ``` 30 31 #### Flags 32 33 ``` 34 --package 35 Name of the package that should be deployed. It must exist in a 36 deployment repo and be published. 37 ``` 38 39 <!--mdtogo--> 40 41 ### Examples 42 43 <!--mdtogo:Examples--> 44 45 ```shell 46 # get a specific package in the default namespace 47 $ kpt alpha sync create my-app --package=deployment-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9 --namespace=default 48 ``` 49 50 <!--mdtogo-->