View gist:98e658ae2b1bfbc65ef68c0a5fbd76c0
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
event.go:218] Event(v1.ObjectReference{Kind:"MySQLBackup", Namespace:"default", Name:"mysql-backup", UID:"c58b3530-807c-11e8-ae5b-0a580aed16f5", APIVersion:"mysql.oracle.com", ResourceVersion:"2434331", FieldPath:""}): type: 'Warning' reason: 'FailedValidation' [executor.provider: Required value, executor.databases: Invalid value: v1.Executor{Provider:"", Databases:[]string(nil)}: missing databases, spec.storage: Required value: missing storage, spec.clusterRef: Required value: missing cluster] |
View gist:c2d25cba687d05250059bb237cc0174f
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: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: default-admin | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: cluster-admin | |
subjects: | |
- kind: ServiceAccount |
View gist:ddddc4ee74c1595be59db0848ae7d1f6
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
kubectl describe pod zone1-main-x-80-replica-0 | |
Name: zone1-main-x-80-replica-0 | |
Namespace: default | |
Node: gke-example-default-pool-15f6fa98-vfnj/10.142.0.3 | |
Start Time: Sun, 05 Nov 2017 11:10:16 -0500 | |
Labels: app=vitess | |
cell=zone1 | |
component=vttablet | |
controller-revision-hash=zone1-main-x-80-replica-3616661517 | |
keyspace=main |
View gist:f7d841bbe8494cc92c455953c96ea557
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
kubectl get ReplicaSet | |
NAME DESIRED CURRENT READY AGE | |
etcd-global 3 3 3 2m | |
etcd-zone1 3 3 3 2m | |
orchestrator-3609634489 1 1 1 2m | |
vtctld-3332466448 1 1 1 2m | |
vtgate-zone1-4079315694 3 3 3 2m | |
kubectl get pv | |
NAME CAPACITY ACCESSMODES RECLAIMPOLICY STATUS CLAIM STORAGECLASS REASON AGE |
View gist:5284cd8395953a5999cc62605db7745a
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
kubectl get nodes | |
NAME STATUS AGE VERSION | |
kubernetes-master Ready,SchedulingDisabled 4h v1.6.12 | |
kubernetes-minion-group-2ck6 Ready 4h v1.6.12 | |
kubernetes-minion-group-7qpx Ready 4h v1.6.12 | |
kubernetes-minion-group-jjd6 Ready 4h v1.6.12 | |
patg@dynbox:~/kubernetes/vitess/examples/kubernetes/statefulset$ kubectl get pods | |
NAME READY STATUS RESTARTS AGE | |
etcd-global-0jp7l 1/1 Running 0 1m | |
etcd-global-1hk60 1/1 Running 0 1m |
View gist:19d07a716289f470a2118d3947ad99f0
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
Increased to 1.5G: | |
# Default values for orchestrator resources defined in 'topology'. | |
orchestrator: | |
image: "vitess/orchestrator:latest" | |
resources: | |
limits: | |
memory: "512Mi" | |
cpu: "100m" | |
mysqlResources: |
View gist:b320fd336d9aaef9120fb595f1c7010f
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
kubectl logs orchestrator-df8c4c45c-q6rjp -c mysql | |
2017-11-03 20:04:10 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. | |
2017-11-03 20:04:10 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). | |
2017-11-03 20:04:10 0 [Note] mysqld (mysqld 5.6.29-76.2-56) starting as process 1 . | |
kubectl describe pod orchestrator-df8c4c45c-q6rjp | |
Name: orchestrator-df8c4c45c-q6rjp | |
Namespace: default | |
Node: kubernetes-minion-group-c92m/10.128.0.5 |
View gist:499a1cb4093b9d225ae423b1219d5a01
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
kubectl describe pod orchestrator-75946fbc4b-5cz75 | |
Name: orchestrator-75946fbc4b-5cz75 | |
Namespace: default | |
Node: kubernetes-minion-group-c92m/10.128.0.5 | |
Start Time: Thu, 02 Nov 2017 16:05:34 -0400 | |
Labels: app=vitess | |
component=orchestrator | |
pod-template-hash=3150296706 | |
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"orchestrator-75946fbc4b","uid":"2faf7664-c009-11e7-aeb6-42010a80... | |
Status: Running |
View gist:24ea399bc4577790fc252810c24bbf6b
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
$ kubectl get pods | |
NAME READY STATUS RESTARTS AGE | |
etcd-global-8q4d1 1/1 Running 0 3h | |
etcd-global-8rmml 1/1 Running 0 3h | |
etcd-global-g9764 1/1 Running 0 3h | |
etcd-zone1-jw7h9 1/1 Running 0 3h | |
etcd-zone1-khjd5 1/1 Running 0 3h | |
etcd-zone1-xs4kz 1/1 Running 0 3h | |
orchestrator-2507277757-71qlm 2/2 Running 0 3h | |
vtctld-1717037727-ps4x7 1/1 Running 0 3h |
View gist:67379d249efa1046c9999609336b6f07
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
$ helm install -n $release -f site-values.yaml ./helm/vitess/ | |
NAME: vitess | |
LAST DEPLOYED: Thu Nov 2 05:08:31 2017 | |
NAMESPACE: default | |
STATUS: DEPLOYED | |
RESOURCES: | |
==> v1beta1/StatefulSet | |
NAME DESIRED CURRENT AGE | |
zone1-main-x-80-replica 2 1 1s |
NewerOlder