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/rocky.yaml

24 lines
526 B
YAML
Raw Normal View History

2023-11-27 12:42:15 -06:00
apiVersion: v1
kind: Pod
metadata:
name: rocky-linux
namespace: default
spec:
2023-12-02 00:51:58 -06:00
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
2023-11-27 12:42:15 -06:00
containers:
- name: rocky
image: rockylinux:9
securityContext:
privileged: true
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
resources:
requests:
2023-12-02 00:51:58 -06:00
cpu: 100m
gpu.intel.com/i915: 1
memory: 512Mi
2023-11-27 12:42:15 -06:00
limits:
cpu: 4000m
2023-12-02 00:51:58 -06:00
gpu.intel.com/i915: 1
memory: 8000Mi