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
gcloud compute instances create grpc --image debian-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
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: mysql | |
name: mysql | |
spec: | |
clusterIP: 10.15.240.125 | |
ports: | |
- port: 3306 |
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
$ tar -tvf kubernetes-server-linux-amd64.tar.gz | |
drwxr-xr-x 0 root root 0 Oct 19 10:57 kubernetes/ | |
drwxr-xr-x 0 root root 0 Oct 19 10:57 kubernetes/server/ | |
drwxr-xr-x 0 root root 0 Oct 19 10:57 kubernetes/server/bin/ | |
-rw-r--r-- 0 root root 32752128 Oct 19 10:57 kubernetes/server/bin/kube-scheduler.tar | |
-rwxr-xr-x 0 root root 33842168 Oct 19 10:57 kubernetes/server/bin/kubectl | |
-rwxr-xr-x 0 root root 49994360 Oct 19 10:57 kubernetes/server/bin/kube-apiserver | |
-rw-r--r-- 0 root root 33 Oct 19 10:57 kubernetes/server/bin/kube-apiserver.docker_tag | |
-rwxr-xr-x 0 root root 3396144 Oct 19 10:57 kubernetes/server/bin/linkcheck | |
-rwxr-xr-x 0 root root 43670560 Oct 19 10:57 kubernetes/server/bin/kube-controller-manager |
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: Service | |
metadata: | |
name: inspector | |
labels: | |
app: inspector | |
spec: | |
type: NodePort | |
selector: | |
app: inspector |
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
godep go test -v -race ./... | |
? github.com/docker/swarm [no test files] | |
=== RUN TestHandle | |
--- PASS: TestHandle (0.00s) | |
=== RUN TestBoolValue | |
--- PASS: TestBoolValue (0.00s) | |
=== RUN TestIntValueOrZero | |
--- PASS: TestIntValueOrZero (0.00s) | |
=== RUN TestInti64ValueOrZero | |
--- PASS: TestInti64ValueOrZero (0.00s) |
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
etcd: | |
command: > | |
--advertise-client-urls http://127.0.0.1:2379 | |
--data-dir /var/lib/etcd | |
--listen-client-urls http://127.0.0.1:2379 | |
--listen-peer-urls http://127.0.0.1:2380 | |
--name etcd0 | |
image: "quay.io/coreos/etcd:v2.2.2" | |
net: "host" | |
restart: "always" |
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
--- | |
id: "pgview-stable-v1" | |
kind: "ReplicationController" | |
apiVersion: "v1beta1" | |
desiredState: | |
replicas: 1 | |
replicaSelector: | |
name: "pgview-stable-v1" | |
environment: "production" | |
app: "pgview" |
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: Pod | |
metadata: | |
name: fluentd-cloud-logging | |
namespace: kube-system | |
spec: | |
containers: | |
- name: fluentd-cloud-logging | |
image: gcr.io/google_containers/fluentd-gcp:1.11 | |
resources: |
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 cluster.go go/src/github.com/docker/swarm/cluster/kubernetes/cluster.go | |
7d6 | |
< "net" | |
33d31 | |
< engines map[string]*cluster.Engine | |
51d48 | |
< | |
72,88d68 | |
< engines := make(map[string]*cluster.Engine) | |
< nodes, err := kubeClient.Nodes().List(labels.Everything(), fields.Everything()) |
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 scratch | |
MAINTAINER Kelsey Hightower <[email protected]> | |
ADD inspector inspector | |
ADD css css | |
ENTRYPOINT ["/inspector"] |