Skip to content

Instantly share code, notes, and snippets.

Mark Betz Markbnj

Block or report user

Report or block Markbnj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test-ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test-ingress
annotations:
kubernetes.io/ingress.class: "gce"
spec:
tls:
- secretName: my-ssl-secret
rules:
View test-service-loadbalancer.yaml
kind: Service
apiVersion: v1
metadata:
name: service-test
spec:
type: LoadBalancer
selector:
app: service_test_pod
ports:
- port: 80
View test-service-nodeport.yaml
kind: Service
apiVersion: v1
metadata:
name: service-test
spec:
type: NodePort
selector:
app: service_test_pod
ports:
- port: 80
@Markbnj
Markbnj / test-client2-pod.yaml
Last active Nov 14, 2017
k8s-networking-services/test-client2-pod
View test-client2-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: service-test-client2
spec:
restartPolicy: Never
containers:
- name: test-client2
image: alpine
command: ["/bin/sh"]
@Markbnj
Markbnj / test-service.yaml
Last active Nov 12, 2017
k8s-networking-services/test-service
View test-service.yaml
kind: Service
apiVersion: v1
metadata:
name: service-test
spec:
selector:
app: service_test_pod
ports:
- port: 80
targetPort: http
@Markbnj
Markbnj / test-client1-pod.yaml
Last active Nov 12, 2017
k8s-networking-services/test-client1-pod
View test-client1-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: service-test-client1
spec:
restartPolicy: Never
containers:
- name: test-client1
image: alpine
command: ["/bin/sh"]
@Markbnj
Markbnj / test-deployment.yaml
Created Nov 12, 2017
k8s-networking-services/test-deployment
View test-deployment.yaml
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: service-test
spec:
replicas: 2
selector:
matchLabels:
app: service_test_pod
template:
View keybase.md

Keybase proof

I hereby claim:

  • I am markbnj on github.
  • I am markbnj (https://keybase.io/markbnj) on keybase.
  • I have a public key ASAurAAcEgjhAvcXHWw1ujCICb_8e98HV3FWERnAIkDu5go

To claim this, I am signing this object:

View mysql_data_size.sql
SELECT table_schema "DB Name", sum(data_length + index_length) / 1024 / 1024 "Data Size (MB)", sum(data_free) / 1024 / 1024 "Free space (MB)" from information_schema.tables GROUP BY table_schema;
@Markbnj
Markbnj / gist:0e4695cd36305ccfff1f4b0274d868fb
Last active May 5, 2016
Semantic web/NLP/natural language links
View gist:0e4695cd36305ccfff1f4b0274d868fb
http://semanticweb.org/wiki/Getting_data_from_the_Semantic_Web.html
http://www.mpi-inf.mpg.de/departments/databases-and-information-systems/research/yago-naga/yago/faq/
http://www.bioontology.org/wiki/images/6/6a/Triple_Stores.pdf
https://people.mpi-inf.mpg.de/~kberberi/publications/2015-www2015-q2g.pdf
http://autumnai.com/leaf/book/leaf.html
http://benjaminbolte.com/blog/2016/keras-language-modeling.html
You can’t perform that action at this time.