Skip to content

Instantly share code, notes, and snippets.

@24601
24601 / micro-k8s-setup.md
Created March 11, 2023 01:12 — forked from borkmann/micro-k8s-setup.md
MicroK8s setup for Cilium

Set up microk8s with Cilium for development

Microk8s is a Canonical project to provide a kubernetes environment for local development, similar to minikube but without requiring a separate VM to manage. These instructions describe setting it up for common development use cases with Cilium and may be helpful in particular for testing BPF kernel extensions with Cilium.

Microk8s will run its own version of docker for the kubernetes runtime, so if you have an existing docker installation then this may be confusing, for instance when building images the image may be stored with one of these installations and not the other. This guide assumes you will run both docker daemon instances, and use your existing docker-ce for building Cilium while using the microk8s.docker daemon instance for the runtime of your kubernetes pods.

Requirements

@24601
24601 / micro-k8s-setup.md
Created March 11, 2023 01:12 — forked from borkmann/micro-k8s-setup.md
MicroK8s setup for Cilium

Set up microk8s with Cilium for development

Microk8s is a Canonical project to provide a kubernetes environment for local development, similar to minikube but without requiring a separate VM to manage. These instructions describe setting it up for common development use cases with Cilium and may be helpful in particular for testing BPF kernel extensions with Cilium.

Microk8s will run its own version of docker for the kubernetes runtime, so if you have an existing docker installation then this may be confusing, for instance when building images the image may be stored with one of these installations and not the other. This guide assumes you will run both docker daemon instances, and use your existing docker-ce for building Cilium while using the microk8s.docker daemon instance for the runtime of your kubernetes pods.

Requirements

@24601
24601 / rect-starlink-cable-hack.md
Created June 2, 2022 19:48 — forked from darconeous/rect-starlink-cable-hack.md
Hacking the Rectangular Starlink Dishy Cable
@24601
24601 / readme.adoc
Created December 8, 2021 05:04 — forked from arun-gupta/readme.adoc
Federated Kubernetes Cluster using Kops on AWS

Let’s set up a federation between earth and mars Kubernetes cluster on AWS.

Earth cluster

  1. Create hosted zone:

    ID=$(uuidgen) && \
       aws route53 create-hosted-zone \
       --name earth.kubernetes-aws.io \
@24601
24601 / Wallet Addresses
Created July 8, 2021 03:30 — forked from f13end/Wallet Addresses
List of addresses for major bitcoin and ethereum exchanges
1.Binance
2.Bitfinex
3.Huobi
4.Bitstamp
5.Coincheck
6.Kraken
7.Poloniex
8.Gate.io (Only ETH)
9.Cryptopia (Only ETH)
10.Gemini (Only ETH)

Keybase proof

I hereby claim:

  • I am 24601 on github.
  • I am 81435 (https://keybase.io/81435) on keybase.
  • I have a public key ASAxjXj3fjKEOZ2lXqpg3XczCmEjEWJLNUPuJPKpoI-9FQo

To claim this, I am signing this object:

[kie-server-697fbf8448-zxdcq] [2026.589s][info ][class,load ] jdk.internal.reflect.GeneratedConstructorAccessor149 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.655s][info ][class,load ] org.apache.maven.artifact.handler.DefaultArtifactHandler$__sisu10 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.661s][info ][class,load ] org.apache.maven.artifact.handler.DefaultArtifactHandler$__sisu18 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.662s][info ][class,load ] org.apache.maven.artifact.handler.DefaultArtifactHandler$__sisu12 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.662s][info ][class,load ] org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher$__sisu23 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.663s][info ][class,load ] org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping$__sisu2 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [2027.663s][info ][class,load ] org.apa
[kie-server-697fbf8448-zxdcq] [55.765s][info ][class,load ] jdk.internal.reflect.GeneratedConstructorAccessor144 source: __JVM_DefineClass__
[kie-server-697fbf8448-zxdcq] [55.770s][info ][class,load ] org.kie.api.runtime.manager.RuntimeEnvironmentBuilder$Factory source: vfs:/opt/jboss/wildfly/standalone/deployments/kie-server.war/WEB-INF/lib/kie-api-7.40.0.Final.jar
[kie-server-697fbf8448-zxdcq] [55.777s][info ][class,load ] org.jbpm.services.ejb.timer.EjbSchedulerService source: vfs:/opt/jboss/wildfly/standalone/deployments/kie-server.war/WEB-INF/lib/jbpm-services-ejb-timer-7.40.0.Final.jar
[kie-server-697fbf8448-zxdcq] [55.778s][info ][class,load ] org.jbpm.process.core.timer.impl.DelegateSchedulerServiceInterceptor source: vfs:/opt/jboss/wildfly/standalone/deployments/kie-server.war/WEB-INF/lib/jbpm-flow-7.40.0.Final.jar
[kie-server-697fbf8448-zxdcq] [55.828s][info ][class,load ] org.kie.internal.runtime.conf.ObjectModelResolverProvider source: vfs:/opt/jboss/wildfly/standalone/deployments/k
@24601
24601 / kematzy.hasura.audit_trail.sql
Created July 10, 2020 03:08 — forked from kematzy/kematzy.hasura.audit_trail.sql
Hasura AuditTrail by Kematzy
-- ## Kematzy Hasura AuditTrail
-- This is based on the [Hasura/audit-trigger](https://github.com/hasura/audit-trigger).
--
-- Changes from the Hasura version:
-- 1. Simplified audit table schema with these changes:
-- a. Renamed columns to lowerFirst format.
-- b. Changed order of columns.
-- c. Combined schema & table name into one column.
-- d. Stores the record `id` UUID value in the `rowId` column.
@24601
24601 / machine.js
Last active July 8, 2020 21:25
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions