Note: Target the right organization.
cf create-space tyk-deployment
cf target -o 'matias-org' -s 'tyk-deployment'
#!/bin/bash -e | |
# Usage ./k8s-service-account-kubeconfig.sh ( namespace ) ( service account name ) | |
TEMPDIR=$( mktemp -d ) | |
trap "{ rm -rf $TEMPDIR ; exit 255; }" EXIT | |
SA_SECRET=$( kubectl get sa -n $1 $2 -o jsonpath='{.secrets[0].name}' ) |
Audience: anyone in the BOSH ecosystem, whether you work on something open-source or proprietary
"BOSH Links" is a feature which simplifies how data is shared between BOSH-deployed jobs that need to collaborate with one another (e.g. a web server and its backing database). Like many BOSH things, the whole "BOSH Links" thing can seem counter-intuitive at first, and it may not be clear why things are the way they are. This note hopes to show some of the powerful benefits of BOSH Links, and provide examples and explanations that make things more intuitive.
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
Quick gist on getting vsphere and vcenter and fog/vsphere going | |
# Things to download | |
- Download free evaluation version of window 2008 | |
- Download free evaluation of esxi v5 | |
- Download free evaluation of esxi vsphere (control center) iso | |
# Install esxi in vmware fusion | |
1)Install esxi in vmware (select vmware/esx as host) | |
create a user root/pipopopo |
<% | |
director_uuid = 'CHANGEME' | |
static_ip = 'CHANGEME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '170' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
#!/bin/bash | |
# | |
# pgpool-II replication manager | |
# | |
# Interfaces with pgpool's pcp command-line tools to provide access to common functions for managing | |
# load-balancing and failover. | |
# | |
# dsimmons@squiz.co.uk | |
# 2011-08-28 |
<% deployment_name = 'docker' %> | |
<% os = 'ubuntu' %> | |
<% tld = 'microbosh' %> | |
<% director_uuid = 'GET_FROM_BOSH_STATUS' %> | |
--- | |
name: <%= deployment_name %> | |
director_uuid: <%= director_uuid %> | |
releases: | |
- name: docker |
<% | |
director_uuid = 'CHANGEME' | |
static_ip = 'CHANGEME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '170' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
--- | |
<% | |
director_uuid = "81fa055f-8a94-4d34-9e67-59edbc25874b" | |
protocol = "http" | |
cf_release = "153" | |
ip_address = "10.112.219.59" | |
common_password = "c1oudc0w" | |
#root_domain = "10.112.218.60.xip.io" | |
root_domain = "10.112.219.59.xip.io" | |
deployment_name = "cf-demo" |