Skip to content

Instantly share code, notes, and snippets.

View lordofthejars's full-sized avatar
🏠
Working from home

Alex Soto lordofthejars

🏠
Working from home
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
connectionpool=50
url=jdbc:h2:~/test
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-deployment
spec:
replicas: 1
selector:
matchLabels:
app: registry-demo
template:
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitea-deployment
spec:
replicas: 1
selector:
matchLabels:
app: gitea-demo
template:
apiVersion: batch/v1
kind: Job
metadata:
name: cluster-init
labels:
app: cockroachdb
spec:
template:
spec:
containers:
istioctl create -f istiofiles/destination-rule-recommendation-v1-v2-v3.yml -n tutorial
kubectl scale deployment recommendation-v2 --replicas=2 -n tutorial
k9s misbehave
k9s behave
kubectl scale deployment recommendation-v2 --replicas=1 -n tutorial
istioctl create -f istiofiles/virtual-service-recommendation-v1-mirror-v2.yml
curl + log k9s
scripts/clean.sh
eyJhbGciOiJSUzI1NiIsImtpZCI6IkRIRmJwb0lVcXJZOHQyenBBMnFYZkNtcjVWTzVaRXI0UnpIVV8tZW52dlEiLCJ0eXAiOiJKV1QifQ.eyJleHAiOjI1NDkwNTY4ODgsImlhdCI6MTU0OTA1Njg4OSwiaXNzIjoidGVzdGluZ0BzZWN1cmUuaXN0aW8uaW8iLCJyb2xlIjoiY3VzdG9tZXIiLCJzdWIiOiJ0ZXN0aW5nQHNlY3VyZS5pc3Rpby5pbyJ9.VM9VOHD2NwDjQ6k7tszB3helfAn5wcldxe950BveiFVg43pp7x5MWTjMtWQRmQc7iYul19PXsmGnSSOiQQobxdn2UnhHJeKeccCdX5YVgX68tR0R9xv_wxeYQWquH3roxHh2Xr2SU3gdt6s7gxKHrW7Zc4Z9bT-fnz3ijRUiyrs-HQN7DBc356eiZy2wS7O539lx3mr-pjM9PQtcDCDOGsnmwq1YdKw9o2VgbesfiHDDjJQlNv40wnsfpq2q4BgS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6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"
}
]
}
[istioctl create -f ../../../istiofiles/destination-rule-recommendation-v4-v5-v6-v7.yml -n tutorial]
[istioctl create -f ../../../istiofiles/virtual-service-recommendation-v4.yml -n tutorial
]
[postgres]
[v4]
kubectl exec -ti postgres-6cc7c8bbd5-p2lbq -c postgres /bin/bash
psql -U admin recommendation
curl customer-tutorial.$(minishift ip).nip.io