mirror of
https://github.com/containers/youki
synced 2024-11-23 01:11:58 +01:00
51ac26a0ca
Signed-off-by: utam0k <k0ma@utam0k.jp>
27 lines
435 B
YAML
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
|