Skip to content

Instantly share code, notes, and snippets.

View webwurst's full-sized avatar

Tobias Bradtke webwurst

View GitHub Profile
# using scaleway-cli to create a new host

scw create \
  --name kube-1 \
  --commercial-type VC1M \
  --volume 50G \
  --env "kubeadm master" \
@webwurst
webwurst / Dockerfile
Last active July 10, 2018 08:57
Kubernetes Python Client
FROM python:3.4
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN pip install /usr/src/app
# docker build --tag local/kubernetes .
# docker run -v $HOME/.kube:/root/.kube -v $PWD:$PWD -w $PWD -ti local/kubernetes python
#!/bin/bash
# Copyright 2017 Mirantis
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software