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
#!/bin/bash | |
# Params | |
# $1 environment (int or stage) | |
# $2 cluster name to debug | |
# $3 base directory to create logs and keys | |
if [ "$1x" == "x" ] | |
then | |
echo "It requires an environment {int or stage}" |
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
/* | |
KialiGridLayout | |
This is a version of the "grid" algorithm provided by Cytoscape at | |
https://github.com/cytoscape/cytoscape.js/blob/unstable/src/extensions/layout/grid.js | |
The standard algorithm needs some refinements for Kiali use cases and in this case it's simpler to clone it | |
rather than provide an extension. | |
*/ |
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
sh-4.4$ cat /proc/meminfo | |
MemTotal: 32923544 kB | |
MemFree: 9112472 kB | |
MemAvailable: 20746336 kB | |
Buffers: 1076 kB | |
Cached: 11561292 kB | |
SwapCached: 0 kB | |
Active: 1556100 kB | |
Inactive: 20597032 kB | |
Active(anon): 17680 kB |
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
0s Warning FailedSync pod/kiali-operator-688cbb4754-d64ks error determining status: rpc error: code = DeadlineExceeded desc = context deadline exceeded | |
60m Normal Scheduled pod/kiali-operator-5b55847b9-xn8km Successfully assigned kiali-operator/kiali-operator-5b55847b9-xn8km to minikube | |
60m Normal SuccessfulCreate replicaset/kiali-operator-5b55847b9 Created pod: kiali-operator-5b55847b9-xn8km | |
60m Normal ScalingReplicaSet deployment/kiali-operator Scaled up replica set kiali-operator-5b55847b9 to 1 | |
1s Normal TaintManagerEviction pod/kiali-operator-688cbb4754-d64ks Cancelling deletion of Pod kiali-operator/kiali-operator-688cbb4754-d64ks | |
60m Warning FailedCreatePodSandBox pod/kiali-operator-5b55847b9-xn8km Failed to create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "kiali-operator-5b55847b9-xn8km": operation timeout: contex |
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
export PROJECT_ID=`gcloud config get-value project` && \ | |
export M_TYPE=n1-standard-2 && \ | |
export ZONE=us-west2-a && \ | |
export CLUSTER_NAME=${PROJECT_ID}-${RANDOM} && \ | |
gcloud services enable container.googleapis.com && \ | |
gcloud container clusters create $CLUSTER_NAME \ | |
--cluster-version latest \ | |
--machine-type=$M_TYPE \ | |
--num-nodes 4 \ | |
--zone $ZONE \ |
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
[1] Open https://console.cloud.google.com/ with your gmail account | |
[2] Create a Project / Choose a Project you have access to. | |
[3] Activate "Cloud Shell" | |
[4] Prepare a GKE cluster using | |
https://istio.io/latest/docs/setup/platform-setup/gke/ | |
export PROJECT_ID=`gcloud config get-value project` && \ |
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
#!/usr/bin/env bash | |
VERSION=1.7.4 | |
if [[ ! -d "${HOME}/Software/istio-${VERSION}" ]] | |
then | |
cd Software | |
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${VERSION} TARGET_ARCH=x86_64 sh - | |
fi |
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
=== OPERATOR SETTINGS === | |
DRY_RUN_ARG= | |
HELM=/usr/local/bin/helm | |
HELM_CHART=/home/lponce/Projects/repos/kiali-operator/_output/charts/kiali-operator-v1.23.0-SNAPSHOT.tgz | |
HELM_REPO_CHART_VERSION=lastrelease | |
OPERATOR_CLUSTER_ROLE_CREATOR=true | |
OPERATOR_IMAGE_NAME=localhost:5000/kiali/kiali-operator | |
OPERATOR_IMAGE_PULL_POLICY=Always | |
OPERATOR_IMAGE_VERSION=dev | |
OPERATOR_INSTALL_KIALI=false |
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
.requests-total input[type='range']:hover { | |
opacity: 1; | |
} | |
.requests-total input[type='range']::-webkit-slider-thumb { | |
-webkit-appearance: none; | |
appearance: none; | |
width: 25px; | |
height: 25px; | |
cursor: pointer; |
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
<div class="travel-t1"> | |
<input type="range" id="${city.city}_travel_t1" /> | |
</div> | |
<div class="travel-t2"> | |
<input type="range" id="${city.city}_travel_t2" /> | |
</div> | |
<div class="travel-t3"> | |
<input type="range" id="${city.city}_travel_t3" /> | |
</div> |
NewerOlder