# NOT RUN {
# without any args, prints the kubectl help screen
call_kubectl()
# append "--help" to get help for a command
call_kubectl("create --help")
# deploy a service from a yaml file
call_kubectl("create -f deployment.yaml")
# get deployment and service status
call_kubectl("get deployment")
call_kubectl("get service")
# }
Run the code above in your browser using DataLab