Skip to content

Instantly share code, notes, and snippets.

Cluster of N nodes
Runs 3 or more deis installs with different namesapces
So already componenets are running with same RC but in different namepsaces
Now A queue of test exists
1. Round robin these queue of tests to the exisiting deis install of differents namespaces
2. Each test builds a respective image and update the Image in the RC of the assigned namesapce
package main
import(
"fmt"
"bytes"
"encoding/json"
bjson "github.com/bitly/go-simplejson"
elastic "gopkg.in/olivere/elastic.v3"
)
package tests
import (
"fmt"
"math/rand"
"os"
"regexp"
"sort"
"strconv"
"sync"
@smothiki
smothiki / observations.md
Last active March 22, 2016 20:25
service endpoints api
smothiki$ kubectl get endpoints --all-namespaces -w
NAMESPACE         NAME                    ENDPOINTS
absurd-lakeside   absurd-lakeside         <none>
default           kubernetes              10.0.0.50:443
deis              deis-builder            10.2.44.2:2223
deis              deis-controller         10.2.94.2:8000
deis              deis-database           10.2.44.3:5432
deis              deis-minio              10.2.94.5:9000
deis              deis-registry           10.2.94.3:5000
@smothiki
smothiki / shell session output
Last active March 21, 2016 22:56
test log session output
=== RUN TestTests
Running Suite: Deis Workflow
============================
Random Seed: 1458595389
Will run 112 of 114 specs
$ deis register http://deis.10.3.0.198.xip.io --username=admin --password=admin [email protected]
Registered admin
Logged in as admin
$ deis users:list
// Package cleaner is a background process that compares the kubernetes namespace list with the folders in the local git home directory, deleting what's not in the namespace list
package cleaner
import (
"fmt"
"log"
"os"
"k8s.io/kubernetes/pkg/api"
@smothiki
smothiki / gist:a9f7bc40f21646c0718b
Created February 18, 2016 17:06
S3 Object Storage testing
1. Test with AWS
a) Builder was able to pass the helth check but no success creating buckets. Reason : might be an issue with my credentials.
- will be trying out with different credentials and permissions.
2. Test with Google Cloud
a) Builder was not passing health checks at all. Outside storage url - https://storage.googleapis.com
3. Ceph backend not yet tested.
deis.com
deis.io
http://kubernetes.io/
https://github.com/deis/deis/tree/v2
Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage applications on your own servers.
PAAS mean platform as a service - something like Amazon apollo.
Deis v2 is powered by kubernetes and has lot of sub projects in it .
I would like you to create few designs for the follwoing projects
@smothiki
smothiki / initals.py
Created September 21, 2015 23:13
inita
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
11:00 - 11:40 Immutable Data Science with Datomic, Spark and Kafka
1:40 - 2:20 "All In" With Determinism for Performance and Testing in Distributed Systems
3:40 - 4:20 Apache Kafka and the Next 700 Stream Processing Systems
sept 26
10:10 - 10:50 Streams: The data structure we need / One weird trick to lose five bugs off your distributed system instantly!
12:50 - 1:30 any talk that might interest me
3:40 - 4:20 Architectural Patterns of Resilient Distributed Systems