Skip to content

Instantly share code, notes, and snippets.

View tamalsaha's full-sized avatar
🎢
Building. Learning. Improving.

Tamal Saha tamalsaha

🎢
Building. Learning. Improving.
View GitHub Profile
@tamalsaha
tamalsaha / console.sh
Last active March 8, 2018 02:37
Voyager test
$ kubectl get pods,svc
NAME READY STATUS RESTARTS AGE
po/nginx-8586cf59-s8ml8 1/1 Running 0 1m
po/voyager-test-ingress-7c9f7b66cb-vwltz 1/1 Running 0 1m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 4m
svc/meteor ClusterIP 10.102.63.216 <none> 80/TCP 1m
svc/voyager-test-ingress NodePort 10.103.43.13 <none> 80:30818/TCP 1m
@tamalsaha
tamalsaha / webhook.md
Last active March 12, 2018 18:13
Minikube Webhook
@tamalsaha
tamalsaha / after.sh
Last active March 12, 2018 18:33
Voyager test - Raju
$ kubectl get pods,svc
NAME READY STATUS RESTARTS AGE
po/nginx-8586cf59-8kvdb 1/1 Running 0 15m
po/voyager-qa-itinerary-service-64b6cc5cb6-mtpzx 1/1 Running 0 4m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 1h
svc/qa-itinerary-service ClusterIP 10.110.63.143 <none> 80/TCP 15m
svc/voyager-qa-itinerary-service LoadBalancer 10.97.246.158 <pending> 80:30815/TCP 12m
language: go
go:
- 1.x
- tip
install:
- go get -v github.com/Masterminds/glide
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.13.1 && go install && cd -
- glide install -v
#!/bin/bash
# Get a new Ubuntu 16.04 server on packet.net
curl -fsSL --retry 5 -o /etc/apt/sources.list https://raw.githubusercontent.com/pharmer/addons/master/ubuntu/16.04/sources.list
apt-get update
apt-get upgrade
# pip
apt-get install python-pip
pip install --upgrade pip
#!/bin/bash
# SPDX-License-Identifier: MIT
## Copyright (C) 2009 Przemyslaw Pawelczyk <[email protected]>
##
## This script is licensed under the terms of the MIT license.
## https://opensource.org/licenses/MIT
#
# Lockable script boilerplate