- Create namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: gitlab
- kubectl create -f ./namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: gitlab
kubectl create -f ./namespace.yaml| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 | 
| TODO | |
| implement security measures | |
| git config | |
| config files | |
| full sublimetext config | |
| set up openvpn | |
| rdesktop and network drive to terra | |
| set up evolution | |
| RStudio | 
| PLAY [foo] ******************************************************************** | |
| GATHERING FACTS *************************************************************** | |
| ok: [localhost] | |
| TASK: [role1 | debug var=redis] *********************************************** | |
| ok: [localhost] => { | |
| "redis": { | |
| "database_save_times": [ | |
| [ | 
| http://cronus.allowed.org works for me, 2018.1.6 | 
| sudo: required | |
| language: ruby | |
| services: | |
| - docker | |
| before_install: | |
| - echo "Testing Docker Hub credentials" | |
| - docker login -e=$DOCKER_EMAIL -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD | 
| # PHP | |
| alias artisan="php artisan" | |
| alias art="php artisan" | |
| # Git | |
| alias gc="git commit" | |
| alias ga="git add" | |
| alias gr="git rm" | |
| alias gp="git push" | |
| alias gs="git status" | 
| alias nah="git reset --hard && git clean -df" | 
Setup a single node Kubernetes cluster for development using kubeadm: https://kubernetes.io/docs/setup/independent/install-kubeadm/
Create a CentOS 7 or Ubuntu Xenial (16.04) machine, and run kubeadm.sh as root.
You can pass this script as user-data to cloud-init so that it will be automatically run. For example, on openstack:
openstack server create NAME --flavor FLAVOR --key-name KEY --image 'Ubuntu Xenial' --network NET --security-group SECGROUP --user-data kubeadm.sh