Notes to Self

Alex Sokolsky's Notes on Computers and Programming

kubectl Service

kubectl create service

kubectl create service nodeport service-name --dry-run=client --node-port=30800 -o=yaml --tcp=80:80 > service-service-name.yaml
kubectl create service clusterip redis-service --dry-run=client -o=yaml --tcp=6379:6379 > redis-service.yaml