Skip to content

Instantly share code, notes, and snippets.

@bysnupy
Created January 18, 2020 12:36
Show Gist options
  • Save bysnupy/9e3567520635f387f8d9eada2024089e to your computer and use it in GitHub Desktop.
Save bysnupy/9e3567520635f387f8d9eada2024089e to your computer and use it in GitHub Desktop.
master1 ~# mv etcd.yaml /etc/origin/node/pods/
 master1 ~# oc get pod -n kube-system
 NAME READY STATUS RESTARTS AGE
 :
 master-etcd-master1.ocp.example.com 1/1 Running 0 5s
 master-etcd-master2.ocp.example.com 1/1 Running 2 17m
 master-etcd-master3.ocp.example.com 1/1 Running 1 226d
master1 ~# oc logs master-etcd-master1.ocp.example.com
 :
 2019–12–25 10:53:18.733670 I | mvcc: store.index: compact 18320
 2019–12–25 10:53:18.742653 I | mvcc: finished scheduled compaction at 18320 (took 5.038431ms)
 2019–12–25 10:53:18.829253 I | mvcc: store.index: compact 19041
 2019–12–25 10:53:18.837214 I | mvcc: finished scheduled compaction at 19041 (took 5.047192ms)
 2019–12–25 10:53:18.842405 I | etcdserver/membership: added member 444444444444444 [https://10.0.1.10:2380] to cluster aaaaaaaaaaaaaaaa
 2019–12–25 10:53:18.884100 I | mvcc: store.index: compact 19766
 2019–12–25 10:53:18.890243 I | mvcc: finished scheduled compaction at 19766 (took 3.437674ms)
 2019–12–25 10:53:18.938005 I | mvcc: store.index: compact 20505
 2019–12–25 10:53:18.946091 I | mvcc: finished scheduled compaction at 20505 (took 4.488536ms)
 2019–12–25 10:53:18.955481 I | etcdserver: published {Name:master1.ocp.example.com ClientURLs:[https://10.0.1.10:2379]} to cluster aaaaaaaaaaaaaaaa
 2019–12–25 10:53:18.955661 I | embed: ready to serve client requests
 2019–12–25 10:53:18.956147 I | embed: serving client requests on 10.0.1.10:2379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment