Skip to content

Instantly share code, notes, and snippets.

View sanjid133's full-sized avatar
🎯
Focusing

Sanjidul Hoque sanjid133

🎯
Focusing
View GitHub Profile
@sanjid133
sanjid133 / gist:314d2560203a615121a01de1c3246d45
Created January 9, 2019 11:13
Kube svc error 2019/01/09 10:56:55 Get https://10.96.0.1:443/api?timeout=32s: dial tcp 10.96.0.1:443: i/o timeout
systemctl stop kubelet
systemctl stop docker
iptables --flush
iptables -tnat --flush
systemctl start kubelet
systemctl start docker
@sanjid133
sanjid133 / vault.yaml
Last active December 10, 2019 13:17
How to Install Hashicorp Vault in Kubernetes
apiVersion: v1
kind: Service
metadata:
name: vault
spec:
ports:
- name: http
nodePort: 30001
port: 8200
selector:
@sanjid133
sanjid133 / mongodb.yaml
Created December 14, 2018 10:10
Install MongoDB on Kubernetes for testing purpose
apiVersion: v1
kind: PersistentVolume
metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
hostPath:
---
apiVersion: v1
kind: Namespace
metadata:
name: sonobuoy
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
@sanjid133
sanjid133 / Install etcd On Ubuntu 16.04.md
Last active March 23, 2021 09:33
Install etcd On Ubuntu 16.04/18.04
#!/bin/bash
ETCD_VERSION=${ETCD_VERSION:-v3.3.1}
curl -L https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -o etcd-$ETCD_VERSION-linux-amd64.tar.gz
tar xzvf etcd-$ETCD_VERSION-linux-amd64.tar.gz
rm etcd-$ETCD_VERSION-linux-amd64.tar.gz
cd etcd-$ETCD_VERSION-linux-amd64