https://www.howtoforge.com/tutorial/passwordless-encryption-of-linux-root-partition/

http://www.ostechnix.com/reptyr-move-running-process-new-terminal/

Reverse ssh tunnel can be used on any ports:

http://otacon22.com/2010/02/01/ssh-reverse-tunneling-il-comando-supremo/

Use this script:

https://gist.github.com/ruario/9672798

I have the following machines:

  • 192.168.33.1: CentOS with private Docker registry
  • 192.168.33.10: CentOS Kubernetes master
  • 192.168.33.11: CentOS Kubernetes minion1
  • 192.168.33.12: CentOS Kubernetes minion2
  • 192.168.33.13: CentOS Kubernetes minion3

I want to push Docker images to the private registry and then use them in the Kubernetes cluster.

I must say docker to use the insecure registry. On all the Kubernetes nodes, edit the file /etc/sysconfig/docker, by adding the line:

INSECURE_REGISTRY='--insecure-registry 192.168.33.1:5000'

From my development machine (192.168.33.100) I push myimage to the private registry:

$ docker tag myimage 192.168.33.1:5000/myimage
$ docker push 192.168.33.1:5000/myimage

Then on the master I define the pod or replication controller, in a similar way:

# cat myimage-rc.yaml 
apiVersion: v1
kind: ReplicationController
metadata:
  name: my-image
spec:
  replicas: 2
  template:
    metadata:
      labels:
        app: myimage
    spec:
      containers:
      - name: myimage
        image: 192.168.33.1:5000/myimage
        ports:
        - containerPort: 80

Then I can create the pods from the master:

# kubectl create -f myimage-rc.yaml

Kubernetes will pull myimage from the private registry and create the pods.

 

I used the following tutorials:

I created 4 virtualbox CentOS 7 VMs using vagrant: 1 master, 3 minions.

Pay attention to disable SElinux on CentOS also in the docker config:

# /etc/sysconfig/docker
# leave rest of lines unchanged
OPTIONS='--selinux-enabled=false'


 

 

http://www.a-netz.de/2012/12/sending-mail-with-the-raspberry-pi/

http://rpi.tnet.com/project/faqs/smtp

Follow

Get every new post delivered to your Inbox.