Skip to content

Instantly share code, notes, and snippets.

View richardcase's full-sized avatar

Richard Case richardcase

View GitHub Profile
@richardcase
richardcase / cluster-template.yaml
Last active January 27, 2022 19:45
EKSA Testing
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: "${CLUSTER_NAME}"
spec:
clusterNetwork:
pods:
cidrBlocks:
- ${POD_CIDR:=172.25.0.0/16}
@richardcase
richardcase / bundle-override.yaml
Last active January 31, 2022 15:03
EKSA Bundle Override
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Bundles
metadata:
creationTimestamp: "2022-01-25T04:54:45Z"
spec:
cliMaxVersion: v0.0.0
cliMinVersion: v0.0.0
number: 1
versionsBundles:
- aws:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Bundles
metadata:
creationTimestamp: "2022-02-03T13:54:31Z"
spec:
cliMaxVersion: v0.0.0
cliMinVersion: v0.0.0
number: 1
versionsBundles:
- aws:
apiVersion: v1
kind: Namespace
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-mvm
control-plane: controller-manager
name: capmvm-system
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
@richardcase
richardcase / infrastructure-components.yaml
Created February 25, 2022 15:56
InfraComponents-20220225
apiVersion: v1
kind: Namespace
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-mvm
control-plane: controller-manager
name: capmvm-system
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
@richardcase
richardcase / cluster-template.yaml
Created February 25, 2022 15:59
Cluster Teplate 20220225
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: "${CLUSTER_NAME}"
spec:
clusterNetwork:
pods:
cidrBlocks:
- ${POD_CIDR:=172.25.0.0/16}
apiVersion: v1
kind: Namespace
metadata:
name: eksa-system
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.1
This file has been truncated, but you can view the full file.
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Release
metadata:
creationTimestamp: "2022-03-02T02:15:44Z"
name: eks-anywhere
spec:
latestVersion: v0.0.0-dev+build.1669
releases:
- bundleManifestUrl: https://gist.githubusercontent.com/richardcase/97711a6d47db20be8005a67d70552ab3/raw/15d8c35f1af2b8c2ad0e0d662270a2dde5da583b/bundle-override-2.yaml
date: 2021-09-03 01:05:39.437599334 +0000 UTC
@richardcase
richardcase / index.js
Created June 27, 2022 09:40
Flintlock Node Client
var PROTO_PATH = [
'/home/richard/code/ww/flintlock/api/types/microvm.proto',
'/home/richard/code/ww/flintlock/api/services/microvm/v1alpha1/microvms.proto'
];
var grpc = require('@grpc/grpc-js');
var protoLoader = require('@grpc/proto-loader');
var packageDefinition = protoLoader.loadSync(
PROTO_PATH,
Last login: Tue Jan 10 14:07:16 on ttys017
~ using ☁️ default/
➜ fig debug logs
fig2023-01-10T18:37:54.108855Z DEBUG fig_desktop::webview::notification: 45: Broadcasting webview notification notification_type=NotifyOnLocalStateChanged
2023-01-10T18:37:54.109043Z DEBUG fig_desktop::file_watcher: 196: State added key=developer.logging value=true
2023-01-10T18:37:54.111762Z DEBUG fig_desktop::webview::notification: 45: Broadcasting webview notification notification_type=NotifyOnLocalStateChanged
2023-01-10T18:37:58.753526Z DEBUG fig_desktop::webview: 934: Network reachability flags flags=REACHABLE
2023-01-10T18:37:59.948097Z DEBUG macos_utils::window_server: 352: app com.microsoft.teams is already registered
2023-01-10T18:37:59.955505Z INFO fig_input_method::imk: 189: responds_to_selector