Skip to content

Instantly share code, notes, and snippets.

@mekya
Created May 26, 2020 09:03
Show Gist options
  • Save mekya/44bc7754d0cbbba9cd6d682a90e9ed96 to your computer and use it in GitHub Desktop.
Save mekya/44bc7754d0cbbba9cd6d682a90e9ed96 to your computer and use it in GitHub Desktop.
Ant Media Server GPU K8S Deployment YAML
apiVersion: apps/v1
kind: Deployment
metadata:
name: ant-media-server
spec:
selector:
matchLabels:
run: ant-media-server
replicas: 1
template:
metadata:
labels:
run: ant-media-server
spec:
containers:
- name: ant-media-server
image: mekya/ant-media-server:gpu_k8s
resources:
limits:
nvidia.com/gpu: 1
env:
- name: NVIDIA_VISIBLE_DEVICES
value: "all"
- name: NVIDIA_DRIVER_CAPABILITIES
value: "compute,utility,video"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment