Include docker-deploy.yml:
[...]
- name: "Deploying {{ service_name }} "
hosts: "{{ service_name }}"
serial: 1
max_fail_percentage: 50
tasks:
(! 525) ((1.0.0-beta1))# mvn dependency:tree | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building DataStax Java Driver for Apache Cassandra - Core 1.0.0-beta1 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ cassandra-driver-core --- | |
[INFO] com.datastax.cassandra:cassandra-driver-core:jar:1.0.0-beta1 | |
[INFO] +- io.netty:netty:jar:3.6.2.Final:compile |
#!/bin/bash | |
# ssh-multi | |
# D.Kovalov | |
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html | |
# a script to ssh multiple servers over multiple tmux panes | |
starttmux() { | |
if [ -z "$HOSTS" ]; then |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
DOMAIN=$(curl -s http://169.254.169.254/latest/meta-data/hostname | perl -n -e'/[A-Za-z0-9-]+\.(.*)/ && print $1') | |
IP=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4) | |
MAC=$(curl -s http://169.254.169.254/latest/meta-data/mac) | |
CIDR=$(curl -s http://169.254.169.254/latest/meta-data/network/interfaces/macs/$MAC/vpc-ipv4-cidr-block) | |
RECURSOR=$( echo $CIDR | awk -F"." '{print $1 "." $2 "." $3 ".2"}') |
# kubectl get ns -o wide | |
NAME STATUS AGE | |
cust1-first Terminating 6h | |
cust1-second Terminating 6h | |
default Active 6d | |
dev Terminating 6h | |
kube-system Active 6d | |
prod Terminating 6h | |
qa Terminating 6h | |
spinnaker Active 6d |
Sun Mar 19 18:51:17 UTC 2017 |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: testconfig | |
data: | |
file1: | | |
some stuff | |
file2: | | |
some other stuff in subdir | |
--- |
syntax = "proto3"; | |
package grpcbin; | |
service GRPCBin { | |
// This endpoint | |
rpc Index (EmptyMessage) returns (IndexReply) { | |
} | |
// Unary endpoint that takes no argument and replies an empty message. | |
rpc Empty (EmptyMessage) returns (EmptyMessage) { |