Easiest HDFS cluster in the world with kubernetes.
Inspiration from kimoonkim/kubernetes-HDFS
kubectl create -f namenode.yaml
kubectl create -f datanode.yaml
Setup a port-forward to so you can see it is alive:
| #!/bin/sh | |
| echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
| read inputline | |
| name="$inputline" | |
| echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
| read inputline | |
| url="$inputline" |
Easiest HDFS cluster in the world with kubernetes.
Inspiration from kimoonkim/kubernetes-HDFS
kubectl create -f namenode.yaml
kubectl create -f datanode.yaml
Setup a port-forward to so you can see it is alive:
| <section> | |
| <section id="kubernetes-hands-on"> | |
| <h1>Kubernetes Zone</h1> | |
| <h1>Hands-On Workshop</h1> | |
| <br/> | |
| <p><a href="https://www.eventbrite.com/e/kubernetes-zone-workshop-andor-reception-tickets-32538282880">Kubernetes Zone - April 17, 2017</a></p> | |
| <p><a href="http://bit.ly/k8s-zone">bit.ly/k8s-zone</a></p> | |
| </section> | |
| <section data-state='blackout' data-background-color="#000000" id='presented-by'> | |
| <p>presented by…</p> |
| #!/usr/bin/groovy | |
| /* | |
| * Copyright (c) 2016, Andrey Makeev <amaksoft@gmail.com> | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * 1. Redistributions of source code must retain the above copyright |
| #!/bin/bash | |
| list="$( | |
| sudo ps -A \ | |
| | grep -iE '(spotify|chrome|blue|coreaudiod)' \ | |
| | cut -c 1-90 | |
| )" | |
| pids=$( cut -c 1-6 <<< "$list" ) |
| def gcdRecur(a, b): | |
| print a | |
| if b==0: | |
| return a | |
| else: | |
| return gcdRecur(b,a % b) |