Skip to content

Instantly share code, notes, and snippets.

View aaronkjones's full-sized avatar

Aaron Jones aaronkjones

View GitHub Profile
@aaronkjones
aaronkjones / README.md
Last active November 21, 2022 18:31
Install specific version of kubectl

README

$ mkdir -P ~/.local/bin
$ wget https://gist.githubusercontent.com/aaronkjones/ca4fed7cc1c8cee74efd6e7879c14a34/raw/f5180810538593f54f0af4358e7b04566d48925f/install-kubectl.sh -O ~/.local/bin/install-kubectl.sh`
$ ~/.local/bin/install-kubectl.sh v1.21.14
@aaronkjones
aaronkjones / cka-tips.md
Created March 25, 2021 18:03
CKA Exam Tips

CKA Exam Tips

Exam taken Sept. 2020

Environment

  • The test environment is in Google Chrome, in a split window layout. The left side of the screen shows the question and controls; The right side, a terminal tab and instructions tab
  • You can have only one other tab open and are allowed access to Kubernetes docs and blog only
  • You'll probably want a decent sized monitor and you're able to use a secondary monitor
@aaronkjones
aaronkjones / k8s-pi.md
Last active June 11, 2020 08:08 — forked from alexellis/k8s-pi.md
K8s (v1.10.2) on Raspbian (April 2018)

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

Pre-reqs:

  • You must use an RPi 2 or 3 for use with Kubernetes
  • I'm assuming you're using wired ethernet (Wi-Fi also works, but it's not recommended)
"""Set all repositories of a given GitHub organization name for a given user
to watching.
"""
import argparse
import json
import requests
def get_repos(url, repo_list=[], auth=None):