Skip to content

Instantly share code, notes, and snippets.

@tsuri
tsuri / gist:ddcffce68e7737ce506172cd823bd5af
Created August 13, 2016 20:35
mixed normal and preemtible kubernetes cluster
# Kubernetes clusters using preemtible instances
## Motivation
People experimenting with kubernetes clusters on the GKE not
necessarily have money to keep a full cluster on at all time. GKE
clusters can be easily resized, but this still incurs in the full
instance cost when the cluster is up.
Google has added preemptible instances that are ideal for many
@tsuri
tsuri / preemtible_kubernetes.md
Last active February 21, 2024 09:24
kubernetes cluster w/ pre-emptible instances

Kubernetes clusters using preemtible instances

Motivation

People experimenting with kubernetes clusters on the GKE not necessarily have money to keep a full cluster on at all time. GKE clusters can be easily resized, but this still incurs in the full instance cost when the cluster is up.

Google has added preemptible instances that are ideal for many

Kubernetes clusters using preemtible instances

Motivation

People experimenting with kubernetes clusters on the GKE not necessarily have money to keep a full cluster on at all time. GKE clusters can be easily resized, but this still incurs in the full instance cost when the cluster is up.

Google has added preemptible instances that are ideal for many

@tsuri
tsuri / kubernetes_vagrant.md
Last active August 30, 2016 20:49
vagrant networking

vagrant creates networks like:

vboxnet1

[ for some reason it started at 0, now it is 1 for me ]

to avoid sleep interferences:

  • put the following in /etc/NetworkManager/NetworkManager.conf
@tsuri
tsuri / pv.md
Created September 1, 2016 04:12
deployment w/ persistent volumes
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: frontend
spec:
  replicas: 2
  template:
    metadata:
 labels: