Skip to content

Instantly share code, notes, and snippets.

@gochist
Last active February 17, 2017 05:26
Show Gist options
  • Save gochist/346ab86bf7a3bad1b3b5a5f0ad985a68 to your computer and use it in GitHub Desktop.
Save gochist/346ab86bf7a3bad1b3b5a5f0ad985a68 to your computer and use it in GitHub Desktop.
my kraken config file which occurs error
---
deployment:
cluster: kraken-june
serviceCidr: 10.32.0.0/12
serviceDNS: 10.32.0.2
clusterDomain: cluster.local
coreos:
-
name: allNodes
version: current
channel: stable
rebootStrategy: off
keypair:
-
name: kraken-june
publickeyFile: "$HOME/.ssh/id_rsa.pub"
privatekeyFile: "$HOME/.ssh/id_rsa"
kubeConfig:
-
name: krakenKubeConfig
version: v1.5.2
hyperkubeLocation: gcr.io/google_containers/hyperkube
containerConfig: dockerconfig
containerConfig:
-
name: dockerconfig
version: 1.12.0
runtime: docker
fabric:
provider: flannel
options:
containers:
kubePolicyController:
version: v0.5.1
location: calico/kube-policy-controller
etcd:
version: v3.0.9
location: quay.io/coreos/etcd
calicoCni:
version: v1.4.2
location: calico/cni
calicoNode:
version: v1.0.0-rc1
location: quay.io/calico/node
flannel:
version: v0.6.1
location: quay.io/coreos/flannel
network:
network: 10.128.0.0/10
subnetLen: 22
subnetMin: 10.128.0.0
subnetMax: 10.191.255.255
backend:
type: vxlan
provider: aws
providerConfig:
type: cloudinit
resourcePrefix:
vpc: 10.0.0.0/16
region: us-east-1
configFile: "$HOME/.aws/config"
subnet:
-
name: useast1a
az: us-east-1a
cidr: 10.0.0.0/18
-
name: useast1b
az: us-east-1b
cidr: 10.0.64.0/18
-
name: useast1c
az: us-east-1c
cidr: 10.0.128.0/17
egressAcl:
-
protocol: "-1"
rule_no: 100
action: "allow"
cidr_block: "0.0.0.0/0"
from_port: 0
to_port: 0
ingressAcl:
-
protocol: "-1"
rule_no: 100
action: "allow"
cidr_block: "0.0.0.0/0"
from_port: 0
to_port: 0
authentication:
accessKey:
accessSecret:
credentialsFile: "$HOME/.aws/credentials"
credentialsProfile:
ingressSecurity:
-
from_port: 22
to_port: 22
protocol: "TCP"
cidr_blocks: ["0.0.0.0/0"]
-
from_port: 443
to_port: 443
protocol: "TCP"
cidr_blocks: ["0.0.0.0/0"]
egressSecurity:
-
from_port: 0
to_port: 0
protocol: "-1"
cidr_blocks: ["0.0.0.0/0"]
nodepool:
-
name: etcd
count: 5
mounts:
-
device: sdf
path: /var/lib/docker
forceFormat: true
-
device: sdg
path: /ephemeral
forceFormat: false
providerConfig:
type: t2.small
subnet: ["useast1a", "useast1b", "useast1c"]
tags:
-
key: comments
value: "Cluster etcd"
storage:
-
type: ebs_block_device
opts:
device_name: sdf
volume_type: gp2
volume_size: 100
delete_on_termination: true
snapshot_id:
encrypted: false
-
type: ebs_block_device
opts:
device_name: sdg
volume_type: gp2
volume_size: 10
delete_on_termination: true
snapshot_id:
encrypted: false
keypair: krakenKey
coreos: allNodes
-
name: etcdEvents
count: 5
mounts:
-
device: sdf
path: /var/lib/docker
forceFormat: true
-
device: sdg
path: /ephemeral
forceFormat: false
providerConfig:
type: t2.small
subnet: ["useast1a", "useast1b", "useast1c"]
tags:
-
key: comments
value: "Cluster events etcd"
storage:
-
type: ebs_block_device
opts:
device_name: sdf
volume_type: gp2
volume_size: 100
delete_on_termination: true
snapshot_id:
encrypted: false
-
type: ebs_block_device
opts:
device_name: sdg
volume_type: gp2
volume_size: 10
delete_on_termination: true
snapshot_id:
encrypted: false
keypair: krakenKey
coreos: allNodes
-
name: masterNodes
count: 3
mounts:
-
device: sdf
path: /var/lib/docker
forceFormat: true
providerConfig:
type: m3.medium
subnet: ["useast1a", "useast1b", "useast1c"]
tags:
-
key: comments
value: "Master instances"
storage:
-
type: ebs_block_device
opts:
device_name: sdf
volume_type: gp2
volume_size: 100
delete_on_termination: true
snapshot_id:
encrypted: false
keypair: krakenKey
kubeConfig: krakenKubeConfig
coreos: allNodes
-
name: clusterNodes
count: 3
keypair: krakenKey
mounts:
-
device: sdf
path: /var/lib/docker
forceFormat: true
providerConfig:
type: c4.large
subnet: ["useast1a", "useast1b", "useast1c"]
tags:
-
key: comments
value: "Cluster plain nodes"
storage:
-
type: ebs_block_device
opts:
device_name: sdf
volume_type: gp2
volume_size: 100
delete_on_termination: true
snapshot_id:
encrypted: false
kubeConfig: krakenKubeConfig
coreos: allNodes
-
name: specialNodes
count: 2
mounts:
-
device: sdf
path: /var/lib/docker
forceFormat: true
keypair: krakenKey
providerConfig:
type: m3.medium
subnet: ["useast1a", "useast1b", "useast1c"]
tags:
-
key: comments
value: "Cluster special nodes"
storage:
-
type: ebs_block_device
opts:
device_name: sdf
volume_type: gp2
volume_size: 100
delete_on_termination: true
snapshot_id:
encrypted: false
kubeConfig: krakenKubeConfig
coreos: allNodes
etcd:
-
name: etcd
clientPorts: [2379, 4001]
clusterToken: espouse-monger-rarely
nodepool: etcd
peerPorts: [2380]
ssl: true
version: v3.0.3
containerConfig: dockerconfig
-
name: etcdEvents
clientPorts: [2381]
clusterToken: animism-training-chastity
nodepool: etcdEvents
peerPorts: [2382]
ssl: true
version: v3.0.3
containerConfig: dockerconfig
master:
nodepool: masterNodes
loadbalancer: cloud
infra:
etcd: etcd
events:
etcd: etcdEvents
node:
-
name: clusterNodes
nodepool: clusterNodes
-
name: specialNodes
nodepool: specialNodes
clusterServices:
repos:
-
name: atlas
url: http://atlas.cnct.io
services:
-
name: kubedns
repo: atlas
chart: kubedns
version: 0.1.0
namespace: kube-system
values:
cluster_ip: 10.32.0.2
dns_domain: cluster.local
-
name: heapster
repo: atlas
chart: heapster
version: 0.1.0
namespace: kube-system
readiness:
type: exact
value: 0
wait: 600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment