Skip to content

Instantly share code, notes, and snippets.

View sola-scriptura-zz's full-sized avatar

YJ Jeong sola-scriptura-zz

  • Amazon Web Services
  • Seoul, Korea
View GitHub Profile
- apiVersion: apps/v1
kind: Deployment
metadata:
name: yjeong-nginx-deployment
namespace: students-dev
spec:
replicas: 2
selector:
matchLabels:
app: nginx
@sola-scriptura-zz
sola-scriptura-zz / gfid-resolver.sh
Created November 29, 2015 18:52 — forked from louiszuckerman/gfid-resolver.sh
Glusterfs GFID Resolver Turns a GFID into a real path in the brick
#!/bin/bash
if [[ "$#" < "2" || "$#" > "3" ]]; then
cat <<END
Glusterfs GFID resolver -- turns a GFID into a real file path
Usage: $0 <brick-path> <gfid> [-q]
<brick-path> : the path to your glusterfs brick (required)