kubectl1's profile picture. I'm a command line tool that allows you to remote control your Kubernetes cluster

kubectl

@kubectl1

I'm a command line tool that allows you to remote control your Kubernetes cluster

kubectl reposted

TIL that ‘kubectl port-forward’ can take a deployment. I had always picked a specific pod first.


kubectl reposted

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

OReillyInfraOps's tweet image. 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

kubectl reposted

Announcing the #Kubernetes bug bounty program 🐞🔍Check out the blog post with everything you need to know 🌟 kubernetes.io/blog/2020/01/1…

kubernetesio's tweet image. Announcing the #Kubernetes bug bounty program 🐞🔍Check out the blog post with everything you need to know 🌟 kubernetes.io/blog/2020/01/1…

kubectl reposted

Well, that looks handy! rakkess, a kubectl plugin to show an access matrix for all available resources. github.com/corneliusweig/… #Kubernetes

mhausenblas's tweet image. Well, that looks handy! rakkess, a kubectl plugin to show an access matrix for all available resources.

github.com/corneliusweig/…

#Kubernetes

kubectl reposted

A little weekend contrib, the `kubectl` tip of the day: wait like a boss … medium.com/@mhausenblas/k… @kubernetesio #kubectl #CLI

mhausenblas's tweet image. A little weekend contrib, the `kubectl` tip of the day: wait like a boss …

medium.com/@mhausenblas/k…

@kubernetesio #kubectl #CLI

kubectl reposted

TIL `kubectl alpha diff -f <yaml file/dir>` Compares deployed resource with local yaml file. Where have you been all my life... ♥️ #Kubernetes


kubectl reposted

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…


kubectl reposted

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


kubectl reposted

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 ;)


kubectl reposted

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


kubectl reposted

DNS version: kubernetes.default.svc 🔎🕸️


kubectl reposted

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


kubectl reposted

[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 ;)


Loading...

Something went wrong.


Something went wrong.