| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| name: client-socket-ingress | |
| app: {{ template "fullname" . }} | |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | |
| release: "{{ .Release.Name }}" | |
| heritage: "{{ .Release.Service }}" | |
| name: client-socket-ingress |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "github.com/chzyer/readline" | |
| "k8s.io/client-go/kubernetes" | |
| "k8s.io/client-go/pkg/api/v1" | |
| "k8s.io/client-go/tools/clientcmd" |
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
First be sure to enable the Docker Remote API on the remote host.
This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
When I googled how to create my own offline repository of packages for use in an offline Ubuntu/Debian machine, the results were disheartening and the steps to be taken scattered all over the place.
The files within this gist will allow you to:
- Download specific apt-get packages... with dependencies included!
- Create a
Packages.gzfile so that you can add the repository folder you create to the target machine's/etc/apt/sources.listfile.
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9