Skip to content

Instantly share code, notes, and snippets.

@pmundt
Created May 21, 2020 22:06
Show Gist options
  • Save pmundt/4abe24bd43d642087de94828c3868330 to your computer and use it in GitHub Desktop.
Save pmundt/4abe24bd43d642087de94828c3868330 to your computer and use it in GitHub Desktop.
HTTP Echo Service for an RPi 4 B + Intel NCS2 attached via USB
apiVersion: v1
kind: Pod
metadata:
name: http-echo-rpi4b-ncs2-pod
labels:
app: http-echo
spec:
containers:
- name: http-echo
image: adaptant/http-echo
imagePullPolicy: IfNotPresent
args: [ "-text", "hello from a Raspbery Pi 4B with a USB-attached NCS2 Accelerator" ]
ports:
- containerPort: 5678
nodeSelector:
beta.devicetree.org/raspberrypi-4-model-b: "1"
feature.node.kubernetes.io/usb-ff_03e7_2485.present: "true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment