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/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go | |
index 713748a..a37b949 100644 | |
--- a/pkg/kubelet/kubelet.go | |
+++ b/pkg/kubelet/kubelet.go | |
@@ -2599,7 +2599,11 @@ func (kl *Kubelet) reconcileCBR0(podCIDR string) error { | |
glog.V(5).Info("Shaper is nil, creating") | |
kl.shaper = bandwidth.NewTCShaper("cbr0") | |
} | |
- return kl.shaper.ReconcileInterface() | |
+ if err := kl.shaper.ReconcileInterface(); err != nil { |
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" | |
"io" | |
"github.com/coreos/go-systemd/sdjournal" | |
) | |
func main() { |
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
-- Logs begin at Wed 2015-12-30 18:41:32 UTC, end at Wed 2015-12-30 18:52:00 UTC. -- | |
Dec 30 18:42:24 kubernetes-minion-5gbv.c.coreos-gce-testing.internal systemd[1]: Starting Run Kubelet service... | |
Dec 30 18:42:24 kubernetes-minion-5gbv.c.coreos-gce-testing.internal configure-kubelet.sh[768]: Configuring hostname | |
Dec 30 18:42:24 kubernetes-minion-5gbv configure-kubelet.sh[768]: Configuring kubelet | |
Dec 30 18:42:24 kubernetes-minion-5gbv systemd[1]: Started Run Kubelet service. | |
Dec 30 18:42:26 kubernetes-minion-5gbv kubelet[780]: I1230 18:42:26.034396 780 gce.go:201] Using existing Token Source &oauth2.reuseTokenSource{new:google.computeSource{account:""}, mu:sync.Mutex{state:0, sema:0x0}, t:(*oauth2.Token)(nil)} | |
Dec 30 18:42:26 kubernetes-minion-5gbv kubelet[780]: I1230 18:42:26.034533 780 server.go:522] Successfully initialized cloud provider: "gce" from the config file: "" | |
Dec 30 18:42:26 kubernetes-minion-5gbv kubelet[780]: I1230 18:42:26.034606 780 manager.go:128] cAdvisor running in container: |
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
# export KUBE_ENABLE_CLUSTER_REGISTRY=true | |
export BUILD_PYTHON_IMAGE=true | |
export KUBE_GCE_ZONE=us-east1-b | |
export KUBE_GCE_MINION_IMAGE=coreos-alpha-928-0-0-v20160115 | |
export KUBE_OS_DISTRIBUTION=coreos | |
export KUBE_GCE_MINION_PROJECT=coreos-cloud | |
export KUBE_GCE_INSTANCE_PREFIX= | |
export KUBE_GCE_MASTER_IMAGE=coreos-alpha-928-0-0-v20160115 | |
export KUBE_GCE_MASTER_PROJECT=coreos-cloud |
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" | |
"os" | |
"github.com/coreos/rkt/pkg/lock" | |
) | |
func lockAndPrint() { |
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
2015/12/17 10:15:10 API service starting... | |
2015/12/17 10:15:10 API service running on localhost:15441... | |
2015/12/17 10:21:15 Failed to read pod manifest for pod "1ffeb0be-88f9-4559-b4d9-06b918313e1c": no such file or directory | |
2015/12/17 10:21:16 Failed to read pod manifest for pod "1ffeb0be-88f9-4559-b4d9-06b918313e1c": no such file or directory | |
2015/12/17 10:21:17 Failed to read pod manifest for pod "1ffeb0be-88f9-4559-b4d9-06b918313e1c": no such file or directory | |
2015/12/17 10:21:17 Failed to read pod manifest for pod "1ffeb0be-88f9-4559-b4d9-06b918313e1c": no such file or directory | |
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
$ go test -v -bench=. | |
testing: warning: no tests to run | |
PASS | |
BenchmarkTimenow 100000000 21.8 ns/op | |
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 | |
source foo.sh | |
foo |
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
#!/usr/bin/env bash | |
set -e | |
if [ "$EUID" -ne 0 ]; then | |
echo "This script uses functionality which requires root privileges" | |
exit 1 | |
fi | |
# Start the build with an empty ACI | |
acbuild --debug begin |
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
I1118 18:36:54.026298 6205 server.go:561] Using self-signed cert (/var/run/kubernetes/kubelet.crt, /var/run/kubernetes/kubelet.key) | |
W1118 18:36:54.026403 6205 server.go:622] Could not load kubeconfig file /var/lib/kubelet/kubeconfig: stat /var/lib/kubelet/kubeconfig: no such file or directory. Trying auth path instead. | |
W1118 18:36:54.026416 6205 server.go:584] Could not load kubernetes auth path /var/lib/kubelet/kubernetes_auth: stat /var/lib/kubelet/kubernetes_auth: no such file or directory. Continuing with defaults. | |
I1118 18:36:54.026461 6205 plugins.go:71] No cloud provider specified. | |
I1118 18:36:54.026467 6205 server.go:499] Successfully initialized cloud provider: "" from the config file: "" | |
I1118 18:36:54.026517 6205 manager.go:128] cAdvisor running in container: "/user.slice/user-1000.slice/session-c2.scope" | |
I1118 18:36:55.605326 6205 fs.go:108] Filesystem partitions: map[/dev/mapper/ubuntu--vg-root:{mountpoint:/ major:252 minor:1 fsType: blockSize:0} /dev/sda1:{mountpoint:/boot |