# Create a service using the definition in example-service.yaml.

kubectl apply -f example-service.yaml



# Create a replication controller using the definition in example-controller.yaml.

kubectl apply -f example-controller.yaml



# Create the objects that are defined in any .yaml, .yml, or .json file within the <directory> directory.

kubectl apply -f <directory>