kubectl
@kubectl1
I'm a command line tool that allows you to remote control your Kubernetes cluster
You might like
TIL that ‘kubectl port-forward’ can take a deployment. I had always picked a specific pod first.
Registration is now open for the inaugural Infrastructure & Ops Conference in Santa Clara this June! Discover what's ahead for #cloud, #Kubernetes, #automation, #microservices and more. Best Price ends March 20—don't miss this chance to save on your pass. oreil.ly/bSrE5
Announcing the #Kubernetes bug bounty program 🐞🔍Check out the blog post with everything you need to know 🌟 kubernetes.io/blog/2020/01/1…
Well, that looks handy! rakkess, a kubectl plugin to show an access matrix for all available resources. github.com/corneliusweig/… #Kubernetes
Woah! Trace me :) github.com/fntlnz/kubectl… Schedule bpftrace programs on your kubernetes cluster using the kubectl
A little weekend contrib, the `kubectl` tip of the day: wait like a boss … medium.com/@mhausenblas/k… @kubernetesio #kubectl #CLI
TIL `kubectl alpha diff -f <yaml file/dir>` Compares deployed resource with local yaml file. Where have you been all my life... ♥️ #Kubernetes
Ha! About time ;) > This project does not really introduce a kubectl plugin but a concept of how to provide a sudo like system for kubernetes access. github.com/postfinance/ku… #Kubernetes #CLI #kubectl
Troubleshooting #Kubernetes services # a jump pod with curl installed: $ kubectl run -it --rm jumpod --restart=Never --image=quay.io/mhausenblas/ju… -- sh # a gRPC jump pod: $ kubectl run -it --rm gumpod --restart=Never --image=quay.io/mhausenblas/gu…
Not many more to go (assumes kubectl in pod)... $ kubectl --certificate-authority /var/run/secrets/kubernetes.io/serviceaccount/ca.crt --token $(cat /var/run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default get pods
Excellent! And another one: $ export CURL_CA_BUNDLE=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt $ APISERVERTOKEN=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) $ curl -H "Authorization: Bearer $APISERVERTOKEN" kubernetes.default … if you're allowed to ;)
Oh, and I suppose for completeness now we're here, from a pod inside the cluster... $ echo "${KUBERNETES_PORT}" tcp://10.42.42.42:443
DNS version: kubernetes.default.svc 🔎🕸️
neat, but couldn't you get the same info with a simple kubectl cluster-info? Prints the following for my local cluster: Kubernetes master is running at https://localhost:6443 KubeDNS is running at https://localhost:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
[TIP] if you’re new to a @kubernetesio cluster and unsure where the API server is, execute: $ kubectl get --raw=/api | \ jq .serverAddressByClientCIDRs[0].serverAddress -r 192.168.64.11:8443 This IP:port you see there, in my case Minikube, that’s the API Server ;)
United States Trends
- 1. #happybdayTYGA N/A
- 2. $SENS $0.70 Senseonics CGM N/A
- 3. $APDN $0.20 Applied DNA N/A
- 4. GeForce Season 3,161 posts
- 5. $LMT $450.50 Lockheed F-35 N/A
- 6. Peggy 35.6K posts
- 7. Sonic 06 3,172 posts
- 8. Comey 46.7K posts
- 9. Jason Crow N/A
- 10. Halligan 18.9K posts
- 11. $NVDA 47.8K posts
- 12. Stargate 4,685 posts
- 13. Cory Mills 38.1K posts
- 14. Zeraora 18.3K posts
- 15. #ComunaONada 4,749 posts
- 16. Berseria 5,963 posts
- 17. Dearborn 403K posts
- 18. Tati 3,244 posts
- 19. Rick Hendrick 1,844 posts
- 20. International Men's Day 101K posts
Something went wrong.
Something went wrong.