This file contains hidden or 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
minikube start | |
minikube status | |
kubectl get all | |
kubectl apply -f [filename].yaml | |
minikube ip | |
kubectl describe pod [podname] | |
kubectl exec [podname] ls | |
kubectl -it exec [podname] sh | |
ctrl+D //to quit from sh | |
kubectl get pods --show-labels -l [selector] |
This file contains hidden or 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
docker image ls //get all the images installed in this pc | |
minikube docker-env //get environment settings to make docker command talk to minikube | |
eval $(minikube -p minikube docker-env) //setting talking docker daemon | |
minikube ip | |
docker ps //list running containers. | |
docker ps -a //list all container including stopped container | |
docker pull //download a image from Docker Hub registry | |
docker build //is used to build your own container based on a Dockerfile | |
docker build -t "myimage:latest" //creates a container and stores the image under the given name |
This file contains hidden or 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
const fs = require('fs') | |
let lineWidth = 0; | |
let betweenCharacters = 2; | |
let allTexts = []; | |
process.argv.forEach((val, index) => { | |
//console.log(val); | |
if(val.endsWith('.txt')){ | |
//console.log(val); | |
try { |