Skip to content

Instantly share code, notes, and snippets.

@JordiCorbilla
Last active May 11, 2020 16:31
Show Gist options
  • Save JordiCorbilla/82567fbb1dff77dc35aeabf907d65e8e to your computer and use it in GitHub Desktop.
Save JordiCorbilla/82567fbb1dff77dc35aeabf907d65e8e to your computer and use it in GitHub Desktop.
PS C:\Users\thund\Source\Repos\TradingPlatform> kubectl apply -f .\deployment.yml
deployment.apps/trading-platform-deployment created
PS C:\Users\thund\Source\Repos\TradingPlatform> kubectl get deployments
NAME READY UP-TO-DATE AVAILABLE AGE
trading-platform-deployment 1/1 1 1 8m7s
PS C:\Users\thund\Source\Repos\TradingPlatform> kubectl get pods
NAME READY STATUS RESTARTS AGE
trading-platform-deployment-6bf776f966-8xs7r 1/1 Running 0 10m
PS C:\Users\thund\Source\Repos\TradingPlatform> kubectl logs trading-platform-deployment-6bf776f966-8xs7r
[16:16:13 INF] Starting...
Hosting environment: Production
Content root path: /app
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment