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 / gcp-cluster-juju-status
Created October 18, 2018 23:46
gcp-cluster-juju-status
Model Controller Cloud/Region Version SLA Timestamp
default google-europe-west1 google/europe-west1 2.4.4 unsupported 00:45:19+01:00
App Version Status Scale Charm Store Rev OS Notes
apache2 unknown 1 apache2 jujucharms 26 ubuntu exposed
easyrsa 3.0.1 active 1 easyrsa jujucharms 117 ubuntu
elasticsearch active 1 elasticsearch jujucharms 31 ubuntu
etcd 3.2.10 active 3 etcd jujucharms 209 ubuntu
filebeat 5.6.12 active 5 filebeat jujucharms 19 ubuntu
flannel 0.10.0 active 5 flannel jujucharms 146 ubuntu
@CalvinHartwell
CalvinHartwell / cdk-aws-logging-monitoring-no-rbac.yaml
Created October 18, 2018 23:43
cdk-aws-logging-monitoring-no-rbac.yaml
series: xenial
description: A Canonical Kubernetes cluster including the monitoring stack.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa
num_units: 1
to:
@CalvinHartwell
CalvinHartwell / cdk-gcp-logging-monitoring-no-rbac.yaml
Created October 18, 2018 23:41
cdk-gcp-logging-monitoring-no-rbac.yaml
series: xenial
description: A Canonical Kubernetes cluster including the monitoring stack.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa
num_units: 1
to:
@CalvinHartwell
CalvinHartwell / aws-monitoring-juju-status
Created October 18, 2018 23:39
aws-monitoring-juju-status
calvin@calvinh-ws:~/Source/cdk-demo/juju$ juju status
Model Controller Cloud/Region Version SLA Timestamp
default cdk-demo-controller aws/eu-west-1 2.4.4 unsupported 00:39:14+01:00
App Version Status Scale Charm Store Rev OS Notes
apache2 unknown 1 apache2 jujucharms 26 ubuntu exposed
aws-integrator 1.15.71 active 1 aws-integrator jujucharms 5 ubuntu
easyrsa 3.0.1 active 1 easyrsa jujucharms 117 ubuntu
elasticsearch active 1 elasticsearch jujucharms 31 ubuntu
etcd 3.2.10 active 3 etcd jujucharms 209 ubuntu
@CalvinHartwell
CalvinHartwell / aws-rancher
Created October 17, 2018 15:52
aws-rancher
series: xenial
description: A nine-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes.
services:
ceph-mon:
annotations:
gui-x: '600'
gui-y: '300'
charm: cs:ceph-mon
num_units: 3
to:
dig -p 31895 @10.5.5.4 kubernetes.default.svc.cluster.local +tcp
kubectl edit kube-dns -n kube-dns
spec:
clusterIP: 10.152.183.51
externalTrafficPolicy: Cluster
ports:
- name: dns
nodePort: 30053
@CalvinHartwell
CalvinHartwell / cdk-110-no-rbac.yaml
Created October 10, 2018 20:59
cdk-110-no-rbac.yaml
series: xenial
description: A Canonical Kubernetes cluster including the monitoring stack.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa-45
num_units: 1
to:
@CalvinHartwell
CalvinHartwell / status
Created October 10, 2018 19:49
status
calvin@calvinh-ws:~/Source/customers/vxfiber/juju$ juju status
Model Controller Cloud/Region Version SLA Timestamp
default aws-eu-west-1 aws/eu-west-1 2.4.4 unsupported 20:48:31+01:00
App Version Status Scale Charm Store Rev OS Notes
apache2 unknown 1 apache2 jujucharms 26 ubuntu exposed
aws-integrator 1.15.71 active 1 aws-integrator jujucharms 5 ubuntu
easyrsa 3.0.1 active 1 easyrsa jujucharms 45 ubuntu
elasticsearch active 1 elasticsearch jujucharms 31 ubuntu
etcd 3.2.10 active 3 etcd jujucharms 90 ubuntu
@CalvinHartwell
CalvinHartwell / cdk-110.yaml
Created October 10, 2018 19:48
cdk-110.yaml
series: xenial
description: A Canonical Kubernetes cluster including the monitoring stack.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa-45
num_units: 1
to:
@CalvinHartwell
CalvinHartwell / cdk-rancher-ingress.yaml
Created October 9, 2018 11:05
cdk-rancher-ingress.yaml
apiVersion: v1
kind: Namespace
metadata:
name: rancher
labels:
name: rancher
---
kind: ServiceAccount
apiVersion: v1
metadata: