Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1453
(An Untitled Masterwork)
Active
Public
Actions
Authored by
vsellier
on Sep 14 2022, 4:55 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
```
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: swh-temp
name: test-local-storage
spec:
revisionHistoryLimit: 2
selector:
matchLabels:
app: swh-test
template:
metadata:
labels:
app: swh-test
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "kubernetes.io/hostname"
operator: In
values:
- "rancher-node-staging-worker2"
containers:
- name: test-local-storage
image: debian:bullseye
command:
- /bin/sleep
args:
- "3600"
imagePullPolicy: Always
volumeMounts:
- name: local
mountPath: /tmp
volumes:
- name: local
emptyDir: {}
```
Event Timeline
vsellier
created this paste.
Sep 14 2022, 4:55 PM
2022-09-14 16:55:40 (UTC+2)
vsellier
mentioned this in
T4506: Use local hypervisor storage in the loader pods
.
Log In to Comment