Skip to content

Instantly share code, notes, and snippets.

@IronCore864
Created August 3, 2020 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IronCore864/0d30b77fc8f86b158e58b47149a3624c to your computer and use it in GitHub Desktop.
Save IronCore864/0d30b77fc8f86b158e58b47149a3624c to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
namespace: default
labels:
app: nginx
spec:
replicas: 4
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
resources:
requests:
memory: "4Gi"
cpu: "1000m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment