1
0
mirror of https://github.com/containers/youki synced 2024-11-26 14:13:49 +01:00
youki/tests/k8s/deploy.yaml
utam0k 51ac26a0ca
Add the test with kind to github action
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 02:05:03 +00:00

27 lines
435 B
YAML

apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: youki
handler: youki
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
runtimeClassName: youki
containers:
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80