Skip to content

Instantly share code, notes, and snippets.

@laszlocph
Created January 26, 2018 14:58
Show Gist options
  • Save laszlocph/354eb0d7807e711ae3ee6848d850cbf7 to your computer and use it in GitHub Desktop.
Save laszlocph/354eb0d7807e711ae3ee6848d850cbf7 to your computer and use it in GitHub Desktop.
Lab-session-shell-history
: 1516725419:0;minikube status
: 1516725444:0;kubectl get nodes
: 1516725499:0;kubectl get pods
: 1516725511:0;kubectl get pods --all-namespaces
: 1516725620:0;kubectl run my-nginx --image=nginx:alpine --replicas=2 --port=80
: 1516725697:0;kubectl expose deployment my-nginx --port=80 --type=NodePort
: 1516725725:0;minikube service my-nginx
: 1516726276:0;kubectl get
: 1516726306:0;kubectl get pods,svc
: 1516726476:0;kubectl get pod my-nginx-4019219007-0ppdg
: 1516726483:0;kubectl describe pod my-nginx-4019219007-0ppdg
: 1516726561:0;kubectl get pods
: 1516726573:0;kubectl get pod my-nginx-4019219007-fpm81 -oyaml
: 1516726851:0;docker-compose down
: 1516726855:0;docker-compose up
: 1516726880:0;curl -v http://localhost:8080/health
: 1516727137:0;kubectl describe pod gs-messaging-redis-2501750630-b7whr
: 1516727333:0;kubectl logs -f gs-messaging-redis-2501750630-b7whr
: 1516727471:0;kubectl logs -f gs-messaging-redis-1357403264-254h8
: 1516727538:0;minikube service gs-messaging-redis
: 1516727547:0;minikube ip
: 1516727561:0;curl -v http://192.168.99.100:32095/health
: 1516727747:0;curl http://192.168.99.100:32095/health
: 1516728826:0;cd secrets
: 1516728836:0;kubectl apply -f final.deployment.yml
: 1516728909:0;kubectl get ns
: 1516728916:0;kubectl get namespaces
: 1516729039:0;kubectl create configmap
: 1516729043:0;kubectl create configmap -h
: 1516729069:0;kubectl create configmap language --from-literal=LANGUAGE=Orcish
: 1516729075:0;kubectl get confgimap
: 1516729080:0;kubectl get configmap
: 1516729096:0;kubectl describe configmap language
: 1516729147:0;kubectl create secret -h
: 1516729311:0;kubectl create secret generic apikey --from-literal=API_KEY=oneringtorulethemal
: 1516729389:0;k expose deployment envtest --type=NodePort
: 1516729399:0;kubectl get svc
: 1516729403:0;minikube service envtest
: 1516729534:0;kubectl delete -f gs-messaging-redis.yml
: 1516729739:0;cd docker-exercises
: 1516729742:0;cd kubernetes-exercises
: 1516729746:0;cd ingress-traefik
: 1516729798:0;kubectl apply -f ingress-traefik/traefik-ingress-controller.yml
: 1516729870:0;kubectl create -f ingress-traefik/traefik-service.yml
: 1516730194:0;cd gs-messaging-redis-master
: 1516730195:0;ls
: 1516730201:0;cd complete
: 1516730220:0;watch kubectl get pods,svc,ing
: 1516730236:0;kubectl apply -f gs-messaging-redis.yml
: 1516730274:0;echo "$(minikube ip) myapp.local" | sudo tee -a /etc/hosts
: 1516730299:0;curl http://myapp.local/health
: 1516730340:0;watch kubectl get pods --all-namespaces
: 1516731927:0;vs code
: 1516732261:0;cat gs-messaging-redis.yml
: 1516732317:0;less gs-messaging-redis.yml
: 1516782658:0;minikube delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment