c9a278dc2f
Creating a deployment using 'kubectl run' command was deprecated and is not supported anymore, starting with 1.18 version. In order to keep the example as relevant as possible, all 3 pods were kept. Couple of changes: - fix example to use 'kubectl create deployment' command, and scaled it up explicitly - fix missing label for both Deployment and Service - update label key, from 'run' to 'app', as deployments automatically add the label with this key - update comment on how label's key could have used 'run' and 'app' values - update pods names and internal hostnames - which are based on the replicaSet (eg. hostnames-632524106).