Skip to content

Instantly share code, notes, and snippets.

@bigwheel
Created July 2, 2020 19:03
Show Gist options
  • Save bigwheel/a6108a7171a0df476a6c76ae7b891d62 to your computer and use it in GitHub Desktop.
Save bigwheel/a6108a7171a0df476a6c76ae7b891d62 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment