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
kubernetes-vm-jay-1 | success >> { | |
"ansible_facts": { | |
"ansible_all_ipv4_addresses": [ | |
"172.18.147.19" | |
], | |
"ansible_all_ipv6_addresses": [ | |
"fe80::f816:3eff:fe2b:5baa" | |
], | |
"ansible_architecture": "x86_64", | |
"ansible_bios_date": "01/01/2007", |
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
Pods: 30 out of 30 created, 0 running, 30 pending, 0 waiting, 0 inactive, 0 unknown | |
INFO: 2015-07-14 16:56:07.679790472 -0400 EDT density30-b3c38835-2a6a-11e5-91f7-3c970e4b8bbd Pods: 30 out of 30 created, 0 running, 30 pending, 0 waiting, 0 inactive, 0 unknown | |
INFO: 2015-07-14 16:56:17.680058695 -0400 EDT density30-b3c38835-2a6a-11e5-91f7-3c970e4b8bbd Pods: 30 out of 30 created, 0 running, 30 pending, 0 waiting, 0 inactive, 0 unknown | |
INFO: 2015-07-14 16:56:27.680314095 -0400 EDT density30-b3c38835-2a6a-11e5-91f7-3c970e4b8bbd Pods: 30 out of 30 created, 0 running, 30 pending, 0 waiting, 0 inactive, 0 unknown | |
KILL KCM, | |
INFO: 2015-07-14 16:56:37.680653983 -0400 EDT density30-b3c38835-2a6a-11e5-91f7-3c970e4b8bbd Pods: 30 out of 30 created, 5 running, 25 pending, 0 waiting, 0 inactive, 0 unknown | |
INFO: 2015-07-14 16:56:47.680985771 -0400 EDT density30-b3c38835-2a6a-11e5-91f7-3c970e4b8bbd Pods: 30 out of 30 created, 5 running, 25 pending, 0 waiting, 0 inactive, 0 unknown |
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
__author__ = 'jayvyas' | |
import random | |
import math | |
def roulette_wheel(model): | |
wheel = [None] * len(model) | |
cumProb = 0.0 | |
for i in range(len(model)): | |
(item, prob) = model[i] | |
print(i,item,prob) |
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
__author__ = 'jayvyas' | |
import random | |
import math | |
#558986-AFCN6-EJ927-WAEZ1-D95LF-BTAY4 | |
def roulette_probability_boundaries(model): | |
""" | |
Wheel returns a list of (item, probability) tuples with additive probability boundaries. | |
Input: [("fish food", .1), ("dog food", .1), ("cat food", .8)] |
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
Some intermediate notes.... | |
`sudo cluster/kubectl.sh replace --filename` isn't happy.. | |
It gives `spec.clusterIP: invalid value '10.0.0.6', Details: field is immutable` | |
but this create snippet seems to sort of work. playing more. | |
``` | |
{ | |
"kind": "Service", |
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
#!/bin/bash | |
# Copyright 2014 The Kubernetes Authors All rights reserved. | |
# | |
# 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 | |
# |
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
this has moved to a branch .. . |
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/ansible/roles/common/tasks/fedora-install.yml b/ansible/roles/common/tasks/fedora-install.yml | |
index 48454fa..91cb424 100644 | |
--- a/ansible/roles/common/tasks/fedora-install.yml | |
+++ b/ansible/roles/common/tasks/fedora-install.yml | |
@@ -5,3 +5,15 @@ | |
name: python-firewall | |
state: latest | |
when: ansible_distribution_major_version|int >= 22 | |
+ | |
+- name: Generic | Install Python |
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
Nov 29 14:43:14.543: INFO: >>> testContext.KubeConfig: /Users/jayunit100/.kube/config | |
Nov 29 14:43:14.546: INFO: >>> testContext.KubeConfig: /Users/jayunit100/.kube/config | |
Nov 29 14:43:14.548: INFO: Waiting up to 10m0s for all pods (need at least 1) in namespace 'kube-system' to be running and ready | |
Nov 29 14:43:14.831: INFO: 17 / 17 pods in namespace 'kube-system' are running and ready (0 seconds elapsed) | |
Nov 29 14:43:14.831: INFO: expected 5 pod replicas in namespace 'kube-system', 5 are Running and Ready. | |
Running Suite: Kubernetes e2e suite | |
=================================== | |
Random Seed: [1m1448826194[0m - Will randomize all specs |
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
commit 7773c6d6b400a9059cab111b7eb3228e78a4abe2 | |
Author: Mike Danese <[email protected]> | |
Date: Sun Nov 29 19:33:53 2015 -0800 | |
move vagrant to masterless salt | |
diff --git a/cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest b/cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest | |
index 1202be4..1191e07 100644 | |
--- a/cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest | |
+++ b/cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest |