Kubernetes playground
- With Haproxy and Kubeadm setup kuberntes multimaster cluster by using vagrant ( vmware provider )
- Statefull sets, persistent volumes
- https://prometheus.io/docs/prometheus/latest/federation/
maven dokuman : https://maven.apache.org/guides/introduction/introduction-to-archetypes.html
docker run -d --rm --name maven --hostname maven maven sleep infinity
yada
docker run -d --rm --name maven --hostname maven maven tail -f /dev/null
docker exec -it maven bash
$ mvn archetype:generate
...
- create "vagrant" user with password "vagrant"
- add sudo to /etc/sudoers file
vagrant ALL=(ALL) NOPASSWD:ALL
- add key https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub to ~/.ssh/authorized_keys
- vmware:
vmware-vdiskmanager -d box.vmdk
vmware-vdiskmanager -k box.vmdk
rm logs files.
cat > ./metadata.json <<EOF
{
"provider": "vmware_desktop"
}
EOF
tar cvzf myboxfile.box ./*
#or
tar czvf debian.box debian.vmdk debian.vmsd debian.vmx metadata.json
vagrant box add alparslanozturk/debian debian.box
- test with
vagrant init mybox
vagrant up
- uploading....