You create a Deployment using one of the following methods:
You can use the Deploy feature in Google Cloud Platform Console's Workloads menu to create a simple Deployment from a container image you've stored in Container Registry
You can write a Deployment manifest and run kubectl apply to create the resource
You can declaratively create and update Deployments from manifest files using kubectl apply. This method also retains updates made to live resources without merging the changes back into the manifest files.
To create a Deployment from its manifest file, run the following command:
kubectl apply -f [DEPLOYMENT_FILE]
where [DEPLOYMENT_FILE] is the manifest file, such as config.yaml.
You can also use kubectl apply -f [DIRECTORY]/ to create all objects (except existing ones) defined in manifest files stored a directory.