Skip to content

Commit

Permalink
install blobfuse proxy as a dameonset
Browse files Browse the repository at this point in the history
  • Loading branch information
boddumanohar committed Mar 16, 2021
1 parent 05fc802 commit 287ff72
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions deploy/blobfuse-proxy/sysctl-install-blobfuse-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
component: sysctl-install-blobfuse-proxy
name: sysctl-install-blobfuseproxy
namespace: kube-system
spec:
selector:
matchLabels:
component: sysctl-install-blobfuse-proxy
tier: node
template:
metadata:
labels:
component: sysctl-install-blobfuse-proxy
tier: node
spec:
containers:
- command:
- nsenter
- --target
- "1"
- --mount
- --uts
- --ipc
- --net
- --pid
- --
- sh
- -c
- |
apt update
# download blobfuse-proxy .deb package
apt-get install blobfuse-proxy=1.3.6 -y
systemctl enable blobfuse-proxy
systemctl start blobfuse-proxy
image: alpine
imagePullPolicy: IfNotPresent
name: sysctl-install-blobfuse-proxy
resources:
requests:
cpu: 10m
securityContext:
privileged: true
dnsPolicy: ClusterFirst
hostPID: true
tolerations:
- effect: NoSchedule
operator: Exists
restartPolicy: Always
updateStrategy:
type: OnDelete

0 comments on commit 287ff72

Please sign in to comment.