Skip to content

Instantly share code, notes, and snippets.

View tuannvm's full-sized avatar
🎯
Focusing

Tommy Nguyen tuannvm

🎯
Focusing
View GitHub Profile
@tuannvm
tuannvm / cd.md
Last active October 9, 2022 00:34
#argo #cd #rollout #workflow #event
@tuannvm
tuannvm / main.go
Created July 14, 2021 09:04
#go #http #server #debug #troubleshoot
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"github.com/gorilla/mux"
)
@tuannvm
tuannvm / facts.md
Last active June 13, 2021 05:48
#ebpf #bpf
@tuannvm
tuannvm / user_data.yaml
Last active January 7, 2021 12:27
#do #digitalocean #vpn #outline
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0
--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cloud-config.txt"
#cloud-config
@tuannvm
tuannvm / openbox.xml
Last active March 17, 2020 01:44
#raspberry #desktop
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
@tuannvm
tuannvm / note.md
Created June 20, 2019 03:51
#gitlab #note
  • Need to disable shared runner for new repository
@tuannvm
tuannvm / note.md
Last active June 22, 2019 14:04
#servicemesh #istio

Isitio evaluation

Setting Request Timeouts

One more thing to note about timeouts in Istio is that in addition to overriding them in route rules, as you did in this task, they can also be overridden on a per-request basis if the application adds an x-envoy-upstream-rq-timeout-ms header on outbound requests. In the header, the timeout is specified in milliseconds instead of seconds.

Doesn't work in istio-enabled GKE, as right after we try to modify ingressgateway GKE will try to revert that :(

@tuannvm
tuannvm / summary.md
Created May 24, 2019 00:05
#gcp #cloudrun

Evaluation

Pros

Cons

  • Only support us-central1 atm
  • 3 predefined roles
    • admin
  • invoker