Skip to content

Instantly share code, notes, and snippets.

View dghubble's full-sized avatar

Dalton Hubble dghubble

View GitHub Profile
# Generated by go2rpm 1.9.0
%bcond_without check
# https://github.com/containerd/btrfs
%global goipath github.com/containerd/btrfs/v2
Version: 2.0.0
%gometa -f
%global common_description %{expand:
@dghubble
dghubble / cla.md
Created November 3, 2022 01:58
poseidon-labs-CLA

Poseidon Laboratories LLC Individual Contributor License Agreement ("Agreement"), v1.0

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Poseidon Laboratories, LLC ("Poseidon Labs"). Except for the license granted herein to Poseidon Labs and recipients of software distributed by Poseidon Labs, You reserve all right, title, and interest in and to Your Contributions.

  1. Definitions.

"You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Poseidon Labs. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of

resource "kubernetes_deployment" "github-runner-arm64" {
wait_for_rollout = false
metadata {
name = "github-runner-arm64"
}
spec {
replicas = 2
strategy {
type = "RollingUpdate"
rolling_update {
@dghubble
dghubble / drone.yaml
Created March 7, 2021 20:02
Kubernetes manifests for Drone with Litestream
apiVersion: v1
kind: ConfigMap
metadata:
name: drone
data:
DRONE_SERVER_PROTO: "https"
DRONE_SERVER_HOST: "drone.example.com"
DRONE_SERVER_PORT: ":8080"
# Comma separated list of Github users or orgs
DRONE_USER_FILTER: dghubble
@dghubble
dghubble / gist:1d36b9cd041f5b350e665101ff5ffa00
Last active December 4, 2020 21:02
Cilium #14287: SchedulerPredicates Kubernetes conformance test failure
[sig-scheduling] SchedulerPredicates [Serial]
validates that there is no conflict between pods with same hostPort but different hostIP and protocol [Conformance]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:629
[BeforeEach] [sig-scheduling] SchedulerPredicates [Serial]
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:174
STEP: Creating a kubernetes client
Dec 4 18:49:31.021: INFO: >>> kubeConfig: /tmp/kubeconfig-941584854
STEP: Building a namespace api object, basename sched-pred
STEP: Waiting for a default service account to be provisioned in namespace
[BeforeEach] [sig-scheduling] SchedulerPredicates [Serial]
2020/08/11 02:21:40 [INFO] Terraform version: 0.13.0
2020/08/11 02:21:40 [INFO] Go runtime version: go1.14.2
2020/08/11 02:21:40 [INFO] CLI args: []string{"/home/dghubble/sources/terraform-0.13.0/terraform", "plan"}
2020/08/11 02:21:40 [DEBUG] Attempting to open CLI config file: /home/dghubble/.terraformrc
2020/08/11 02:21:40 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/08/11 02:21:40 [DEBUG] checking for credentials in "/home/dghubble/.terraform.d/plugins"
2020/08/11 02:21:40 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/08/11 02:21:40 [DEBUG] will search for provider plugins in /home/dghubble/.terraform.d/plugins
2020/08/11 02:21:40 [DEBUG] ignoring non-existing provider search directory /home/dghubble/.local/share/terraform/plugins
2020/08/11 02:21:40 [DEBUG] ignoring non-existing provider search directory /home/dghubble/.local/share/flatpak/exports/share/terraform/plugins
@dghubble
dghubble / example.ign
Last active September 24, 2018 07:56
{
"ignition": {
"config": {},
"security": {
"tls": {}
},
"timeouts": {},
"version": "2.2.0"
},
"networkd": {},

bootkube

Jun 24 20:12:47 node1.example.com bootkube-start[1389]: [  392.335477] bootkube[5]: All self-hosted control plane components successfully started
Jun 24 20:12:47 node1.example.com bootkube-start[1389]: [  392.380119] bootkube[5]: Migrating to self-hosted etcd cluster...
Jun 24 20:12:47 node1.example.com bootkube-start[1389]: [  392.381440] bootkube[5]: I0624 20:12:47.457458       5 log.go:19] warning: ignoring ServerName for user-provided CA for backwards compatibility is depre
cated
Jun 24 20:12:52 node1.example.com bootkube-start[1389]: [  397.379177] bootkube[5]: I0624 20:12:52.487624       5 migrate.go:65] created etcd cluster TPR
Jun 24 20:12:57 node1.example.com bootkube-start[1389]: [  402.504725] bootkube[5]: I0624 20:12:57.613136       5 migrate.go:76] etcd-service IP is 10.3.0.15
Jun 24 20:12:57 node1.example.com bootkube-start[1389]: [  402.517627] bootkube[5]: I0624 20:12:57.621899       5 migrate.go:81] created etcd cluster for migration
@dghubble
dghubble / Dockerfile
Created June 6, 2017 01:43
coreos-kvm
FROM ubuntu:16.10
MAINTAINER Dalton Hubble <[email protected]>
ARG CL_CHANNEL
ARG CL_VERSION
COPY scripts /scripts
RUN /scripts/build
EXPOSE 2222
ENTRYPOINT ["/scripts/start"]
@dghubble
dghubble / kubeception.md
Last active November 10, 2024 06:07
Running QEMU/KVM and Nested Kubernetes on Bare-Metal Kubernetes