This file contains hidden or 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
$ istioctl replace -f samples/bookinfo/routing/route-rule-ratings-test-abort.yaml | |
Updated config virtual-service/default/ratings to revision 45992 | |
$ istioctl get virtualservice ratings -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: ratings | |
namespace: default | |
resourceVersion: "45992" |
This file contains hidden or 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
from kedro.pipeline import Pipeline, node | |
def mean(xs, n): | |
return sum(xs) / n | |
def mean_sos(xs, n): | |
return sum(x*x for x in xs) / n |
OlderNewer