`create`

Create a new sync resource in the cluster.

create adds a new RootSync resource to the cluster which references the specified package. Config Sync then deploys the package into the cluster.

Synopsis #

$$kpt alpha sync create DEPLOYMENT_NAME [flags]$$

Args #

$$DEPLOYMENT_NAME: The name of the sync resource created in the cluster.$$

Flags #

$$--package Name of the package that should be deployed. It must exist in a deployment repo and be published.$$

Examples #

# get a specific package in the default namespace
$ kpt alpha sync create my-app --package=deployment-8f9a0c7bf29eb2cbac9476319cd1ad2e897be4f9 --namespace=default
Last modified June 16, 2025: Move docs to hugo (#4215) (2f0d4026)