Last active
January 2, 2020 04:53
-
-
Save samair/4ba56b16cef44baf89cfe6255c965bfd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scale a deployment: | |
============================ | |
kubectl scale deployment alphamon-user --replicas=2 | |
Update/Change image of a deployment: | |
======================================= | |
kubectl set image deployments/alphamon-user alphamon-user=gcr.io/alphamon-982144/alphamon-user:v2 | |
Describe a deployment: | |
====================================== | |
kubectl describe deployments/alphamon-user | |
Generate and push container image to GCR: | |
==================================================================================== | |
./mvnw com.google.cloud.tools:jib-maven-plugin:build -Dimage=gcr.io/alphamon-982144/alphamon-device:v2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment