Skip to content

Instantly share code, notes, and snippets.

View sleipnir's full-sized avatar
🎯
Focusing

Adriano Santos sleipnir

🎯
Focusing
View GitHub Profile

Creating and Scheduling a Pod Manually

This tutorial demonstrates how to create a Pod and manually schedule it to a node using cURL. This guide assumes you don't have a scheduler running in your Kubernetes cluster.

Create a Pod

The following pod will run version 1.10.0 of nginx with a 100m CPU limit.

Create the nginx pod manifest and name it pod.json: