Last year we were successful with a series of Kubernetes tips shared via Twitter : it was called Tuesday Tips. Following a bit of a hiatus, we’d like to bring it back. We’re starting with a roundup of our previous tips (those that are still valid anyway!)
This blog post compiles a summary of them, and ranks them according to popularity. Looking back it’s amazing how much the project has changed, so we’re exploring new features and running another series.
First time around the top tip was:
#1 Software engineers love shell auto-completion because it saves time and keystrokes - this tweet shows how to enable it for the kubectl command.
#2 You don’t have to do anything special to get your service distributed across nodes.
Create a service prior to a RC/RS and pods will spread across nodes. The default scheduler has service anti-affinity. #tuesdaytip— Jetstack (@JetstackHQ) June 21, 2016
#3 We showed you a new and easy way to spin up a Job.
Use kubectl run with ‘--restart=Never’ and it’ll spin up a Job (vs Deployment+RS with default restart policy of Always) #tuesdaytip— Jetstack (@JetstackHQ) June 7, 2016