Skip to content

Instantly share code, notes, and snippets.

@hiyosi
Created December 29, 2017 13:05
Show Gist options
  • Save hiyosi/fac866b17459799482d7c0454d629912 to your computer and use it in GitHub Desktop.
Save hiyosi/fac866b17459799482d7c0454d629912 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ReplicationController
metadata:
name: nginx
spec:
replicas: 3
selector:
app: nginx
template:
metadata:
name: nginx
labels:
app: nginx
spec:
tolerations:
- key: web
value: nginx
effect: NoSchedule
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