This is just an example that will only work for specific network interfaces and addresses. Modify as needed.
Create data directories for etcd members:
mkdir -p e{0,1,2}
Remove data directories:
'use strict'; | |
var fs = require('fs'); | |
var yaml = require('js-yaml'); | |
var inputStr = fs.readFileSync('../../out/aws-cloud-formation-template-1.template', {encoding: 'UTF-8'}); | |
var CF_SCHEMA = yaml.Schema.create([ | |
new yaml.Type('!Ref', { kind: 'scalar', construct: function (data) { return { 'Ref': data }; } }), | |
new yaml.Type('!Equals', { kind: 'sequence', construct: function (data) { return { 'Fn::Equals': data }; } }), |
This is just an example that will only work for specific network interfaces and addresses. Modify as needed.
Create data directories for etcd members:
mkdir -p e{0,1,2}
Remove data directories:
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"strconv" |
kublr: | |
# Values in fixed section cannot be changed dynamically, they may be hardcoded in other places, although every effort | |
# will be made to reduce duplication | |
fixed: | |
# This path is defined by the actual location of the config file used and cannot be overridden | |
# in the config file. | |
# | |
# Any alternative value of this property specified in a user config file or in extensions' | |
# default config files will be ignored and overridden by this value. | |
# |