This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/default/ubuntu.yaml

24 lines
523 B
YAML
Raw Normal View History

2023-12-02 09:50:30 -06:00
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
namespace: default
spec:
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
containers:
- name: ubuntu
image: ubuntu:latest
securityContext:
privileged: true
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
resources:
requests:
cpu: 100m
gpu.intel.com/i915: 1
memory: 512Mi
limits:
cpu: 4000m
gpu.intel.com/i915: 1
memory: 8000Mi