This document outlines the failure scenario when using the Kuma service mesh in Kubernetes mode with a Loft.sh vCluster. The Kuma demo app behaves correctly in bare k3s, Kind, minikube, and bare AWS k8s, and the Loft AWS k8 cluster directly, for certain.
Make sure k3s is executable, it's a Linux only app right now and I'm on Mac 11.0.1 so:
brew cask install multipass
Execute the VM (deliberately large):
multipass launch --name k3s --mem 5G --disk 10G
Note most of these all require passes to park (metropark vs. state park)
Potowami (Poto) - http://www.michigandnr.com/parksandtrails/Details.aspx?id=229&type=SPTR#map-tab Probably the most popular place to run trails, but also mountain bike in the area. It’s ~25 mins from Westside of Ann Arbor and is rather hilly/technical for the area.
Island Lake - http://www.michigandnr.com/parksandtrails/Details.aspx?id=462&type=SPRK Mostly flat like a pancake with very few hills, this is another popular spot to enjoy the woods, but without the hills to punish. It’s also an incredibly popular MTB spot for beginners.
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
kssh() { | |
ssh -l ubuntu `knife node show -l $1 -a ec2.public_ipv4 | tail -n1 | sed 's/ec2.public_ipv4: //'` | |
} | |
# add to your .zshrc file, this expects you have the key in your ssh agent | |
# use: kssh peach-api-16 |
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
var request = require('request') | |
var async = require('async') | |
var url = "https://yourapi" | |
// status codes and the number of results | |
var results = {200 : 0, 500: 0}; | |
var requestIt = function(cb) { | |
request(url, function (error, response, body) { |
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
1. Install: https://github.com/julienXX/terminal-notifier | |
2. Have iterm2: https://www.iterm2.com/ | |
3. In iterm2, setup a trigger on your "Profile" => "Advanced" => "Triggers", like | |
https://www.evernote.com/l/AAX11ukjn5pDSYrbR54z_vNJuv-U6jyU6BAB/image.png | |
Where regexp is: "Deployment .+ for .+ on deployment id .*" | |
and params are "/usr/local/bin/terminal-notifier -title "Deployment finished" -message "\0" | |
4. That should do it. You can test it out by running: | |
sleep 5 && echo "Deployment succeeded for Peach-API on deployment id d-GXY9RDCGB |
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
var http = require('http'); | |
http.createServer(function (req, res) { | |
console.log("Got the request, but I'm not going to do anything about it, hahahahah"); | |
}).listen(1337, '127.0.0.1'); | |
console.log('Server running at http://127.0.0.1:1337/'); |
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
Thread : Fatal Exception: NSRangeException | |
0 CoreFoundation 0x2e5edf03 __exceptionPreprocess + 130 | |
1 libobjc.A.dylib 0x38d82ce7 objc_exception_throw + 38 | |
2 CoreFoundation 0x2e524331 -[__NSArrayI objectAtIndex:] + 176 | |
3 RunForth 0x000c916b -[Logout alertView:willDismissWithButtonIndex:] (Logout.m:22) | |
4 UIKit 0x3103437f -[_UIModalItemsCoordinator _dismissItem:withTappedButtonIndex:animated:notifyDelegate:] + 330 | |
5 UIKit 0x31034037 -[_UIModalItemAlertContentView tableView:didSelectRowAtIndexPath:] + 694 | |
6 UIKit 0x30f3b7f3 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1078 | |
7 UIKit 0x30fedcb3 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 214 | |
8 UIKit 0x30e9ce09 _applyBlockToCFArrayCopiedToStack + 316 |
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
*** -[__NSArrayI objectAtIndex:]: index 5 beyond bounds [0 .. 0] | |
( | |
"1 RunForth 0x0025e109 HandleUbertestersException + 64", | |
"2 CoreFoundation 0x2e5ee205 <redacted> + 580", | |
"3 libobjc.A.dylib 0x38d82f6b <redacted> + 174", | |
"4 libc++abi.dylib 0x3874d1b3 <redacted> + 78", | |
"5 libc++abi.dylib 0x3874cd17 __cxa_rethrow + 102", | |
"6 libobjc.A.dylib 0x38d82e2f objc_exception_rethrow + 42", | |
"7 CoreFoundation 0x2e52181f CFRunLoopRunSpecific + 642", | |
"8 CoreFoundation 0x2e52158b CFRunLoopRunInMode + 106", |
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
{ | |
"item": [ | |
{ | |
"value": 1320, | |
"label": "200" | |
}, | |
{ | |
"value": 8, | |
"label": "400" | |
}, |
NewerOlder