Add a minimal Kubernetes Python example
ADD
kubernetes-py-nginx/.gitignore
+/.pulumi/
+/bin/
+/include/
+/lib/
+*.pyc
+.Python

ADD
kubernetes-py-nginx/Pulumi.yaml
+name: kube-nginx
+runtime: python
+description: An example of creating a single Kubernetes Nginx Pod in Python.

ADD
kubernetes-py-nginx/__main__.py
+import pulumi_kubernetes as k8s
+
+c = k8s.Pod('nginx',
+ metadata={
+ 'name': 'nginx',
+ 'labels': {
+ 'app': 'nginx',
+ },
+ },
+ spec={
+ 'containers': [{
+ 'image': 'nginx:1.7.9',
+ 'name': 'nginx',
+ 'ports': [{ 'container_port': 80 }],
+ }],
+ },
+)

ADD
kubernetes-py-nginx/requirements.txt
+pulumi>=0.11.0
+pulumi_kubernetes>=0.11.2

Add a minimal Kubernetes Python example