Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Created June 18, 2020 12:03
Show Gist options
  • Save evrardjp/fc7020c188008f8978314b320a9094f5 to your computer and use it in GitHub Desktop.
Save evrardjp/fc7020c188008f8978314b320a9094f5 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment