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 2017 Mirantis | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
FROM python:3.4 | |
WORKDIR /usr/src/app | |
COPY . /usr/src/app | |
RUN pip install /usr/src/app | |
# docker build --tag local/kubernetes . | |
# docker run -v $HOME/.kube:/root/.kube -v $PWD:$PWD -w $PWD -ti local/kubernetes python |
# using scaleway-cli to create a new host
scw create \
--name kube-1 \
--commercial-type VC1M \
--volume 50G \
--env "kubeadm master" \
worked for me yesterday (tm)
Also see:
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
### Keybase proof | |
I hereby claim: | |
* I am webwurst on github. | |
* I am webwurst (https://keybase.io/webwurst) on keybase. | |
* I have a public key whose fingerprint is 67A2 1210 37C2 778A 93E3 1509 EE05 0DCC 3E7E EC71 | |
To claim this, I am signing this object: |
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
{ | |
"name": "magebox", | |
"components": { | |
"app": { | |
"pod": "children", | |
"expose": [ | |
{ | |
"component": "app/nginx", | |
"target_port": "80", | |
"port": "80" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Leaflet Map Panes Example</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.css" /> | |
</head> |
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
{ | |
"template" : "ul-*", | |
"order" : 90, | |
"settings" : { | |
"index" : { | |
"refresh_interval" : "-1", | |
"number_of_replicas" : "0" | |
} | |
} | |
} |
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
# | |
# Ce fichier de configuration Logstash permet d'effectuer la copie d'index soit: | |
# - à l'intérieur d'un même cluster Elasticsearch | |
# - entre différents clusters Elasticsearch | |
# | |
# Utile dans le cas où nous voulons réindexer un index à l'aide de nouveaux mappings ou pour | |
# dupliquer la production vers un autre environnement de tests. | |
# | |
# Pour invoquer la commande: | |
# LS_HEAP_SIZE="2048m" /path/to/bin/logstash -w 2 -f copie-elasticsearch.conf |
NewerOlder