graph LR
subgraph Verification[Kafka Verification: Client Latency<br><br><br><br>]
subgraph Customer Kafka
brokers(Topic: VERICA-CLIENT-LATENCY)
end
subgraph Client Latency Producer Pod
P{Producer} --> L1(TC Latency) -.-> | Configured Latency | brokers
end
subgraph Client Latency Consumer Pod
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
| addEventListener('fetch', event => { | |
| event.respondWith(handleRequest(event.request)); | |
| }); | |
| async function handleRequest(request) { | |
| // https://api.weather.gov/points/38.8894,-77.0352 | |
| const { latitude, longitude } = request.cf; | |
| const headers = { | |
| 'content-type': 'application/json', | |
| 'User-Agent': ('landro.dev', '[email protected]') |
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
| function parseMarkdown(markdownText) { | |
| const htmlText = markdownText | |
| .replace(/^### (.*$)/gim, '<h3>$1</h3>') | |
| .replace(/^## (.*$)/gim, '<h2>$1</h2>') | |
| .replace(/^# (.*$)/gim, '<h1>$1</h1>') | |
| .replace(/^\> (.*$)/gim, '<blockquote>$1</blockquote>') | |
| .replace(/\*\*(.*)\*\*/gim, '<b>$1</b>') | |
| .replace(/\*(.*)\*/gim, '<i>$1</i>') | |
| .replace(/!\[(.*?)\]\((.*?)\)/gim, "<img alt='$1' src='$2' />") | |
| .replace(/\[(.*?)\]\((.*?)\)/gim, "<a href='$2'>$1</a>") |
graph
subgraph Cluster[Target Kubernetes Cluster<br><br>]
Verification(Pod: Node Drain Verification )
ctpl(Control Plane)
n0(Node0<br>Pods: a,b,c,d,g,h)
n1(Node1<br>Pods: e,f,g,h)
n1final(Node1)
n2(Node2<br>Pods: i,j,k,l,e,f)
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
| wttr () { | |
| curl wttr.in | |
| } | |
| moon () { | |
| curl wttr.in/moon | |
| } | |
| geoip () { | |
| curl ifconfig.co/json |
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
| { | |
| "basics": { | |
| "name": "Jay Landro", | |
| "label": "", | |
| "picture": "", | |
| "summary": "", | |
| "location": { | |
| "address": "", | |
| "postalCode": "55407", | |
| "city": "Minneapolis", |
sequenceDiagram
participant Client
participant Server
participant Database
Client->>Server: Send login credentials
Server->>Database: Validate credentials
Database-->>Server: Return user info (if valid)
alt Credentials validOlderNewer