下載 cli。
$ wget -O oklog https://github.com/oklog/oklog/releases/download/v0.2.2/oklog-0.2.2-linux-amd64
$ sudo chmod +x oklog
看看搜尋的用法。
$ ./oklog query -h
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: demo | |
spec: | |
selector: | |
matchLabels: | |
name: demo | |
template: | |
metadata: |
# Build the manager binary | |
FROM golang:1.13 as builder | |
WORKDIR /workspace | |
# Copy the Go Modules manifests | |
COPY go.mod go.mod | |
COPY go.sum go.sum | |
# Make go mod works with private gilab | |
RUN git config --global http.sslVerify false |
LFS courses |
--- | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: oklog | |
labels: | |
app: oklog | |
spec: | |
ports: | |
- name: api |
下載 cli。
$ wget -O oklog https://github.com/oklog/oklog/releases/download/v0.2.2/oklog-0.2.2-linux-amd64
$ sudo chmod +x oklog
看看搜尋的用法。
$ ./oklog query -h
https://github.com/coreos/etcd/issues/8214 | |
https://github.com/coreos/etcd/issues/8214#issuecomment-317934559 | |
https://github.com/coreos/etcd/issues/8293 | |
https://github.com/coreos/etcd/issues/8305#issuecomment-319166589 | |
https://github.com/coreos/etcd/issues/8305 | |
https://github.com/kubernetes/kubernetes/issues/48865 | |
https://github.com/coreos/etcd/pull/8351 | |
https://github.com/coreos/etcd/issues/8348 |
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
43m 43m 1 default-scheduler Normal Scheduled Successfully assigned tony-droifs-vdvb7 to 10.128.112.26
43m 43m 1 kubelet, 10.128.112.26 Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "default-token-72gvb"
42m 1m 19 kubelet, 10.128.112.26 Warning FailedMount MountVolume.SetUp failed for volume "droi-store" : CephFS: mount failed: mount failed: exit status 32
Mounting command: mount
Mounting arguments: 10.2.21.19:6790,10.2.19.219:6790,10.2.18.254:6790:/ /var/lib/kubelet/pods/7e7ca875-7b56-11e7-b478-901b0e60defe/volumes/kubernetes.i