eksctl create cluster --region=us-east-1 --node-type=t2.medium --tags environment=testing --ssh-access --ssh-public-key=mdasadmin-key-01 --region=us-east-1 --zones=us-east-1a,us-east-1b,us-east-1c
kubectl get configmap --all-namespaces
kubectl edit cm/aws-auth -n kube-system
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
apiVersion: extensions/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: restricted | |
annotations: | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default' | |
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' | |
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default' | |
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default' | |
spec: |
export PROJECT_DIR=~/project/kubeatl/kubelab
mkdir -p ${PROJECT_DIR}
cd ${PROJECT_DIR}
git clone https://github.com/dmilan77/kubernetes-engine-samples.git
cd ${PROJECT_DIR}/kubernetes-engine-samples/guestbook
cd ${PROJECT_DIR}/kubernetes-engine-samples/guestbook
kubectl apply -f redis-master-controller.yaml
kubectl apply -f redis-master-service.yaml
kubectl apply -f redis-slave-controller.yaml
Test your docker setup
docker run hello-world
You should see an output "Hello from Docker"
$ docker run hello-world
https://hub.docker.com/signup?next=%2F%3Fref%3Dlogin
Choose one of the following to configure you kubernetes environment.
Docker for desktop https://www.docker.com/products/docker-desktop
- The Ball Of Mud represents the worst case scenario for a Monolith. Also called as Spaghetti Code.
- No clear isolation in the application.
- Complex dependencies where everything depends on every other thing.
- Hard to understand and harder to modify.
- To clean up the ball of mud we introduce isolation into the application by dividing the application along clear domain boundaries.
- We introduce packages and libraries that help isolate related pieces of code. They provide a clean and consistent interface.
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
Verifying my Blockstack ID is secured with the address 1MEv3FKnKBT2PPyBBkx82y7hTb4XLSZCqT https://explorer.blockstack.org/address/1MEv3FKnKBT2PPyBBkx82y7hTb4XLSZCqT |