10-17T05:44:44Z","labels":{"run":"nginx"}},"subsets":[{"addresses":[{"ip":"10.176.1.67","nodeName":"gke-k0-default-pool-12695b58-nuro","targetRef":{"kind":"Pod","namespace":"default","name":"nginx-1172225296-2l30j","uid":"15b601eb-962a-11e6-87dc-42010a8a008d","resourceVersion":"373758"}},{"ip":"10.176.1.68","nodeName":"gke-k0-default-pool-12695b58-nuro","targetRef":{"kind":"Pod","namespace":"default","name":"nginx-1172225296-8s7gw","uid":"1b198344-962a-11e6-87dc-42010a8a008d","resourceVersion":"373806"}},{"
2016/10/19 11:01:38 reading watch response
2016/10/19 11:01:38 <nil>
2016/10/19 11:01:38 {{Endpoints v1 {nginx} [{[{10.176.2.128}] [{ 80}]}] } MODIFIED}
2016/10/19 11:01:38 start reading watch response
2016/10/19 11:01:38 reading watch response
2016/10/19 11:01:38 invalid character 'a' looking for beginning of value
2016/10/19 11:01:38 invalid character 'a' looking for beginning of value
2016/10/19 11:01:39 start reading watch response
2016/10/19 11:01:39 reading watch response
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
``` | |
kubectl --namespace=federation logs federation-controller-manager-3105960597-zx48r -f | |
``` | |
``` | |
I0902 15:00:41.600103 1 controllermanager.go:89] v1.4.0-beta.0 | |
I0902 15:00:42.630892 1 controllermanager.go:140] Loading client config for cluster controller "cluster-controller" | |
I0902 15:00:42.631263 1 controllermanager.go:142] Running cluster controller | |
I0902 15:00:42.634503 1 clouddns.go:86] Using DefaultTokenSource &oauth2.reuseTokenSource{new:google.computeSource{account:""}, mu:sync.Mutex{state:0, sema:0x0}, t:(*oauth2.Token)(nil)} | |
I0902 15:00:42.634701 1 clouddns.go:100] Successfully got DNS service: &{0xc8203204e0 https://www.googleapis.com/dns/v1/projects/ 0xc820024430 0xc820024438 0xc820024440 0xc820024448} | |
I0902 15:00:42.634798 1 controllermanager.go:149] Loading client config for namespace controller "namespace-controller" |
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
kubectl --namespace=federation logs federation-controller-manager-962998385-sx367 | |
I0901 23:42:36.433501 1 controllermanager.go:74] v1.3.4 | |
I0901 23:42:36.466154 1 clouddns.go:86] Using DefaultTokenSource &oauth2.reuseTokenSource{new:google.computeSource{account:""}, mu:sync.Mutex{state:0, sema:0x0}, t:(*oauth2.Token)(nil)} | |
I0901 23:42:36.466348 1 clouddns.go:100] Successfully got DNS service: &{0xc8205c8630 https://www.googleapis.com/dns/v1/projects/ 0xc820024b60 0xc820024b68 0xc820024b70 0xc820024b78} | |
E0901 23:43:16.520069 1 runtime.go:52] Recovered from panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) | |
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:58 | |
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:51 | |
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:41 | |
/usr/loca |
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: ReplicationController | |
metadata: | |
name: nginx | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx |
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: Service | |
apiVersion: v1 | |
metadata: | |
name: "nginx" | |
spec: | |
selector: | |
app: "nginx" | |
ports: | |
- protocol: "TCP" | |
port: 80 |
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx |
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
certPool, err := gocertifi.CACerts() | |
if err != nil { | |
log.Fatal(err) | |
} | |
c := http.Client{ | |
Timeout: 10 * time.Second, | |
Transport: &http.Transport{ | |
TLSClientConfig: &tls.Config{RootCAs: certPool}, | |
}, | |
} |