Skip to content

Instantly share code, notes, and snippets.

View jnoller's full-sized avatar

Jesse Noller jnoller

View GitHub Profile
brew cask install virtualbox
brew cask install vagrant
go get -u github.com/kubernetes-incubator/bootkube
cd $GOPATH/src/github.com/kubernetes-incubator/bootkube
make && make install && make run-multi
kubectl --kubeconfig=./hack/multi-node/cluster/auth/kubeconfig get nodes
c-10-69-6-193-lxc.x0001.iad.ohthree.com is a debug host that is offline.
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] Executing task 'nmi_reset'
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] run: nmi
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: nmi
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: status=2
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: status_tag=COMMAND PROCESSING FAILED
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: error_tag=COMMAND SYNTAX ERROR
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: Tue May 31 22:36:54 2016
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out:
[obm.c-10-69-6-193-lxc.x0001.iad.ohthree.com] out: You must specify an NMI target.
@jnoller
jnoller / Comms.md
Last active March 18, 2016 19:49
Adapted Gitlab communications section

Internal Communication DRAFT

  • Use asynchronous communication when possible (issues and email instead of chat), issues are preferred over email, email is preferred over chat, announcements happen via email or team standup, and people should be able to do their work without getting interrupted by chat.
    • More importantly, a verbal or chat record does not spread communication widely and can vary based the person delivering the message (bias) or other tribal interpretation. A written record is always critical when it comes to questions, strategy and decisions. When decisions or information is ad-hoc is reinforces the idea that people are treated unequally, do not have a voice and are kept in the dark.
  • It is very OK to ask as many questions as you have, but ask them so many people can answer them and many people see the answer (so use issues or public chat channels instead of private messages or one-on-one emails) and make sure you try to document the answers.
  • If applicable, use github to track
#!/bin/sh
echo "Setting up UCP"
read -p "Enter Cluster Name [ENTER]": clustername
read -p "Enter UCP User Name [ENTER]": username
read -s -p "Enter UCP password and press [ENTER] ": password
echo "Deploying Carina Cluster"
carina create --wait $clustername
carina credentials $clustername
carina env $clustername
eval "$(carina env $clustername)"
#!/bin/sh
carina create --wait ucp
carina credentials ucp
eval "$(carina env ucp)"
UCP_ADMIN_USER='admin'
read -s -p "Enter your password and press [ENTER]: ": password
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock \
-e UCP_ADMIN_USER=$UCP_ADMIN_USER -e UCP_ADMIN_PASSWORD=$password \
--name ucp docker/ucp install --swarm-port 2377 --fresh-install
[ jesse@pug ] ~/Code$> time ./ucp.sh
ClusterName Flavor Segments AutoScale Status
ucp container1-4G 1 false active
#
# Credentials written to "/Users/jesse/.carina/clusters/jesse.noller@rackspace.com/ucp"
# To see how to connect to your cluster, run: carina env ucp
#
source /Users/jesse/.carina/clusters/jesse.noller@rackspace.com/ucp/docker.env
# Run the command below to get your Docker environment variables set:
# eval $(carina env ucp)
#!/bin/bash
# Assumes a pre-built carina cluster, e.g.:
#
# carina create --wait shipyard \
# && carina credentials shipyard \
# && eval `carina env shipyard`
#
`
'+# `@@@@@+
@+@ `#+'++++++;..
;+++#++;+#+++@#+++++#@:
# #++#++;@+++@'+++++++++++@@
#@`+'+++;@++++;++++++#++++++++@
++++'++'@++#+'+++@+'';++++++++++#
@ +'++'++'++++'++++;'+++++';'++++++@
+@;+;++'+;++++;+++''++++;'+++++++++++@
@+++'++;+;++++'++++++++++++++';;;'++++@
type AuthResponse struct {
Access struct {
Token struct {
ID string `json:"id"`
Expires string `json:"expires"`
Authby []string `json:"RAX-AUTH:authenticatedBy"`
Tenant struct {
ID string `json:"id"`
Name string `json:"name"`
} `json:"tenant"`
[rackcli] pug:rackcli jesse$ rackcli cf --help
Usage: rackcli cf [OPTIONS] COMMAND [ARGS]...
Cloud Files related commands.
Options:
--help Show this message and exit.
Commands:
bulkdelete-container Recursively delete a container with the bulk...