GoogleCloudPlatform/gke-logging-sinks-demo

kubectl run to create deployment has been deprecated

Closed this issue · 1 comments

Updated kubectl commands for deployment and worked.

provisioner "local-exec" {
command = "kubectl --namespace default create deployment hello-server --image gcr.io/google-samples/hello-app:1.0"
}

provisioner "local-exec" {
command = "kubectl --namespace default expose deployment hello-server --type "LoadBalancer" --port=8080"
}