Skip to content

Instantly share code, notes, and snippets.

Becram

Block or report user

Report or block Becram

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View create-k8s-cluster.sh
#!/bin/bash
#set -x
AWS_DEFAULT_REGION=us-east-2
NR_MASTER=1
NR_NODES=2
SERVER_TYPE=t2.small
K8S_VERSION=v1.8.15
KOPS_VERSION=1.12.2
key=devops23
@Becram
Becram / get_nodes.py
Last active Jul 3, 2019
get_runing_nodes
View get_nodes.py
#!/usr/bin/python
###################################################################
# Author Bikram Dhoju bikramdhoju.com.np
# Directions:
# Populate target_mac list with your list nodes
# change target_subnet to your subnet
# result is stored in output.json
####################################################################
@Becram
Becram / .docker_aliases
Created Dec 18, 2018 — forked from cjus/.docker_aliases
Docker aliases
View .docker_aliases
#!/bin/sh
alias dm='docker-machine'
alias dmx='docker-machine ssh'
alias dk='docker'
alias dki='docker images'
alias dks='docker service'
alias dkrm='docker rm'
alias dkl='docker logs'
alias dklf='docker logs -f'
You can’t perform that action at this time.