This file contains 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 -v | |
mkdir -p $HOME/newgopath/src/k8s.io | |
export GOPATH=$HOME/newgopath | |
cd $HOME/newgopath/src/k8s.io | |
git clone https://github.com/kubernetes/minikube.git | |
cd minikube | |
godep restore ./... | |
cd $GOPATH/src/k8s.io/kubernetes |
This file contains 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
aprindle@aprindle:~/error-go/src/github.com/aaron-prindle/send-error$ go run main.go | |
this function is supposed to crash | |
at main.reportError (main.go:31) | |
at main.main (main.go:25) | |
at runtime.main (proc.go:188) |
This file contains 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
Loading provider bootstrapvz.providers.gce | |
Loading plugin bootstrapvz.plugins.custom_initramfs | |
Loading plugin bootstrapvz.plugins.kubelet_metadata_proxy | |
Loading plugin bootstrapvz.plugins.pdautomount | |
Loading plugin bootstrapvz.plugins.prefetchimage | |
Loading plugin bootstrapvz.plugins.ntp | |
Loading plugin bootstrapvz.plugins.docker_daemon | |
Loading plugin bootstrapvz.plugins.containervm | |
Tasklist: | |
bootstrapvz.common.tasks.locale.LocaleBootstrapPackage |
This file contains 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
2016-11-08T02:33:11.820532270Z I1108 02:33:11.819824 1 heapster.go:65] /heapster --source=kubernetes:https://kubernetes.default --sink=influxdb:http://monitoring-influxdb.kube-system.svc.cluster.local:8086 | |
2016-11-08T02:33:11.820586757Z I1108 02:33:11.820420 1 heapster.go:66] Heapster version 1.2.0 | |
2016-11-08T02:33:11.821065202Z I1108 02:33:11.820748 1 configs.go:60] Using Kubernetes client with master "https://kubernetes.default" and version v1 | |
2016-11-08T02:33:11.821403755Z I1108 02:33:11.821254 1 configs.go:61] Using kubelet port 10255 | |
2016-11-08T02:35:19.262655143Z E1108 02:35:19.262399 1 influxdb.go:217] issues while creating an InfluxDB sink: failed to ping InfluxDB server at "monitoring-influxdb.kube-system.svc.cluster.local:8086" - Get http://monitoring-influxdb.kube-system.svc.cluster.local:8086/ping: dial tcp 10.0.0.110:8086: getsockopt: connection timed out, will retry on use | |
2016-11-08T02:35:19.262766309Z I1108 02:35:19.262484 1 influxdb.go:231] created influxdb |
This file contains 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
2016-11-08T03:38:34.516582884Z I1108 03:38:34.516321 1 heapster.go:65] /heapster --source=kubernetes:https://kubernetes.default --sink=influxdb:http://localhost:8086 | |
2016-11-08T03:38:34.516594810Z I1108 03:38:34.516401 1 heapster.go:66] Heapster version 1.2.0 | |
2016-11-08T03:38:34.516673784Z I1108 03:38:34.516590 1 configs.go:60] Using Kubernetes client with master "https://kubernetes.default" and version v1 | |
2016-11-08T03:38:34.516685855Z I1108 03:38:34.516656 1 configs.go:61] Using kubelet port 10255 | |
2016-11-08T03:38:34.550941648Z E1108 03:38:34.550576 1 influxdb.go:217] issues while creating an InfluxDB sink: failed to ping InfluxDB server at "localhost:8086" - Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt: connection refused, will retry on use | |
2016-11-08T03:38:34.553358838Z I1108 03:38:34.553278 1 influxdb.go:231] created influxdb sink with options: host:localhost:8086 user:root db:k8s | |
2016-11-08T03:38:34.553453612Z I1108 03:38:34.553385 1 heapster |
This file contains 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
Method 1: | |
Run localkube binary natively, outside of libmachine/libmachine-alternative | |
Write --no-vm mode in .minikube/config/config.json to store this state | |
Have commands that would access VM look at config.json first and map to localhost if in--no-vm mode | |
Method 2: | |
Write a minikube --no-vm driver. This driver would return localhost as IP and would provision itself as simply running the localkube binary natively |
This file contains 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 TestDockerEnv | |
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=https://docs.docker.com | |
After=network.target docker.socket | |
Requires=docker.socket | |
[Service] | |
Type=notify |
This file contains 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
Started by upstream project "Build_Cross" build number 1057 | |
originally caused by: | |
GitHub pull request #1024 of commit 8647d8277903a536d51a881ad0a847aee0637dab, no merge conflicts. | |
Started by upstream project "Build_Cross" build number 1063 | |
originally caused by: | |
GitHub pull request #1024 of commit 8647d8277903a536d51a881ad0a847aee0637dab, no merge conflicts. | |
Building remotely on Windows in workspace /var/jenkins/workspace/Windows_Integration_Tests_hyperv | |
[WS-CLEANUP] Deleting project workspace... | |
[WS-CLEANUP] Done | |
[Windows_Integration_Tests_hyperv] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\Users\jenkins\AppData\Local\Temp\hudson1901659603833160262.ps1'" |
This file contains 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 debian:jessie | |
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get -yy -q install \ | |
iptables \ | |
ethtool \ | |
ca-certificates \ | |
util-linux \ | |
socat \ | |
conntrack \ |
This file contains 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
$ mkdir ~/localkube-container | |
$ cd ~/localkube-container | |
# create Dockerfile from https://gist.github.com/aaron-prindle/b5d228c08c5a7db25be17c4871b99305 in directory | |
$ docker build -t localkube-container:v1 . | |
$ docker run --name minikube -it --volume=/:/rootfs:ro --volume=/sys:/sys:rw --volume=/var/lib/docker:/var/lib/docker:rw --volume=/var/lib/kubelet:/var/lib/kubelet:rw --volume=/var/run:/var/run:rw --net=host --pid=host --privileged localkube-container:v1 /bin/bash | |
# This will put you into the container, then you will run localkube | |
$ root@aprindle:/# ./localkube --apiserver-insecure-address=0.0.0.0 --apiserver-insecure-port=8080 --logtostderr=true --containerized | |
$ Using these existing CA certs: /var/lib/localkube/certs/ca.crt /var/lib/localkube/certs/ca.key | |
$ Using these existing certs: /var/lib/localkube/certs/apiserver.crt /var/lib/localkube/certs/apiserver.key |