Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/caoyingjunz/csi-driver-localstorage
This driver allows Kubernetes to access LocalStorage on Linux node.
选择运行 localstorage
的 kubernetes
节点
kubectl label node <node-name> storage.caoyingjunz.io/node=
安装 localstorage
组件
kubectl apply -f deploy/v1.0.2
# 验证
root@pixiu01:~# kubectl get pod -n kube-system | grep pixiu
pixiu-ls-controller-7997b8c446-8hndc 1/1 Running 0 87s
pixiu-ls-node-gfd78 4/4 Running 0 87s
pixiu-ls-node-mb4x6 4/4 Running 0 87s
创建 localstorage
资源
# 修改 examples/ls.yaml, 多个 node 节点需要多次创建
kubectl apply -f examples/ls.yaml
# 验证
kubectl get ls
NAME STATUS KUBENODE ALLOCATABLE CAPACITY AGE
ls-pixiu01 Ready pixiu01 360Gi 360Gi 16d
安装 storageclass
kubectl apply -f deploy/ls-storageclass.yaml
# 验证
kubectl get sc pixiu-localstorage
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
pixiu-localstorage localstorage.csi.caoyingjunz.io Delete WaitForFirstConsumer false 2m54s
创建 localstorage
资源
# 修改 examples/ls.yaml, 多个 node 节点需要多次创建
kubectl apply -f examples/ls.yaml
# 验证
kubectl get ls
NAME STATUS KUBENODE ALLOCATABLE CAPACITY AGE
ls-pixiu01 Ready pixiu01 360Gi 360Gi 16d
创建 pvc
验证
kubectl apply -f examples/pvc.yaml
# 验证
kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
test-pvc Bound pvc-2b2c809f-33b5-437f-a4b8-61906c10a3e1 1Mi RWX pixiu-localstorage 5s
yingjuncz
, 备注(ls), 验证通过会加入群聊Copyright 2019 caoyingjun (cao.yingjunz@gmail.com) Apache License 2.0
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.