Skip to content

Instantly share code, notes, and snippets.

View CalvinHartwell's full-sized avatar
💭
Delivering Kubernetes!

Calvin Hartwell CalvinHartwell

💭
Delivering Kubernetes!
View GitHub Profile
@CalvinHartwell
CalvinHartwell / id_rsa.pub
Created February 21, 2019 23:57
id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgqVxNbkwVm4Z1hwZm11cX9KZwFxcu05EAPGX6nUJJPifgilb0xrSIorhS0Ulbv0lTIDRrqQzHqlVFiVWD0Wfszi4CYAxw2DqxEdA+GVtGt09lAlR6HjBjL3PkMrIM8CgMhK4kARdRP1KpgrmWV3C+RDHwVneCUvE7X81BJGRFFCSzbFLpP65y/wRwobk76dDg44vS9VVFix9l/weY0mJMzwFXYmwWcgUKRc8aIEEIizCL1pHycufuKCZAfbt8ga4C0JLRKFi1lKv5Omwv1etCpqBOPwVN33CkM86uaMHPCFVIrd9PjisLpAi+t0GUkAtlmra2AJgxDE20uE/xBfGL calvin@calvinh-ws
@CalvinHartwell
CalvinHartwell / vmware-integrator-values
Created November 22, 2018 09:41
vmware-integrator-values
application: vsphere-integrator
application-config:
trust:
default: false
description: Does this application have access to trusted credentials
source: user
type: bool
value: true
charm: vsphere-integrator
settings:
@CalvinHartwell
CalvinHartwell / vmware-cdk-constraints-ignored.yaml
Created November 19, 2018 15:23
vmware-cdk-constraints-ignored.yaml
description: A highly-available, production-grade Kubernetes cluster.
series: bionic
machines:
#Etcd, master
"0":
constraints: cores=4 mem=16G root-disk=50G
zone: IDC-HVHV-VMW-06
"1":
constraints: cores=4 mem=16G root-disk=50G
zone: IDC-HVHV-VMW-06
@CalvinHartwell
CalvinHartwell / vmware-out-of-space.log
Last active November 19, 2018 15:21
vmware-out-of-space.log
Model Controller Cloud/Region Version SLA Timestamp
default copa-IDC copa/IDC 2.4.6 unsupported 15:14:39Z
App Version Status Scale Charm Store Rev OS Notes
apache2 waiting 0/1 apache2 jujucharms 26 ubuntu
easyrsa waiting 0/1 easyrsa jujucharms 117 ubuntu
elasticsearch waiting 0/1 elasticsearch jujucharms 31 ubuntu
etcd waiting 0/3 etcd jujucharms 209 ubuntu
filebeat waiting 0 filebeat jujucharms 19 ubuntu
flannel waiting 0 flannel jujucharms 146 ubuntu
@CalvinHartwell
CalvinHartwell / cdk-vmware-example.yaml
Created November 18, 2018 23:37
cdk-vmware-example.yaml
#!/bin/bash
# By default, juju will place across zones
# But IDC-HVHV-VMW-05 is used for production
# So we make sure everything goes into IDC-HVHV-VMW-06
ZONE="IDC-HVHV-VMW-06"
CHARM_CONFIG="bundles/cdk-charm-config.yaml"
DATASTORE="IDC-VNX-HYBRID-01"
# bootstrap controller
@CalvinHartwell
CalvinHartwell / cdk112-bionic-openstack.yaml
Last active November 15, 2018 22:50
cdk112-bionic-openstack.yaml
description: A highly-available, production-grade Kubernetes cluster.
series: bionic
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa-114
constraints: root-disk=8G
num_units: 1
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: prometheus
rules:
- apiGroups: ["*"]
resources:
- nodes
- nodes/proxy
@CalvinHartwell
CalvinHartwell / storageclass.yaml
Created October 22, 2018 12:01
storageclass.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: default
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/cinder
@CalvinHartwell
CalvinHartwell / pvc-test.yaml
Created October 22, 2018 12:00
pvc-test.yaml
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-storage-claim
spec:
storageClassName: default
accessModes:
- ReadWriteOnce
resources:
---
series: xenial
description: A highly-available, production-grade Kubernetes cluster.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa-114
num_units: 1