<commit_before># curl https://storage.googleapis.com/csm-artifacts/asm/install_asm_1.9 > install_asm

# gcloud iam service-accounts keys create qwiklabs-user-sa.json \
#   --iam-account=${<EMAIL>

chmod +x ../common/scripts/install_asm

../common/scripts/install_asm \
--project_id $PROJECT_ID \
--cluster_name $C1_NAME \
--cluster_location $C1_ZONE \
--mode install \
--enable_gcp_apis \
--enable_all \
--custom_overlay $LAB_DIR/training-data-analyst/courses/ahybrid/v1.0/common/scripts/tracing.yaml


# ../common/scripts/install_asm \
# --project_id $PROJECT_ID \
# --cluster_name $C1_NAME \
# --cluster_location $C1_ZONE \
# --service_account ${PROJECT_<EMAIL> \
# --key_file qwiklabs-user-sa.json \
# --mode install \
# --enable_apis \
# --custom_overlay $LAB_DIR/training-data-analyst/courses/ahybrid/v1.0/common/scripts/tracing.yaml

kubectl label namespace default \
  istio.io/rev=$(kubectl -n istio-system get pods -l app=istiod -o json | jq -r '.items[0].metadata.labels["istio.io/rev"]') \
  --overwrite<commit_msg>ahybrid-commons: remove old code<commit_after># curl https://storage.googleapis.com/csm-artifacts/asm/install_asm_1.9 > install_asm

chmod +x ../common/scripts/install_asm

../common/scripts/install_asm \
--project_id $PROJECT_ID \
--cluster_name $C1_NAME \
--cluster_location $C1_ZONE \
--mode install \
--enable_gcp_apis \
--enable_all \
--custom_overlay $LAB_DIR/training-data-analyst/courses/ahybrid/v1.0/common/scripts/tracing.yaml

kubectl label namespace default \
  istio.io/rev=$(kubectl -n istio-system get pods -l app=istiod -o json | jq -r '.items[0].metadata.labels["istio.io/rev"]') \
  --overwrite
{'fraction_non_alphanumeric': 0.15934065934065933, 'fraction_numerical': 0.01098901098901099, 'mean_word_length': 3.7369942196531793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2754648', 'n_tokens_mistral': 627, 'n_tokens_neox': 618, 'n_words': 99}