Skip to content

Instantly share code, notes, and snippets.

View stevendborrelli's full-sized avatar

Steven Borrelli stevendborrelli

View GitHub Profile
@stevendborrelli
stevendborrelli / crossplane-1.14.md
Last active April 26, 2025 07:09
Crossplane 1.14 Overview

A Tour of Crossplane 1.14

Crossplane is an Open-Source project that enables management of almost anything in the Cloud via the Kubernetes API.

Crossplane version 1.14 released November 1, 2023, is one of the most consequential releases in the project's history.

While Composition Functions and Provider performance improvements are headline features, there are substantial updates across the project: from a focus on developer and operator experience, Upbound's code donation to the CNCF, to API maturation.

This Document was updated November 7, 2023.

@stevendborrelli
stevendborrelli / bluesky.md
Last active April 24, 2025 04:52
Bluesky Starter Packs

Provider crossplane/provider-azure:v0.18.1

kubectl get secrets -n crossplane-system 
NAME                  TYPE                                  DATA   AGE
default-token-mfplc   kubernetes.io/service-account-token   3      34m
example-psql          connection.crossplane.io/v1alpha1     4      4m10s
package topic
import (
"fmt"
"testing"
"github.com/crossplane-contrib/provider-kafka/apis/topic/v1alpha1"
"github.com/google/go-cmp/cmp"
)
@stevendborrelli
stevendborrelli / deviceInfo.cu
Created December 14, 2012 16:49
Get Information about CUDA cards on your system. Compile with: nvcc deviceInfo.cu -o deviceInfo
#include <cuda.h>
#include <stdio.h>
void cudasafe(int error, char* message, char* file, int line) {
if (error != cudaSuccess) {
fprintf(stderr, "CUDA Error: %s : %i. In %s line %d\n", message, error, file, line);
exit(-1);
}
}
@stevendborrelli
stevendborrelli / kustomization.yaml
Created September 10, 2021 03:15
Basic Crossplane azure examples
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- rg.yaml
- network.yaml
- subnet.yaml
- postgres.yaml
- pg-config.yaml

Converge

Converge is a configuration management tool that makes it easy to manage servers, laptops and other devices.

  • Easy to install and run.
  • Includes a powerful graph engine that automatically generates dependencies and runs tasks in parallel.
  • API-first. All communication runs through grpc.
kind: DaemonSet
metadata:
name: traefik-ingress-controller
labels:
k8s-app: traefik-ingress-lb
spec:
template:
metadata:
labels:
k8s-app: traefik-ingress-lb
variable name {
default = "terraform"
description = "Name of the virtual network"
}
variable location {
default = "Central US"
description = "Geographic location of the virtual network"
}
This file has been truncated, but you can view the full file.
TF_LOG=1 terraform apply 2>&1 | tee terraform.out
2016/05/10 13:27:39 [WARN] Invalid log level: "1". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR]
2016/05/10 13:27:39 [INFO] Terraform version: 0.6.15 0c5c54e7b6a59d77e89ce24057509503639d8d3d
2016/05/10 13:27:39 [DEBUG] Detected home directory from env var: /Users/steve
2016/05/10 13:27:39 [DEBUG] Discovered plugin: atlas = /Users/steve/terraform/terraform-provider-atlas
2016/05/10 13:27:39 [DEBUG] Discovered plugin: aws = /Users/steve/terraform/terraform-provider-aws
2016/05/10 13:27:39 [DEBUG] Discovered plugin: azure = /Users/steve/terraform/terraform-provider-azure
2016/05/10 13:27:39 [DEBUG] Discovered plugin: azurerm = /Users/steve/terraform/terraform-provider-azurerm
2016/05/10 13:27:39 [DEBUG] Discovered plugin: chef = /Users/steve/terraform/terraform-provider-chef
2016/05/10 13:27:39 [DEBUG] Discovered plugin: clc = /Users/steve/terraform/terraform-provider-clc