Skip to content

Instantly share code, notes, and snippets.

View cfchase's full-sized avatar

Christopher Chase cfchase

  • Red Hat
  • Raleigh, NC
View GitHub Profile
@cfchase
cfchase / autoscaling-buffer.yaml
Last active August 27, 2021 15:34
Autoscaling buffer
kind: Deployment
apiVersion: apps/v1
metadata:
name: autoscaling-buffer
namespace: rhods-notebooks
spec:
replicas: 4
selector:
matchLabels:
app: autoscaling-buffer
@cfchase
cfchase / catalog-partial.json
Created August 21, 2017 20:29
Partial json showing UI metadata in broker catalog request.
[
{
"plans": [
{
"metadata": {
"schemas": {
"service_instance": {
"create": {
"form_definition": [
"test_param_1",
@cfchase
cfchase / catalog-full.json
Last active August 21, 2017 20:29
Sample service catalog with index/grouping/secret in metadata
[
{
"bindable": true,
"description": "A sample APB which deploys Hello World Database",
"id": "c334ab41fc32d3a0b11f0e815da4c7ba",
"metadata": {
"displayName": "Hello World Database (APB)"
},
"name": "dh-cfchase-hello-world-db-apb-latest",
"plans": [
@cfchase
cfchase / ansible-asb-modules.spec
Created July 26, 2017 16:00
ansible-asb-modules rpm spec
Name: ansible-asb-modules
Version: 0.0.1
Release: 1%{?dist}
Summary: Ansible role containing Ansible Service Broker modules
License: ASL 2.0
URL: https://github.com/cfchase/%{name}
Source0: https://github.com/cfchase/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
@cfchase
cfchase / podpreset.json
Last active July 12, 2017 20:14
podpreset query
//curl -X GET -H "Authorization: Bearer ${TOKEN}" https://172.17.0.1:8443/apis/settings.k8s.io/v1alpha1 --insecure
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "settings.k8s.io/v1alpha1",
"resources": [
{
"name": "podpresets",
"namespaced": true,