Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Created April 18, 2020 13:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/8a1083d57ce83237029c41ab2ac82611 to your computer and use it in GitHub Desktop.
Save kameshsampath/8a1083d57ce83237029c41ab2ac82611 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: myboot
name: myboot
spec:
replicas: 1
selector:
matchLabels:
app: myboot
template:
metadata:
labels:
app: myboot
spec:
containers:
- name: myboot
image: quay.io/rhdevelopers/myboot:v2
ports:
- containerPort: 8080
resources:
limits:
memory: "800Mi"
cpu: "2000m"
requests:
memory: "400Mi"
cpu: "1000m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment