Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am chukaofili on github.
  • I am chuka (https://keybase.io/chuka) on keybase.
  • I have a public key ASDH2L0dSJmaX2CcTXURqsSrejb7oFArvJ173y0AO3AEHQo

To claim this, I am signing this object:

apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
email: __EMAIL__
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-prod
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
server: https://acme-staging.api.letsencrypt.org/directory
email: [your-email-goes-here]
privateKeySecretRef:
name: letsencrypt-staging
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: monitoring-influxdb
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: admin-user
@Hemanthdev
Hemanthdev / integration.sh
Created February 24, 2020 13:16 — forked from naina-verma/integration.sh
Script for integration
mkdir integration
cd integration
git clone https://github.com/fabric8io/fabric8-planner.git
git clone https://github.com/fabric8io/fabric8-ui.git
cd fabric8-planner
npm run install
cd ../fabric8-ui
npm run install
cd ../fabric8-planner
npm run watch:library
@Hemanthdev
Hemanthdev / list-of-kubernetes-repos-over-time.py
Created February 24, 2020 13:19 — forked from nikhita/list-of-kubernetes-repos-over-time.py
List of Kubernetes GitHub repos over time in a Graph
import requests
repos = [
'kubernetes',
'kubernetes-client',
'kubernetes-csi',
'kubernetes-incubator',
'kubernetes-sigs',
]
@Hemanthdev
Hemanthdev / cockpit.yaml
Created February 24, 2020 13:24 — forked from diegograssato/cockpit.yaml
Dashboard
# vim:ft=yaml.ansible:
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubernetes-cockpit-deployment
namespace: kubernetes-dashboard
labels:
k8s-app: kubernetes-cockpit-deployment
spec:
selector:
# Configuration checksum: 14132506172776696809
# setup custom paths that do not require root access
pid /tmp/nginx.pid;
load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;
daemon off;
worker_processes 1;