Skip to content

Instantly share code, notes, and snippets.

View piyushgupta009's full-sized avatar
🏠
Working from home

Piyush Gupta piyushgupta009

🏠
Working from home
View GitHub Profile
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:
@piyushgupta009
piyushgupta009 / CKAD.md
Created September 23, 2020 06:41 — forked from veggiemonk/CKAD.md
CKAD exam preparation
{
"meta": { "theme": "elegant" },
"basics": {
"name": "Piyush Gupta",
"label": "DevOps Engineer/Consultant",
"picture": "https://avatars2.githubusercontent.com/u/30699632?s=400&u=f150785d3172db8033bc8922031e7a98526ace7c&v=4",
"email": "piyush.gupta010@gmail.com",
"phone": "(91) 9711206928",
"website": "",
"summary": "Skilled DevOps Engineer with 10+ years of experience in server deployments,automation and hardening the security around it .Furthermore I have worked on enagagements involving AWS, Docker, Kubernetes, and Openstack, helping organizations instill Devops for the modern age.",

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096