Skip to content

Instantly share code, notes, and snippets.

@chrisedrego
Created January 27, 2022 12:55
Show Gist options
  • Select an option

  • Save chrisedrego/bf6ec95b97ab8d604ea03be5ecdf7273 to your computer and use it in GitHub Desktop.

Select an option

Save chrisedrego/bf6ec95b97ab8d604ea03be5ecdf7273 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
namespace: policy-check
spec:
replicas: 1
selector:
matchLabels:
name: my-app
template:
metadata:
labels:
name: my-app
spec:
containers:
- name: cache-service
image: xasag94215/flask-cache
ports:
- containerPort: 5000
name: resta
resources:
requests:
cpu: 500m
memory: 640Mi
limits:
cpu: 580m
memory: 4Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment