Skip to content

Instantly share code, notes, and snippets.

@doggy8088
Created October 20, 2022 16:09
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 doggy8088/174f4a1612306714d2f9653e612aebab to your computer and use it in GitHub Desktop.
Save doggy8088/174f4a1612306714d2f9653e612aebab to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: 'nginx'
namespace: default
labels:
app: 'nginx'
spec:
containers:
- image: 'nginx'
name: nginx
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 200m
memory: 500Mi
ports:
- containerPort: 80
name: http
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment