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
github.com
GitHub - iovisor/kubectl-trace: Schedule bpftrace programs on your kubernetes cluster using the...
Schedule bpftrace programs on your kubernetes cluster using the kubectl - iovisor/kubectl-trace
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. Texans 23.9K posts
- 2. #MissUniverse 56K posts
- 3. James Cook 4,148 posts
- 4. #TNFonPrime 1,400 posts
- 5. Sedition 226K posts
- 6. Davis Mills 1,623 posts
- 7. Shakir 3,134 posts
- 8. Will Anderson 2,572 posts
- 9. Christian Kirk 2,283 posts
- 10. Lamelo 9,155 posts
- 11. Treason 120K posts
- 12. Prater N/A
- 13. Cheney 104K posts
- 14. Nico Collins 1,035 posts
- 15. #htownmade 1,207 posts
- 16. Paul George 1,992 posts
- 17. Seditious 127K posts
- 18. #BUFvsHOU 1,468 posts
- 19. TMNT 6,231 posts
- 20. Jalen Suggs N/A
Something went wrong.
Something went wrong.