This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
elasticsearch: | |
image: elasticsearch | |
# If you need to access ES directly, just uncomment those lines. | |
#ports: | |
# - "9200:9200" | |
# - "9300:9300" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-05-13 10:57:46] production.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException in /var/www/app/bootstrap/cache/compiled.php:8984 Stack trace: #0 /var/www/app/bootstrap/cache/compiled.php(8336): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request)) #1 /var/www/app/bootstrap/cache/compiled.php(8284): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request)) #2 /var/www/app/bootstrap/cache/compiled.php(8279): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #3 /var/www/app/bootstrap/cache/compiled.php(2419): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #4 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) #5 /var/www/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #6 /var/www/app/vendor/barryvdh/laravel-cors/src/HandlePreflight.php(38): Illuminate\R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list | |
deb http://apt.kubernetes.io/ kubernetes-xenial main | |
EOF | |
apt-get update | |
apt-get install -y kubelet kubeadm kubectl kubernetes-cni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "GET http://<HOST IP ADDRESS>/" | vegeta attack -duration=180s -rate 100 | tee results.bin | vegeta report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright by Martin Jensen and Kaspar Nissen, http://kubecloud.io/files/kubecloud.pdf | |
# Adapt the target HOST parameter in line 18. | |
for i in "$@" | |
do | |
case $i in | |
-h=*|--host=*) | |
HOST="${i#*=}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preparing update | |
Set log level to debug | |
Turned on maintenance mode | |
Checking whether the database schema can be updated (this can take a long time depending on the database size) | |
[1 / 27]: Checking table oc_appconfig | |
[2 / 27]: Checking table oc_storages | |
[3 / 27]: Checking table oc_mounts | |
[4 / 27]: Checking table oc_mimetypes | |
[5 / 27]: Checking table oc_filecache | |
[6 / 27]: Checking table oc_group_user |