This file contains hidden or 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 time import sleep | |
import sys | |
def sleepex(data): | |
# Set some defaults in case this filter is called without | |
# being in a loop | |
delay=1.25 # seconds | |
attempt=1 | |
if 'delay' in data.keys(): |
This file contains hidden or 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: foo | |
hosts: localhost | |
vars: | |
bar: | |
c: | |
b: | |
a: 1 | |
tasks: | |
- name: bite me |
This file contains hidden or 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
--- | |
- set_fact: | |
nodepool: "{{ a_nodepool }}" | |
- name: Set Expected Node Count | |
set_fact: | |
expected_node_count: "{{ nodepool.count }}" | |
- name: Collect nodes |
This file contains hidden or 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
{ | |
"apiVersion": "rbac.authorization.k8s.io/v1beta1", | |
"kind": "ClusterRole", | |
"metadata": { | |
"annotations": { | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"rbac.authorization.k8s.io/v1beta1\",\"kind\":\"ClusterRole\",\"metadata\":{\"annotations\":{},\"name\":\"flannel\",\"namespace\":\"\"},\"rules\":[{\"apiGroups\":[\"\"],\"resources\":[\"pods\"],\"verbs\":[\"get\"]},{\"apiGroups\":[\"\"],\"resources\":[\"nodes\"],\"verbs\":[\"list\",\"watch\"]},{\"apiGroups\":[\"\"],\"resources\":[\"nodes/status\"],\"verbs\":[\"patch\"]}]}\n" | |
}, | |
"creationTimestamp": "2017-08-14T21:57:24Z", | |
"name": "flannel", | |
"resourceVersion": "10897091", |
This file contains hidden or 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
# Create the clusterrole and clusterrolebinding: | |
# $ kubectl create -f kube-flannel-rbac.yml | |
# Create the pod using the same namespace used by the flannel serviceaccount: | |
# $ kubectl create --namespace kube-system -f kube-flannel.yml | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: flannel | |
rules: |
This file contains hidden or 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
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: traefik-https-cfg | |
namespace: kube-system | |
data: | |
traefik.toml: | | |
# traefik.toml | |
defaultEntryPoints = ["http","https"] | |
[entryPoints] |
This file contains hidden or 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
diff --git a/state/colonybead/clusterNodes.units.kraken-worker-ssl.part b/state/colonybead/clusterNodes.units.kraken-worker-ssl.part | |
index 88655f3..2552b67 100644 | |
--- a/state/colonybead/clusterNodes.units.kraken-worker-ssl.part | |
+++ b/state/colonybead/clusterNodes.units.kraken-worker-ssl.part | |
@@ -18,6 +18,6 @@ | |
--mount volume=input,target=/input \ | |
--mount volume=output,target=/output \ | |
--set-env=HOST_IP=${DEFAULT_IPV4} \ | |
- quay.io/samsung_cnct/drunkensmee:v0.5 \ | |
+ quay.io/samsung_cnct/drunkensmee:v0.6 \ |
This file contains hidden or 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
diff --git a/state/colonybead/cloud-config/etcd.cloud-config.yaml b/state/colonybead/cloud-config/etcd.cloud-config.yaml | |
index 6d7fe71..0c08b0a 100644 | |
--- a/state/colonybead/cloud-config/etcd.cloud-config.yaml | |
+++ b/state/colonybead/cloud-config/etcd.cloud-config.yaml | |
@@ -12,24 +12,15 @@ write_files: | |
H4sIAGPfSVgC/22Vtw6sagKDe57i9uiInEpy+IEZGHIHDGnIOTz9nrvbrls3ny1Z/vPnrwRZ1e1/3A//z9vVA96T/wFy/K/xB7J0XR5PXeB5IPKOzD8aw+UWAm8vzAaViTlvMR7qTYt5rxvtmnwNRUgtFvv2DNFGzAf6/FgvozbQgnLMPqY+cFy3tkvdJBOncXa7rbpHCNmHX5YyQUiGx4m3dDy8MaxYh6BfCO4pMExl/So9l9bpoap4uPjiFo6vdZ+tQXjUMl+mRn/ls9KFT8l8WVEfNQx2NIm5HWgoQ3X+PvPq+j/+Nmk6EvHdZvdCSwu6BuBLtc9OWIHgA+ukWe+yv1hUiPximI1Q4BZ0s8Zj97dzsj4yp7NtLq71karzMMZ0P5h2SPOw31TpM1d+BNvVeI8vVzcJEANHQPgLmro0Najr7XccoRhJtu8HrCEN9fiO6JHOirJsyDm6xDu8wI9/y1bOtfWr/KXT1sZyJsRUlZkOLFVrFGJPKlfZL2pnsxh/xtnxUvgiQEayZtgrqjRE53PFxvwhG+Xk11nFHRfiLeFA28NmIjto+WB5+shwXS52M+ezfFSdzSmpVTIPm9GVtUTV1MCYxyI6Cg++vycc0rw4wkM4UfQg+lKoMAhLbceWhyko3psM8vK0rf2yKC2yFH3X3UPO+4ILwPcOqS9xD/IqR8FZqpxxDhmNqpuz2ktMA8Z+9qb |
This file contains hidden or 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
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: traefik-ingress-controller | |
namespace: kube-system | |
--- | |
kind: PersistentVolumeClaim | |
apiVersion: v1 |
This file contains hidden or 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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
k8s-app: kubernetes-dashboard | |
name: kubernetes-dashboard | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding |