Skip to content

Instantly share code, notes, and snippets.

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

Vee xenirio

🏠
Working from home
  • Chiang Mai, Thailand
View GitHub Profile
@xenirio
xenirio / packer.md
Last active June 29, 2022 09:51
packer

Check service logs

journalctl -f -u cluster.service

Fix multipass microk8s cannot start

ps -ef | grep -i multipass | awk '{print "sudo kill -9 "$2}' | sh

Verify IPs

  • 34.136.221.76
  • 104.155.99.177
@xenirio
xenirio / launch.json
Last active October 21, 2021 05:05
launch-go.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",

Keybase proof

I hereby claim:

  • I am xenirio on github.
  • I am xenirio (https://keybase.io/xenirio) on keybase.
  • I have a public key ASCpQztRDH0-C_FvALQjoI1mq06_ZCijZFx3mvAw1bMbeQo

To claim this, I am signing this object:

@xenirio
xenirio / filter-kubernetes.conf
Last active September 16, 2021 02:42
Filter of K8s fields in fluent-bit
# https://github.com/fluent/fluent-bit/issues/422#issuecomment-873569854
filter-kubernetes.conf: |
[FILTER]
Name kubernetes
Match kube.*
Kube_URL https://kubernetes.default.svc:443
Kube_CA_File /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
Kube_Token_File /var/run/secrets/kubernetes.io/serviceaccount/token
Kube_Tag_Prefix kube.var.log.containers.
Merge_Log Off

Keybase proof

I hereby claim:

  • I am xenirio on github.
  • I am vee_yellow (https://keybase.io/vee_yellow) on keybase.
  • I have a public key ASDAMJztMbwkXFUobSg47bO2Fn7V-Q2ZrolCAMvj81XX3Ao

To claim this, I am signing this object:

@xenirio
xenirio / CLEAR_MYSQL.md
Created March 25, 2021 03:49
mysql 5.7.23 can not start in docker container
  1. docker-compose down
  2. Deleted old volumes (if there is no significant data) docker system prune --force --volumes