Logs, links, notes, recipes, ...

Kubernetes on a Mac

Published by Felipe Crochik on September 7, 2019September 7, 2019

Tags
angular ansible argocd aws azure curator dns docker docker-machine eks elasticsearch elk filebeat grafana IAM kibana kubernetes lcow letsencrypt macos metricbeat microk8s mongo multipass nginx node openapi pdf rabbitmq rancher rancheros redis registry s3 samba ssh ssl typescript ubuntu vpn websocket windows windows server wireguard xip.io

Enable auto-completion

Upgrade bash, install autocompletion and enable them: https://medium.com/merapar/fixing-bash-autocompletion-on-macos-for-kubectl-and-kops-e87f019652e8

List all pod (sorted by node)

kubectl get pods -o wide --sort-by="{.spec.nodeName}" --all-namespaces 
Categories: cheatsheet
Tags: kubectlkubernetesmacos

Related Posts

cheatsheet

AWS: VPC DNS Server

From a running ec2, as long as the vpc has DNS support enabled, you can use the vpc dns server to resolve DNS names. It will resolve public AWS names to private IPs if within Read more

cheatsheet

nginx ingress controller errors

One more of those small things that can cost you hours to find again when you eventually need it.  502 – too big header If you get nginx 502 error pages when browsing one of Read more

cheatsheet

DNS on Mac

Hopefully this was the last time I have to “google it” 🙂 Flush DNS cache on Mac sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say cache flushed To Change the DNS server networksetup -setdnsservers WI-FI Read more