I hereby claim:
- I am adamschaub on github.
- I am adamschaub (https://keybase.io/adamschaub) on keybase.
- I have a public key whose fingerprint is C8EE 2823 6D77 8670 8FCD EDB1 1559 C53E C567 861D
To claim this, I am signing this object:
$ oc get pods | |
NAME READY STATUS RESTARTS AGE | |
consul-xzepb 1/1 Running 0 15m | |
couchbase-n5vzz 1/1 Running 0 15m | |
hekad-mmvpu 1/1 Running 0 15m | |
kube2consu-i256t 1/1 Running 0 15m | |
logstash-0xqb0 1/1 Running 0 15m | |
rabbitmq-5gs6k 1/1 Running 0 15m | |
redis-u2n7j 1/1 Running 0 15m |
package main | |
import ( | |
"fmt" | |
"bufio" | |
"os" | |
"strconv" | |
"strings" | |
) | |
type Node struct { |
I hereby claim:
To claim this, I am signing this object:
//program | |
func do(s string, i int) { | |
fmt.Printf("%s_%d\n", s, i) | |
} | |
func main() { | |
for i := 0; i < 5; i++ { | |
go do("Hello", i) | |
go do("World", i) | |
} |
WYSIWYG. Convention over configuration. Productivity > Performance Know how much your code costs. No hidden overloads, overhead, etc.
ADAMSCHA-M-M05P:ansible adamscha$ cat roles/master/templates/podmaster.yml.j2 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: scheduler-master | |
spec: | |
hostNetwork: true | |
containers: | |
- name: scheduler-elector | |
image: gcr.io/google_containers/podmaster:1.1 |
NAME RULE BACKEND ADDRESS | |
nginx-ingress - | |
foo.bar.com | |
/same-route frontend-1:80 | |
bar.baz.com | |
/same-route frontend-2:80 |
$ kubectl describe svc nginx-plus-service | |
Name: nginx-plus-service | |
Namespace: default | |
Labels: <none> | |
Selector: app=nginx-plus-ingress | |
Type: ClusterIP | |
IP: None | |
Port: <unnamed> 8080/TCP | |
Endpoints: 172.16.81.36:8080 | |
Session Affinity: None |
$ kubectl get ing | |
NAME RULE BACKEND ADDRESS | |
nginx-ingress - | |
foo.bar.com | |
/dash kubernetes-dashboard:9090 | |
$ kubectl describe svc kubernetes-dashboard | |
Name: kubernetes-dashboard | |
Namespace: default | |
Labels: app=kubernetes-dashboard |
$ kubectl get ing --namespace=test | |
NAME RULE BACKEND ADDRESS | |
nginx-ingress - | |
bar.baz.com | |
/gemini frontend:80 | |
$ kubectl get ing | |
NAME RULE BACKEND ADDRESS | |
nginx-ingress - | |
foo.bar.com |