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:
I hereby claim:
To claim this, I am signing this object:
A list of vim commands I found helpful.
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: redis | |
labels: | |
app: redis | |
spec: | |
selector: | |
app: redis | |
ports: |
--- | |
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
auto-inject update
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 |
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- |
# 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