Skip to content

Instantly share code, notes, and snippets.

View CaptTofu's full-sized avatar

Patrick Galbraith CaptTofu

View GitHub Profile
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]
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
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
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
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
Increased to 1.5G:
# Default values for orchestrator resources defined in 'topology'.
orchestrator:
image: "vitess/orchestrator:latest"
resources:
limits:
memory: "512Mi"
cpu: "100m"
mysqlResources:
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
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
$ 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
$ 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