Skip to content

Instantly share code, notes, and snippets.

@grkvlt
Last active January 23, 2017 15:48
Show Gist options
  • Save grkvlt/0fc32ab1a3c6fc62b050b782ecdb3898 to your computer and use it in GitHub Desktop.
Save grkvlt/0fc32ab1a3c6fc62b050b782ecdb3898 to your computer and use it in GitHub Desktop.
Kubernetes Nginx Pod
apiVersion: v1
kind: ReplicationController
metadata:
name: nginx
namespace: default
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment