Skip to content

Instantly share code, notes, and snippets.

View pupapaik's full-sized avatar

Jakub Pavlik pupapaik

View GitHub Profile
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: openebs-custom
annotations:
openebs.io/cas-type: cstor
cas.openebs.io/config: |
- name: StoragePoolClaim
value: "cstor-disk"
kubectl get disk
NAME AGE
disk-184d99015253054c48c4aa3f17d137b1 5m
disk-2f6bced7ba9b2be230ca5138fd0b07f1 5m
disk-806d3e77dd2e38f188fdaf9c46020bdc 5m
@pupapaik
pupapaik / azure native storage class
Created February 10, 2019 09:49
azure native storageclass
$ kubectl get storageclasses
NAME PROVISIONER AGE
default (default) kubernetes.io/azure-disk 8m
managed-premium kubernetes.io/azure-disk 8m
$ kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dbench-pv-claim Bound pvc-e7bd34a4-1dbd-11e9-8726-ae508476e8ad 1000Gi RWO managed-premium 10s
$ kubectl get po
@pupapaik
pupapaik / dbench-10g-glusterfs.log
Last active August 30, 2021 08:43
dbench test cases
Working dir: /data
Testing Read IOPS...
read_iops: (g=0): rw=randread, bs=4096B-4096B,4096B-4096B,4096B-4096B, ioengine=libaio, iodepth=64
fio-2.17-45-g06cb
Starting 1 process
read_iops: Laying out IO file(s) (1 file(s) / 2048MiB)
read_iops: (groupid=0, jobs=1): err= 0: pid=8: Tue Jan 29 19:00:26 2019
read: IOPS=2124, BW=8513KiB/s (8718kB/s)(125MiB/15027msec)
@pupapaik
pupapaik / istioctl authn tls-check
Created August 3, 2018 08:00
istioctl authn tls-check in Istio 1.0
istioctl authn tls-check
HOST:PORT STATUS SERVER CLIENT AUTHN POLICY DESTINATION RULE
details.default.svc.cluster.local:9080 OK HTTP HTTP - -
istio-policy.istio-system.svc.cluster.local:9091 OK HTTP HTTP - istio-policy/istio-system
jaeger-agent.istio-system.svc.cluster.local:6831 OK HTTP HTTP - -
jaeger-query.istio-system.svc.cluster.local:16686 OK HTTP HTTP - -
kad.kad.svc.cluster.local:80 OK mTLS mTLS default/kad mutual-tls/kad
kubernetes.default.svc.cluster.local:443 OK H
@pupapaik
pupapaik / istioctl proxy-status output
Created August 3, 2018 07:59
istioctl proxy-status output in version Istio 1.0
istioctl proxy-status
PROXY CDS LDS EDS RDS PILOT VERSION
details-v1-7bcdcc4fd6-9p7sr.default SYNCED SYNCED SYNCED (100%) SYNCED istio-pilot-6cc9f4f7c6-552h4 1.0.0
istio-egressgateway-6678667b46-pmfmx.istio-system SYNCED SYNCED SYNCED (100%) NOT SENT istio-pilot-6cc9f4f7c6-552h4 1.0.0
istio-ingressgateway-6dfd7fc84-w6snd.istio-system SYNCED SYNCED SYNCED (100%) SYNCED istio-pilot-6cc9f4f7c6-552h4 1.0.0
kad-5f89bf94fc-b48z2.kad SYNCED SYNCED SYNCED (100%) SYNCED istio-pilot-6cc9f4f7c6-552h4 1.0.0
productpage-v1-8584c875d8-9mlbr.default SYNCED SYNCED SYNCED (100%) SYNCED istio-pilot-6cc9f4f7c6-552h4 1.0.0
ratings-v1-54cf9dc8f8-hthzx.default SYNCED SYNCED SYNCED (100%) SYNCED istio-pilot-6cc9f
@pupapaik
pupapaik / Istio 1.0 k8s resources
Last active August 3, 2018 07:58
This shows Istio 1.0 components inside of Kubernetes cluster
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deploy/grafana 1 1 1 1 20h
deploy/istio-citadel 1 1 1 1 20h
deploy/istio-egressgateway 1 1 1 1 20h
deploy/istio-galley 1 1 1 1 20h
deploy/istio-ingressgateway 1 1 1 1 20h
deploy/istio-pilot 1 1 1 1 20h
deploy/istio-policy 1 1 1 1 20h
deploy/istio-sidecar-injector 1 1 1 1 20h
deploy/istio-statsd-prom-bridge 1 1 1 1 20h

Ultimate OpenStack IceHouse Guide

This is a Quick Guide to deploy OpenStack IceHouse on top of Ubuntu 14.04, it is IPv6-Ready!

It is compliant with OpenStack's official documentation (docs.openstack.org).

The tenant's subnets are based on Neutron, with ML2 plugin and Single Flat Network topology, dual-stacked.

The Single Flat Network is the simplest network topology supported by OpenStack (I think). So, it is easier to understand and follow.