Go to any directory and clone repo with sources.
cd ~
git clone https://github.com/certbot/certbot
#!/usr/bin/env bash | |
# Documentation | |
# https://docs.gitlab.com/ce/api/projects.html#list-projects | |
NAMESPACE="YOUR_NAMESPACE" | |
BASE_PATH="https://gitlab.example.com/" | |
PROJECT_SEARCH_PARAM="" | |
PROJECT_SELECTION="select(.namespace.name == \"$NAMESPACE\")" | |
PROJECT_PROJECTION="{ "path": .path, "git": .ssh_url_to_repo }" |
Unless specified otherwise in Vagrantfile
, the IP address of the host (the computer running Vagrant) from the perspective of the guest
(the VM being run by Vagrant) is: 10.0.2.2
If that IP address doesn't work, then examination of Vagrantfile
should reveal directives that changed it from its default value.
If an IP address can't be found in Vagrantfile
, then the following command will probably reveal it:
route -A inet
docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
Wednesday 26/07/2017
tl;dr - Kubernetes is a container orchestration engine.
tl;dr - Microservices are software components that are independently deployable and scalable.
Kubeadm Documentation : https://kubernetes.io/docs/getting-started-guides/kubeadm/
Wednesday 26/07/2017
tl;dr - An Ingress is a collection of rules that allow inbound connections to reach the cluster services.
tl;dr - The ingress-controller is just a reverse proxy that forwards incoming requests based on the URL and host header (if used).
The Go extension for Visual Studio Code various Go tools, installed in the user's GOPATH. Some of them are responsible for general language features like code navigation, auto-completions, symbol search etc. Others, while helpful are optional for the Go extension to provide day-to-day language support. | |
Tools essential for the general features of this extension: | |
- [gocode](https://github.com/nsf/gocode) for auto-completion | |
- [go-outline](https://github.com/ramya-rao-a/go-outline) for symbol search in the current file | |
- [go-symbols](https://github.com/acroca/go-symbols) for symbol search in the current workspace | |
- [gopkgs](https://github.com/uudashr/gopkgs/cmd/gopkgs) for auto-completion of unimported packages | |
- [guru](https://golang.org/x/tools/cmd/guru) for the `Find all References` feature | |
- [gorename](https://golang.org/x/tools/cmd/gorename) for renaming symbols |
vault mount pki | |
vault mount -path=pki1 pki | |
vault mount -path=pki2 pki | |
vault mount -path=pki3 pki | |
vault mount-tune -max-lease-ttl=87600h pki | |
vault mount-tune -max-lease-ttl=87600h pki1 | |
vault mount-tune -max-lease-ttl=87600h pki2 | |
vault mount-tune -max-lease-ttl=87600h pki3 | |
vault write pki/root/generate/internal common_name="Vault Testing Root Authority" ttl=87600h |
#!/bin/bash -e | |
# Setup a Root CA in vault | |
# Generate and sign an Intermediate cert | |
# | |
# Requires: | |
# * A running vault server already initialzed and unsealed | |
# * Environment variable VAULT_TOKEN is set | |
# * vault cli (https://www.vaultproject.io) | |
# * httpie (https://github.com/jkbrzt/httpie) |
04c0538a0bd59472eaca6e4a4ab510be92978b89b6912a355392d0474bba48350b57dbec9ea5e8d5613bae78cbf337a2bc79a5fe7998953131610c8fbbfa27fe4c;andrewallaway |