Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Created Aug 16, 2021
Embed
What would you like to do?
kubectl create -n default -f- <<EOF
apiVersion: v1
kind: Pod
metadata:
name: teste-recursos
spec:
containers:
- name: teste-recursos
image: busybox
imagePullPolicy: IfNotPresent
command: ['sh', '-c', 'echo Executando ; sleep 10000']
resources:
requests:
cpu: "100m"
limits:
cpu: "200m"
restartPolicy: Never
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment