Skip to content

Instantly share code, notes, and snippets.

@isaobushi
Created October 14, 2019 05:26
Show Gist options
  • Save isaobushi/67a8d5ee4f1eca87b0e6102660f6235c to your computer and use it in GitHub Desktop.
Save isaobushi/67a8d5ee4f1eca87b0e6102660f6235c to your computer and use it in GitHub Desktop.
Deploy on Kubernetes

Build docker Image Push docker Image Create a deployment on kubectl kubectl create deployment <name_app> --image=<repo_name>: Expose service kubectl expose deployment/<name_app> --type=NodePort --port=NNNN --name=<name_app>-service --target-port=NNNN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment