@ -7,11 +7,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: rust-opencl-demo
app.kubernetes.io/name: rust-opencl-demo
template:
metadata:
labels:
spec:
containers:
- name: rust-opencl-demo
@ -37,3 +37,18 @@ spec:
- key: nvidia.com/gpu
effect: NoSchedule
operator: Exists
---
kind: Service
apiVersion: v1
name: rust-opencl-demo
ports:
- name: http
port: 80
targetPort: 8080
protocol: TCP