Skip to content

Instantly share code, notes, and snippets.

@adityadani
adityadani / kdmp.yaml
Last active June 28, 2023 00:01
KDMP Deployment Spec
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kdmp-operator
namespace: kube-system
---
apiVersion: apps/v1
kind: Deployment
metadata:

Portworx Version

Portworx Version to use: adityadani/px-enterprise:iouring

Kernel 5.x is required. For this early access version, a fresh install or reboot of the nodes may also be required.

Install multiple PX on the same node

This does not support kubernetes. It can be run in a kubernetes cluster but provision and attach volumes manually.

@adityadani
adityadani / px-solidfire.yaml
Created June 2, 2020 00:26
Portworx Spec with Solidfire Integration
# SOURCE: https://install.portworx.com/?mc=false&kbver=1.14.1&b=true&f=true&md=%2Fdev%2Fsdb&m=ens160&d=ens224&c=px-cluster-hci-74e787ad-41da-465b-a94d-c568c8d82438&stork=true&lh=true&mon=true&st=k8s
---
kind: Service
apiVersion: v1
metadata:
name: portworx-service
namespace: kube-system
labels:
name: portworx
spec:
@adityadani
adityadani / stork.log
Created March 17, 2018 22:11
Stork Panic Logs
time="2018-03-17T22:00:22Z" level=info msg="Registering volume driver: pxd"
time="2018-03-17T22:00:22Z" level=info msg="Using 10.101.113.78 as endpoint for portworx volume driver"
I0317 22:00:22.142367 1 leaderelection.go:174] attempting to acquire leader lease...
I0317 22:00:38.986896 1 leaderelection.go:184] successfully acquired lease kube-system/stork
I0317 22:00:38.992448 1 event.go:218] Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"kube-system", Name:"stork", UID:"c1e8ea05-2a17-11e8-adcf-080027b13999", APIVersion:"v1", ResourceVersion:"33522", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' stork-6f898d5599-64lb9 became leader
time="2018-03-17T22:00:38Z" level=info msg="Getting nodes"
time="2018-03-17T22:00:39Z" level=debug msg="Pod doesn't have any volumes by driver, skipping" PodName=etcd-master0
time="2018-03-17T22:00:39Z" level=debug msg="Pod doesn't have any volumes by driver, skipping" PodName=kube-apiserver-master0
time="2018-03-17T22:00:39Z" level=debug msg="Pod
@adityadani
adityadani / etcd-169.log
Created January 6, 2018 02:19
etcd server logs from node 169
2018-01-05 10:04:06.978218 I | etcdserver/membership: added member 5f7cde07f68da008 [http://70.0.96.171:2380] to cluster 7d822a0b36701781
2018-01-05 10:04:06.978282 I | rafthttp: starting peer 5f7cde07f68da008...
2018-01-05 10:04:06.978306 I | rafthttp: started HTTP pipelining with peer 5f7cde07f68da008
2018-01-05 10:04:06.980663 I | rafthttp: started peer 5f7cde07f68da008
2018-01-05 10:04:06.980735 I | rafthttp: added peer 5f7cde07f68da008
2018-01-05 10:04:06.981800 I | rafthttp: started streaming with peer 5f7cde07f68da008 (writer)
2018-01-05 10:04:06.986193 I | rafthttp: started streaming with peer 5f7cde07f68da008 (writer)
2018-01-05 10:04:06.986263 I | rafthttp: started streaming with peer 5f7cde07f68da008 (stream Message reader)
2018-01-05 10:04:06.986343 I | rafthttp: started streaming with peer 5f7cde07f68da008 (stream MsgApp v2 reader)
2018-01-05 10:04:07.292003 I | rafthttp: peer 5f7cde07f68da008 became active
@adityadani
adityadani / etcd-170.log
Created January 6, 2018 02:11
etcd server logs from node 170
2018-01-05 10:04:06.987541 I | etcdserver/membership: added member 5f7cde07f68da008 [http://70.0.96.171:2380] to cluster 7d822a0b36701781
2018-01-05 10:04:06.987582 I | rafthttp: starting peer 5f7cde07f68da008...
2018-01-05 10:04:06.987622 I | rafthttp: started HTTP pipelining with peer 5f7cde07f68da008
2018-01-05 10:04:06.988573 I | rafthttp: started streaming with peer 5f7cde07f68da008 (writer)
2018-01-05 10:04:06.989027 I | rafthttp: started streaming with peer 5f7cde07f68da008 (writer)
2018-01-05 10:04:06.989184 I | rafthttp: started peer 5f7cde07f68da008
2018-01-05 10:04:06.989210 I | rafthttp: added peer 5f7cde07f68da008
2018-01-05 10:04:06.989285 I | rafthttp: started streaming with peer 5f7cde07f68da008 (stream MsgApp v2 reader)
2018-01-05 10:04:06.989634 I | rafthttp: started streaming with peer 5f7cde07f68da008 (stream Message reader)
2018-01-05 10:04:07.299909 I | rafthttp: peer 5f7cde07f68da008 became active
@adityadani
adityadani / etcd-171.log
Last active January 6, 2018 02:17
etcd server logs from node 171
2018-01-05 10:04:07.123171 I | embed: listening for peers on http://70.0.96.171:2380
2018-01-05 10:04:07.123235 I | embed: listening for client requests on 70.0.96.171:2379
2018-01-05 10:04:07.123305 I | embed: listening for client requests on 127.0.0.1:2379
2018-01-05 10:04:07.149973 I | etcdserver: name = 37f9f79d-b40d-4e77-8e6c-0dc3c045c169
2018-01-05 10:04:07.150003 I | etcdserver: data dir = /var/.px/0/.metadata
2018-01-05 10:04:07.150013 I | etcdserver: member dir = /var/.px/0/.metadata/member
2018-01-05 10:04:07.150020 I | etcdserver: heartbeat = 100ms
2018-01-05 10:04:07.150026 I | etcdserver: election = 1000ms
2018-01-05 10:04:07.150033 I | etcdserver: snapshot count = 100000
2018-01-05 10:04:07.150052 I | etcdserver: advertise client URLs = http://70.0.96.171:2379