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
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
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 |
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
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. |
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
// 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" |
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
=== 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 |
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
package tests | |
import ( | |
"fmt" | |
"math/rand" | |
"os" | |
"regexp" | |
"sort" | |
"strconv" | |
"sync" |
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
package main | |
import( | |
"fmt" | |
"bytes" | |
"encoding/json" | |
bjson "github.com/bitly/go-simplejson" | |
elastic "gopkg.in/olivere/elastic.v3" | |
) |
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
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 |
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
curl 10.3.0.144:9200/_search?pretty=true -d '{"query":{"query_string":{"fields" : ["kubernetes",".*"],"query": "august-barbecue"}}}' |
$ kubectl describe nodes
Name: ip-172-20-0-245.us-west-1.compute.internal
Labels: beta.kubernetes.io/instance-type=m3.medium,failure-domain.beta.kubernetes.io/region=us-west-1,failure-domain.beta.kubernetes.io/zone=us-west-1a,kubernetes.io/hostname=ip-172-20-0-245.us-west-1.compute.internal
CreationTimestamp: Fri, 15 Apr 2016 15:22:08 -0600
Phase:
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
OutOfDisk False Fri, 15 Apr 2016 15:57:32 -0600 Fri, 15 Apr 2016 15:57:22 -0600 KubeletHasSufficientDisk kubelet has sufficient disk space available