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)) |
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
diff --git a/controller/cmd/identity/main.go b/controller/cmd/identity/main.go | |
index a6b65098..aee02021 100644 | |
--- a/controller/cmd/identity/main.go | |
+++ b/controller/cmd/identity/main.go | |
@@ -1,6 +1,7 @@ | |
package identity | |
import ( | |
+ "context" | |
"flag" |
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
```diff | |
diff --git a/pkg/issuercerts/issuer_secret.go b/pkg/issuercerts/issuer_secret.go | |
index 67576166..c0e01524 100644 | |
--- a/pkg/issuercerts/issuer_secret.go | |
+++ b/pkg/issuercerts/issuer_secret.go | |
@@ -126,3 +126,85 @@ func BuildAndCheckCreds(anchors, crt, key, dnsName string) (*tls.Cred, error) { | |
return creds, nil | |
} | |
+ |
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
```diff | |
diff --git a/cli/cmd/upgrade.go b/cli/cmd/upgrade.go | |
index e4b674a1..70be6450 100644 | |
--- a/cli/cmd/upgrade.go | |
+++ b/cli/cmd/upgrade.go | |
@@ -6,13 +6,13 @@ import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
- "time" |
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
# all resource requirements are removed from the deployments | |
# to ensure better utilization of nodes rsources. | |
# otherwise, I ended with many nodes that barely utilized 2% of the CPU | |
# and are unable to host more pods due to their resource requirements. | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: emojivoto | |
--- |
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
```diff | |
--- before.yaml 2020-01-21 15:54:35.180230107 -0800 | |
+++ after.yaml 2020-01-21 15:55:51.819601604 -0800 | |
@@ -9,6 +9,7 @@ | |
app.kubernetes.io/instance: dev | |
app.kubernetes.io/managed-by: Tiller | |
name: dev-smi-metrics | |
+ namespace: linkerd | |
data: | |
config.yml: | |
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
$ kubectl version --short | |
Client Version: v1.15.0 | |
Server Version: v1.15.3 | |
$ kubectl run nginx --image=nginx --port=80 --generator=run-pod/v1 | |
pod/nginx created | |
$ kubectl get po | |
NAME READY STATUS RESTARTS AGE | |
nginx 1/1 Running 0 6s |
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
$ kubectl -v=7 exec -it nginx -- /bin/bash | |
I0125 10:51:55.434043 28053 loader.go:359] Config loaded from file: /home/isim/.kube/kind-config-linkerd | |
I0125 10:51:55.438595 28053 round_trippers.go:416] GET https://127.0.0.1:38545/api/v1/namespaces/default/pods/nginx | |
I0125 10:51:55.438607 28053 round_trippers.go:423] Request Headers: | |
I0125 10:51:55.438611 28053 round_trippers.go:426] Accept: application/json, */* | |
I0125 10:51:55.438615 28053 round_trippers.go:426] User-Agent: kubectl/v1.15.0 (linux/amd64) kubernetes/e8462b5 | |
I0125 10:51:55.445942 28053 round_trippers.go:441] Response Status: 200 OK in 7 milliseconds | |
I0125 10:51:55.451050 28053 round_trippers.go:416] POST https://127.0.0.1:38545/api/v1/namespaces/default/pods/nginx/exec?command=%2Fbin%2Fbash&container=nginx&stdin=true&stdout=true&tty=true | |
I0125 10:51:55.451063 28053 round_trippers.go:423] Request Headers: | |
I0125 10:51:55.451067 28053 round_trippers.go:426] X-Strea |
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
if c.ExtraConfig.APIResourceConfigSource.VersionEnabled(apiv1.SchemeGroupVersion) { | |
// ... | |
if err := m.InstallLegacyAPI(&c, c.GenericConfig.RESTOptionsGetter, legacyRESTStorageProvider); err != nil { | |
return nil, err | |
} | |
} |
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
podStorage, err := podstore.NewStorage( | |
restOptionsGetter, | |
nodeStorage.KubeletConnectionInfo, | |
c.ProxyTransport, | |
podDisruptionClient, | |
) | |
if err != nil { | |
return LegacyRESTStorage{}, genericapiserver.APIGroupInfo{}, err | |
} |