A list of vim commands I found helpful.
I hereby claim:
- I am ihcsim on github.
- I am ihcsim (https://keybase.io/ihcsim) on keybase.
- I have a public key ASBciUKqEsNDMqv-66pAyPMmK2Q8qQ5e-no_5416QIp7PQo
To claim this, I am signing this object:
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
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: redis | |
labels: | |
app: redis | |
spec: | |
selector: | |
app: redis | |
ports: |
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: v1 | |
kind: Namespace | |
metadata: | |
name: emojivoto | |
annotations: | |
linkerd.io/inject: enabled | |
--- | |
apiVersion: apps/v1beta1 | |
kind: Deployment |
The following is the list of test cases for the proxy config overrides feature (linkerd/linkerd/#2471).
auto-inject create
- Specify the config annotations in the pod template. Expect pod's proxy config to be overridden.
Specify the config annotations in the namespace. Expect effects on all workloads in the same namespace.
auto-inject update
- Deploy a workload with no config annotations.
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
linkerd -n emojivoto tap deploy | |
``` | |
req id=0:0 proxy=out src=172.17.0.13:52494 dst=172.17.0.12:80 tls=true :method=GET :authority=web-svc.emojivoto:80 :path=/api/list | |
req id=0:0 proxy=in src=172.17.0.13:49744 dst=172.17.0.12:80 tls=true :method=GET :authority=web-svc.emojivoto:80 :path=/api/list | |
req id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true :method=POST :authority=emoji-svc.emojivoto:8080 :path=/emojivoto.v1.EmojiService/ListAll | |
req id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true :method=POST :authority=emoji-svc.emojivoto:8080 :path=/emojivoto.v1.EmojiService/ListAll | |
rsp id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true :status=200 latency=1739µs | |
end id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true grpc-status=OK duration=157µs response-length=2140B | |
rsp id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true :status=200 latency=3695µs | |
end id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true gr |
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
linkerd -n emojivoto tap deploy | |
req id=0:0 proxy=out src=172.17.0.13:52494 dst=172.17.0.12:80 tls=true :method=GET :authority=web-svc.emojivoto:80 :path=/api/list | |
req id=0:0 proxy=in src=172.17.0.13:49744 dst=172.17.0.12:80 tls=true :method=GET :authority=web-svc.emojivoto:80 :path=/api/list | |
req id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true :method=POST :authority=emoji-svc.emojivoto:8080 :path=/emojivoto.v1.EmojiService/ListAll | |
req id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true :method=POST :authority=emoji-svc.emojivoto:8080 :path=/emojivoto.v1.EmojiService/ListAll | |
rsp id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true :status=200 latency=1739µs | |
end id=0:0 proxy=in src=172.17.0.12:50726 dst=172.17.0.10:8080 tls=true grpc-status=OK duration=157µs response-length=2140B | |
rsp id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true :status=200 latency=3695µs | |
end id=0:1 proxy=out src=172.17.0.12:50690 dst=172.17.0.10:8080 tls=true grpc- |
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
# control plane | |
linkerd install | k apply -f - | |
## data plane psp | |
cat <<EOF|k apply -f - | |
apiVersion: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: linkerd-data-plane | |
spec: |
The following are test cases for linkerd/linkerd2#2987, which introduces global resources checks to linkerd check --pre
and linkerd install
.
Single control plane installation:
bin/linkerd version --client
Client version: git-b8ba3b26
# expect pre-check to succeed
bin/linkerd check --pre
bin/linkerd check --pre -l linkerd-dev
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
--- queries-edge-19.9.3.md 2019-09-20 15:32:55.233035379 -0700 | |
+++ queries-dev.md 2019-09-20 15:33:11.956921137 -0700 | |
@@ -1,90 +1,50 @@ | |
-edge-19.9.3: | |
+git-2cf17da3: | |
``` | |
$ linkerd stat all | |
-histogram_quantile(0.99, sum(irate(response_latency_ms_bucket{direction=\"inbound\", namespace=\"default\"}[1m])) by (le, namespace, deployment)) | |
-histogram_quantile(0.99, sum(irate(response_latency_ms_bucket{direction=\"inbound\", namespace=\"default\"}[1m])) by (le, namespace, daemonset)) | |
-histogram_quantile(0.99, sum(irate(response_latency_ms_bucket{direction=\"inbound\", namespace=\"default\"}[1m])) by (le, namespace, replicationcontroller)) |
OlderNewer