is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead. deployment.apps/nginx created › kubectl get pod NAME READY STATUS RESTARTS AGE nginx-7cdbd8cdc9-4nv6x 1/1 Running 0 72s nginx-7cdbd8cdc9-cskks 1/1 Running 0 72s nginx-7cdbd8cdc9-ctq99 1/1 Running 0 72s この間に 何が起こったのか? Captain Kubeと出会う Phippyが三体増える 参考<https://stackoverflow.com/questions/52890718/kubectl-run-is-deprecated-looking-for-alternative> 補⾜:今後は”run”ではなく、”create”が推奨
is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead. deployment.apps/nginx created Deployment指定してないのに動いてる kubectl will infer the resource type if the generator name wasn't explicitly specified using the --generator flag. 例:マニフェストなら ドキュメント内の⽂章 使うわけじゃないけど、分かると楽しい!!