Skip to content

Instantly share code, notes, and snippets.

View mattymo's full-sized avatar

Matthew Mosesohn mattymo

View GitHub Profile
root@node1:~# openssl x509 -in /etc/kubernetes/ssl/node-node1.pem -text -noout
Certificate:
Data:
Version: 1 (0x0)
Serial Number: 13384200210840581203 (0xb9be3b2de1dc7453)
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=kube-ca
Validity
Not Before: Feb 27 09:50:45 2017 GMT
Not After : Feb 25 09:50:45 2027 GMT
diff --git a/roles/kubernetes/node/defaults/main.yml b/roles/kubernetes/node/defaults/main.yml
index 99ed2bd..a74e52b 100644
--- a/roles/kubernetes/node/defaults/main.yml
+++ b/roles/kubernetes/node/defaults/main.yml
@@ -27,3 +27,5 @@ nginx_cpu_requests: 50m
nginx_image_repo: nginx
nginx_image_tag: 1.11.4-alpine
+
+etcd_config_dir: /etc/ssl/etcd
---
e2e_conformance_image_repo: "artifactory.local:5003/k8s-conformance"
e2e_conformance_image_tag: "v1.3.5_a1b3c4_1"
hyperkube_image_repo: "artifactory.local:5003/hyperkube-amd64"
hyperkube_image_tag: "v1.3.5_abcdef_1"
@mattymo
mattymo / patchsets-from-topic.sh
Last active August 29, 2015 14:22
gerrit patches from topic
#!/bin/bash
GERRITUSER=$USER
TOPIC=$1
EXTRAQUERY=$2
#Sort order
#0=as gerrit says (newest first)
#1=numeric by patchset id
#2=reverse of gerrit (oldest first)
SORTED=2
if [ -z "$1" ];then echo "specify topic"; exit 1; fi