Skip to content

Instantly share code, notes, and snippets.

@fredrkl
Created January 6, 2021 13:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fredrkl/0aa9fddc902e3fd988bf8e6c8f681db0 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: example-deployment # Name of our deployment
labels:
app: nginx
spec:
replicas: 3
Selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.1
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment