Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
naveensrinivasan / zipkin-starter-0.1.5-kubernetes.yml
Created Mar 25, 2017
Zipkin for k8s using PersistentVolumeClaim and Dynamic Provisioning
View zipkin-starter-0.1.5-kubernetes.yml
---
apiVersion: "v1"
kind: "List"
items:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/master/kafka/src/main/fabric8/icon.png"
fabric8.io/git-commit: "500219733b1151415686940f4b893d7add206822"
@naveensrinivasan
naveensrinivasan / zipkin-starter-0.1.5-kubernetes.yml
Created Mar 25, 2017
Zipkin for k8s using PersistentVolumeClaim and Dynamic Provisioning
View zipkin-starter-0.1.5-kubernetes.yml
---
apiVersion: "v1"
kind: "List"
items:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/master/kafka/src/main/fabric8/icon.png"
fabric8.io/git-commit: "500219733b1151415686940f4b893d7add206822"
View pet-snippet.toml
[[snippets]]
description = "set katana namespace"
command = "k config set-context minikube --namespace=katana"
[[snippets]]
description = "Get global ip address"
command = "curl ifconfig.co"
[[snippets]]
description = "katana"
View pet-snippet.toml
[[snippets]]
description = "set katana namespace"
command = "k config set-context minikube --namespace=katana"
[[snippets]]
description = "Get global ip address"
command = "curl ifconfig.co"
View example-linkerd.json
{
"clnt/daemonsetTransformer/available" : 1.0,
"clnt/daemonsetTransformer/cancelled_connects" : 0,
"clnt/daemonsetTransformer/closes" : 0,
"clnt/daemonsetTransformer/connect_latency_ms.count" : 0,
"clnt/daemonsetTransformer/connection_duration.count" : 0,
"clnt/daemonsetTransformer/connection_received_bytes.count" : 0,
"clnt/daemonsetTransformer/connection_requests.count" : 0,
"clnt/daemonsetTransformer/connection_sent_bytes.count" : 0,
"clnt/daemonsetTransformer/connections" : 1.0,
View linkerd-metrics.json
{
"clnt/zipkin-tracer/available" : 1.0,
"clnt/zipkin-tracer/cancelled_connects" : 0,
"clnt/zipkin-tracer/closes" : 0,
"clnt/zipkin-tracer/codec_connection_preparation_latency_ms.count" : 0,
"clnt/zipkin-tracer/connect_latency_ms.count" : 0,
"clnt/zipkin-tracer/connection_duration.count" : 0,
"clnt/zipkin-tracer/connection_received_bytes.count" : 0,
"clnt/zipkin-tracer/connection_requests.count" : 0,
"clnt/zipkin-tracer/connection_sent_bytes.count" : 0,
View keybase..md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: linkerd-config
data:
config.yaml: |-
admin:
port: 9990
telemetry:
@naveensrinivasan
naveensrinivasan / proposal.txt
Created Feb 18, 2017
proposal for jenkins meetup
View proposal.txt
Planning to present Washington, DC Jenkins Area Meetup using Jenkins and Kubernetes with Helm.
The goal is to scale the builds with containers as when needed and scale down when it is not being used.
Also use the helm to standup a jenkins server locally as well as remotely with the least amount of efforts.
Here is an example of that
https://twitter.com/snaveen/status/807265729884065792
View mysql-deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ template "fullname" . }}
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec: