Preview:
# 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>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter