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

How to generate angular clients using dotnet core?

 Problem:

I wanted to generate angular clients using .net core API

Solution:

  1. Refer https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckleaspnetcorecli to generate openapi v3 compatible JSON
  2. Refer https://www.npmjs.com/package/@openapitools/openapi-generator-cli to generate angular clients.