Skip to content

Instantly share code, notes, and snippets.

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.
Solution:
@logansap
logansap / chocolatey_Install.ps1
Created September 12, 2018 13:20
Install chocolatey using powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
@logansap
logansap / minikube_start.logs
Created September 12, 2018 13:16
Successful minikube start logs for on hyperv
C:\WINDOWS\system32>minikube start --vm-driver hyperv --hyperv-virtual-switch ExternalSwitch --bootstrapper=localkube --alsologtostderr
I0912 14:55:56.770963 22056 notify.go:109] Checking for updates...
There is a newer version of minikube available (v0.28.2). Download it here:
https://github.com/kubernetes/minikube/releases/tag/v0.28.2
To disable this notification, run the following:
minikube config set WantUpdateNotification false
I0912 14:56:00.266979 22056 cache_images.go:292] Attempting to cache image: gcr.io/k8s-minikube/storage-provisioner:v1.8.0 at C:\users\i328057\.minikube\cache\images\gcr.io\k8s-minikube\storage-provisioner_v1.8.0
I0912 14:56:00.266979 22056 cache_images.go:292] Attempting to cache image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5 at C:\users\i328057\.minikube\cache\images\k8s.gcr.io\k8s-dns-sidecar-amd64_1.14.5
Starting local Kubernetes v1.10.0 cluster...