Run the commands below to create deployment and service, or use the kubectl apply -f <filename.yaml>
command.
# View nodes
NAME STATUS ROLES AGE VERSION
docker-for-desktop Ready master 1h v1.10.11
# Create ReplicaSet
kubectl run echo --image=hashicorp/http-echo --port=8080 -- "-text=hello kubernetes" "-listen=:8080"