- Api-Machinery
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
#!/bin/bash | |
# Usage example: | |
# ~$ git clone https://github.com/kubernetes/kubernetes.git src/k8s.io/kubernetes | |
# ~$ git clone https://github.com/kubernetes/release.git src/k8s.io/release | |
# ~$ cd src/k8s.io/kubernetes | |
# ~/src/k8s.io/kubernetes$ git checkout release-1.6 | |
# ~/src/k8s.io/kubernetes$ relnotes-preview.sh release-1.6 | |
RELEASE_VERSION_PRIME=$1 |
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
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx1 | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: |
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
"""Simple load test for Vitess.""" | |
import time | |
import random | |
import threading | |
from vtdb import vtgate_client | |
from vtdb import grpc_vtgate_client # pylint: disable=unused-import | |
# Need 2 connections because we're multi-threading. |
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
I1202 19:53:55.552706 2806 plugins.go:71] No cloud provider specified. | |
I1202 19:53:55.554357 2806 manager.go:133] cAdvisor running in container: "/" | |
W1202 19:53:55.592777 2806 manager.go:141] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused | |
I1202 19:53:55.593101 2806 fs.go:116] Filesystem partitions: map[/dev/sda1:{mountpoint:/var/lib/docker/aufs major:8 minor:1 fsType:ext4 blockSize:0}] | |
I1202 19:53:55.599319 2806 machine.go:50] Couldn't collect info from any of the files in "/etc/machine-id,/var/lib/dbus/machine-id" | |
I1202 19:53:55.599370 2806 manager.go:182] Machine: {NumCores:4 CpuFrequency:2300000 MemoryCapacity:15807909888 MachineID: SystemUUID:E7B27D0E-145A-CBF2-A547-28C27B6198ED BootID:7bebecfe-7083-4c14-9598-ceddbed2cfda Filesystems:[{Device:/dev/sda1 Capacity:105553100800 Type:vfs Inodes:6553600}] DiskMap:map[8:0:{Name:sda Major:8 Minor:0 Size:107374182400 Scheduler:cfq} 8:16:{Name:sdb Major:8 Minor:1 |
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
I1202 19:58:17.117332 2841 plugins.go:71] No cloud provider specified. | |
I1202 19:58:17.118875 2841 manager.go:133] cAdvisor running in container: "/" | |
W1202 19:58:17.179346 2841 manager.go:141] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused | |
I1202 19:58:17.179762 2841 fs.go:116] Filesystem partitions: map[/dev/sda1:{mountpoint:/var/lib/docker/aufs major:8 minor:1 fsType:ext4 blockSize:0}] | |
I1202 19:58:17.188702 2841 machine.go:50] Couldn't collect info from any of the files in "/etc/machine-id,/var/lib/dbus/machine-id" | |
I1202 19:58:17.188755 2841 manager.go:182] Machine: {NumCores:4 CpuFrequency:2300000 MemoryCapacity:15807909888 MachineID: SystemUUID:851B5450-D8D9-804A-48F3-7659F0E53A76 BootID:c00b5c61-1e49-41bb-a1f1-5e7ad507a4c5 Filesystems:[{Device:/dev/sda1 Capacity:105553100800 Type:vfs Inodes:6553600}] DiskMap:map[8:0:{Name:sda Major:8 Minor:0 Size:107374182400 Scheduler:cfq} 8:16:{Name:sdb Major:8 Minor:1 |
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
E1202 19:49:05.967029 6 leaderelection.go:228] error retrieving resource lock kube-system/kube-controller-manager: Get http://127.0.0.1:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp 127.0.0.1:8080: getsockopt: connection refused | |
E1202 19:49:09.420800 6 leaderelection.go:228] error retrieving resource lock kube-system/kube-controller-manager: Get http://127.0.0.1:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp 127.0.0.1:8080: getsockopt: connection refused | |
I1202 19:49:13.690215 6 leaderelection.go:188] sucessfully acquired lease kube-system/kube-controller-manager | |
I1202 19:49:13.695214 6 event.go:217] Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", Name:"kube-controller-manager", UID:"3190e9ed-b8c5-11e6-bee7-42010a800002", APIVersion:"v1", ResourceVersion:"3877", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' kubernetes-master became leader | |
I1202 19:49:13.764769 6 replication_controller.go |
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
Name: web-2 | |
Namespace: default | |
Node: kubernetes-minion-group-yl0d/10.128.0.5 | |
Start Time: Fri, 02 Dec 2016 11:53:58 -0800 | |
Labels: app=nginx | |
Status: Running | |
IP: 10.244.8.5 | |
Controllers: StatefulSet/web | |
Containers: | |
nginx: |
NewerOlder