Top Kubectl commands you should know.

Get Contexts kubectl config get-contexts Get Pods kubectl get pods Get Pods' Performance kubectl top pods Get specific Pod Performance while true; do echo "=== $(date '+%Y-%m-%d %H:%M:%S') ===" >> pod_metrics.log; kubectl top pod >> pod_metrics.log; sleep 10; done

Installing Ubuntu on Windows 10 using Powershell

Hey Friends,

Wish you a very happy new year 2019. This year I am going to start learning about cloud, vm(s), running dotnet core apps on linux distributions and hence will have our hands dirty on ubuntu.

I have been developing .Net apps from past many years now but I always wanted to run my apps on linux.

Glad to share that Windows 10 allows you to install linux distributions and hence we'll install ubuntu

I am going to demonstrate here, how you can install ubuntu on Windows 10 using powershell.
  • Open Powershell and run the following command

    Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
    
  • You will get an ubntu.appx file. Double click to run the installation.
  • Woo hoo! You have linux installed in your system. Click on start and you should be able to see it.