- local https://github.com/kubernetes-sigs/kind (or just use minikube if it works for you)
- cloud https://cloud.google.com/kubernetes-engine (for PersistentVolume and Ingress, I needed to try the real deal)
- practice environment: https://github.com/arush-sal/cka-practice-environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS F:\junk\05> vagrant up {"configs"=>{"smb_password"=>"newyork00", "smb_username"=>"[email protected]"}} Bringing machine '2master' up with 'hyperv' provider... Bringing machine '2worker1' up with 'hyperv' provider... Bringing machine '2worker2' up with 'hyperv' provider... | |
==> 2master: Verifying Hyper-V is enabled... | |
==> 2master: Verifying Hyper-V is accessible... | |
==> 2master: Importing a Hyper-V instance | |
2master: Creating and registering the VM... | |
2master: Successfully imported VM | |
2master: Please choose a switch to attach to your Hyper-V instance. | |
2master: If none of these are appropriate, please open the Hyper-V manager | |
2master: to create a new virtual switch. | |
2master: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install mc htop git unzip wget curl -y | |
echo | |
echo "=====================================================" | |
echo " WELCOME" | |
echo "=====================================================" | |
echo | |
echo "Hub" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test.stack; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
public class Main { | |
@JsonProperty("com.test.stack") | |
public Stack stack; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test.options; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
public class Main { | |
@JsonProperty("com.test.options") | |
public Options options; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test.stack; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
public class Main { | |
@JsonProperty("com.test.stack") | |
public Stack stack; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="css/style.css" rel="stylesheet"> | |
<script src="./dist/jquery-1.7.js"></script> | |
<script src="./dist/socket.io.js"></script> | |
<script> | |
// socket.io specific code | |
var socket = io.connect('', {'resource':'atmosphere-socketio-chat/ChatAtmosphereHandler'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Load AtmosphereHandler defined under META-INF/atmosphere.xml | |
* | |
* @param stream The input stream we read from. | |
* @param c The classloader | |
*/ | |
protected void loadAtmosphereDotXml(InputStream stream, URLClassLoader c) | |
throws IOException, ServletException { | |
if (stream == null) { |
NewerOlder