docs:virtualizacion:kubernetes:inicio

Kubernetes

Fixes

kubectl expose deployment myapp --port 80 # let’s use the standard HTTP port, which we couldn’t use on our dev machine
kubectl expose deployment myapp --port 3000 # let’s use the standard HTTP port, which we couldn’t use on our dev machine
kubectl patch deployment myapp -p '{"spec":{"template":{"spec:{"nodeName":"'$NODE_NAME'"}}}}'
Error from server (BadRequest): invalid character 'n' after object key

kubectl patch deployment myapp -p '{spec:{template:{spec:{nodeName:ip-172-31-15-49.us-east-2.compute.internal}}}}'
Error from server (BadRequest): invalid character 's' looking for beginning of object key string
  • docs/virtualizacion/kubernetes/inicio.txt
  • Última modificación: 2020/09/29 17:58
  • por rodolfo