Created
May 8, 2019 08:34
-
-
Save lordofthejars/7abd4ef7d1a29997b7e2d746d72d123b to your computer and use it in GitHub Desktop.
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
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 | |
istioctl create -f istiofiles/enduser-authentication-jwt.yml | |
curl | |
istioctl create -f istiofiles/authorization-enable-rbac.yml -n tutorial | |
istioctl create -f istiofiles/namespace-rbac-policy-jwt.yml -n tutorial | |
token=$(curl https://gist.githubusercontent.com/lordofthejars/f590c80b8d83ea1244febb2c73954739/raw/21ec0ba0184726444d99018761cf0cd0ece35971/token.role.jwt -s) | |
curl -H "Authorization: Bearer $token" customer-tutorial.$(minishift ip).nip.io | |
change token | |
scripts/clean | |
oc apply -f <(istioctl kube-inject -f recommendation/kubernetes/Deployment-v3.yml) -n tutorial | |
istioctl create -f istiofiles/destination-rule-recommendation-v1-v2-v3.yml -n tutorial | |
curl -H "user-preference: 123" customer-tutorial.$(minishift ip).nip.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment