Skip to content

Instantly share code, notes, and snippets.


David O'Dell texasdave2

  • Austin
View GitHub Profile
View upgrade-kubernetes-1-113
View etcd-backup-kubernetes
backup etcd and kubeadm
mkdir -p backup
sudo cp -r /etc/kubernetes/pki ./backup
sudo docker run --rm -v $(pwd)/backup:/backup \
View cka-practice-questions
Questions are not from any actual exam!!!
Q: Create a job that calculates pi to 2000 decimal points using the container with the image named perl
and the following commands issued to the container: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
Once the job has completed, check the logs to and export the result to pi-result.txt.
# -*- coding: utf-8 -*-
Created on Sat May 26 09:10:40 2018
@author: David O'Dell
# Simple script that resizes all images in a directory to 100 x 100 thumbnails"
# script needs to be placed inside target directory
# import libraries
texasdave2 /
Last active May 11, 2018
Volcano map test
# -*- coding: utf-8 -*-
Created on Sun May 6 20:29:19 2018
@author: astro 1
#Volcano eruption map from 2010 to present
#data downloaded from