Over a million developers have joined DZone.

GitHub Repo Sharing: kubernetes-scripts

DZone's Guide to

GitHub Repo Sharing: kubernetes-scripts

Learn about using Kubernetes scripts for various developer tasks, such as debugging, using the GitHub repository kubernetes-scripts.

· DevOps Zone ·
Free Resource

Download the blueprint that can take a company of any maturity level all the way up to enterprise-scale continuous delivery using a combination of Automic Release Automation, Automic’s 20+ years of business automation experience, and the proven tools and practices the company is already leveraging.

I have been learning k8s for several months. Some scripts, I have been using quite often.

Here comes the GitHub repo: kubernetes-scripts.

(Hint: Want to learn Kubernetes with real scenarios? Check the challenges-kubernetes repo.)

Some scripts are quoted from GitHub.

For debugging purpose, you might want to know which node runs a given pod.

You might run into similar errors like below, right? The request fails with some tcp endpoint.

| root@k8s1:~# curl http://localhost:8001/api/...
| Error: 'dial tcp getsockopt: no route to host'
| Trying to reach: ''

It says no route to host. Should be some network issue. But who holds the IP of

Want to identify the pod with one command? Try the script on GitHub.

Want to check more? Everything is on GitHub.

If you find the repo useful or interesting, please remember to star or fork it. Cheers!

More Reading:

Original URL: https://dennyzhang.com/kubernetes-scripts

Connect with Denny on Slack or MailList.

Download the ‘Practical Blueprint to Continuous Delivery’ to learn how Automic Release Automation can help you begin or continue your company’s digital transformation.

devops ,github ,kubernetes

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}