From 326ba0dc5c9060e62728ad65f714d6acdcd5b2fc Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Fri, 1 Apr 2022 11:21:07 +0200 Subject: [PATCH 01/12] demo proposal for argocd --- .../ayushman/README.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 contributions/demo/week3-CD-and-feature-flag/ayushman/README.md diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md new file mode 100644 index 0000000000..82799a4908 --- /dev/null +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -0,0 +1,24 @@ +# Assignment Proposal + +## Title + +Declarative Continuous Deployment on K8s Using ArgoCD + +## Names and KTH ID + +- Ayushman Khazanchi (ayushman@kth.se) + +## Deadline + +Task 1: Apr 5th + +## Category + +Demo + +## Description + +In imperative deployment there is often someone "pushing a button" to start a deployment. The final environment is the result of a number of steps as defined by the deployment scripts. With Declarative deployment this concept is shifted to defining the environment as a "state". As soon as this state is modified, declarative tools attempt to do deployment by "syncing" towards the new state. ArgoCD is a declarative GitOps tool that is used for continuous deployment to Kubernetes. ArgoCD considers a git repository as its source of truth and attempts to do automatic deployments on K8s whenever it observes a change in the git repo. + +For my demo, I will attempt to deploy a small example application on minikube using ArgoCD. I will then make a small change to the application and push it to the repo and demo the automatic sync capability of ArgoCD (declarative deployment). On seeing the change in the repo, ArgoCD should automatically update the application. + From 53779079b42db323ceedd8126e06958e587830fd Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Tue, 5 Apr 2022 16:37:30 +0200 Subject: [PATCH 02/12] Submission for Task 1 --- .../demo/week3-CD-and-feature-flag/ayushman/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md index 82799a4908..ea10880467 100644 --- a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -22,3 +22,7 @@ In imperative deployment there is often someone "pushing a button" to start a de For my demo, I will attempt to deploy a small example application on minikube using ArgoCD. I will then make a small change to the application and push it to the repo and demo the automatic sync capability of ArgoCD (declarative deployment). On seeing the change in the repo, ArgoCD should automatically update the application. +## Submission + +Demo scheduled for Thursday, Apr 7, 920 am +Git repo and documentation: (argocd-demo)[https://github.com/aykhazanchi/argocd-demo] From 68f016ab7a8d45663fd922edc1a64177740b785e Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Tue, 5 Apr 2022 16:37:48 +0200 Subject: [PATCH 03/12] Update README.md --- .../demo/week3-CD-and-feature-flag/ayushman/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md index ea10880467..f4dce2f26d 100644 --- a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -24,5 +24,5 @@ For my demo, I will attempt to deploy a small example application on minikube us ## Submission -Demo scheduled for Thursday, Apr 7, 920 am -Git repo and documentation: (argocd-demo)[https://github.com/aykhazanchi/argocd-demo] +- Demo scheduled for Thursday, Apr 7, 920 am +- Git repo and documentation: (argocd-demo)[https://github.com/aykhazanchi/argocd-demo] From eaa046064881ba9e54c775290946911f56b30308 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Tue, 5 Apr 2022 16:38:44 +0200 Subject: [PATCH 04/12] update submission git link --- contributions/demo/week3-CD-and-feature-flag/ayushman/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md index f4dce2f26d..7460e77e67 100644 --- a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -25,4 +25,4 @@ For my demo, I will attempt to deploy a small example application on minikube us ## Submission - Demo scheduled for Thursday, Apr 7, 920 am -- Git repo and documentation: (argocd-demo)[https://github.com/aykhazanchi/argocd-demo] +- Git repo and documentation: https://github.comaykhazanchi/argocd-demo From a77d46dab2f12c2d900d5f2ef506f079256efaf1 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Tue, 5 Apr 2022 16:41:35 +0200 Subject: [PATCH 05/12] Update README.md --- contributions/demo/week3-CD-and-feature-flag/ayushman/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md index 7460e77e67..6f2e094012 100644 --- a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -22,7 +22,7 @@ In imperative deployment there is often someone "pushing a button" to start a de For my demo, I will attempt to deploy a small example application on minikube using ArgoCD. I will then make a small change to the application and push it to the repo and demo the automatic sync capability of ArgoCD (declarative deployment). On seeing the change in the repo, ArgoCD should automatically update the application. -## Submission +Final Submission - Demo scheduled for Thursday, Apr 7, 920 am - Git repo and documentation: https://github.comaykhazanchi/argocd-demo From e7565b261382430475b6babb879e1056c4df49a0 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Wed, 6 Apr 2022 10:29:20 +0200 Subject: [PATCH 06/12] Update README.md --- contributions/demo/week3-CD-and-feature-flag/ayushman/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md index 6f2e094012..e3f9cef4e8 100644 --- a/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md +++ b/contributions/demo/week3-CD-and-feature-flag/ayushman/README.md @@ -25,4 +25,4 @@ For my demo, I will attempt to deploy a small example application on minikube us Final Submission - Demo scheduled for Thursday, Apr 7, 920 am -- Git repo and documentation: https://github.comaykhazanchi/argocd-demo +- Git repo and documentation: https://github.com/aykhazanchi/argocd-demo From bfaf9295412c2e682c5580f4fffebc802fefb06b Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Mon, 11 Apr 2022 17:39:51 +0200 Subject: [PATCH 07/12] Proposal for executable Tutorial: Configure a multi-node Consul cluster on Docker containers for service discovery and KV storage --- .../ayushman-valdimar/README.md | 26 +++++++++++++++++++ .../executable-tutorial/ayushman-valdimar/\\" | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 contributions/executable-tutorial/ayushman-valdimar/README.md create mode 100644 "contributions/executable-tutorial/ayushman-valdimar/\\" diff --git a/contributions/executable-tutorial/ayushman-valdimar/README.md b/contributions/executable-tutorial/ayushman-valdimar/README.md new file mode 100644 index 0000000000..4cd89eeea2 --- /dev/null +++ b/contributions/executable-tutorial/ayushman-valdimar/README.md @@ -0,0 +1,26 @@ +# Assignment Proposal + +## Title + +Executable Tutorial: Configure a multi-node Consul cluster on Docker containers for service discovery and KV storage + +## Names and KTH ID + - Ayushman Khazanchi (ayushman@kth.se) + - Valdimar Björnsson (valdimar@kth.se) + +## Deadline + +Task 2 + +## Category + +Executable tutorial + +## Description + +Topic: Containers + +Hashicorp Consul is a tool that does many things from service discovery to DNS resolution to providing a distributed KV store. This is especially useful for environments where there are many microservices. + +For our executable tutorial we will first show how to deploy Consul on docker containers with some custom configuration and get the cluster up and running. We will then also register a micro-service on it to demonstrate service discovery. Because we are setting up a multi-node Consul cluster and Consul itself is fairly lightweight we will use docker containers to deploy the whole setup and use container volumes to mount the config files. + diff --git "a/contributions/executable-tutorial/ayushman-valdimar/\\" "b/contributions/executable-tutorial/ayushman-valdimar/\\" new file mode 100644 index 0000000000..63b91fb685 --- /dev/null +++ "b/contributions/executable-tutorial/ayushman-valdimar/\\" @@ -0,0 +1,26 @@ +# Assignment Proposal + +## Title + +Executable Tutorial: Configure a multi-node Consul cluster on Docker containers for service discovery and KV storage + +## Names and KTH ID + - Ayushman Khazanchi (ayushman@kth.se) + - Valdimar Bjornsson () + +## Deadline + +Task 2 + +## Category + +Executable tutorial + +## Description + +Topic: Containers + +Hashicorp Consul is a tool that does many things from service discovery to DNS resolution to providing a distributed KV store. This is especially useful for environments where there are many microservices. + +For our executable tutorial we will first show how to deploy Consul on docker containers with some custom configuration and get the cluster up and running. We will then also register a micro-service on it to demonstrate service discovery. Because we are setting up a multi-node Consul cluster and Consul itself is fairly lightweight we will use docker containers to deploy the whole setup and use volumes to mount the config files. + From b616af63f68f7ab01c550e450ed8394d811a9dbf Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Mon, 11 Apr 2022 17:47:31 +0200 Subject: [PATCH 08/12] removed random file --- .../executable-tutorial/ayushman-valdimar/\\" | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 "contributions/executable-tutorial/ayushman-valdimar/\\" diff --git "a/contributions/executable-tutorial/ayushman-valdimar/\\" "b/contributions/executable-tutorial/ayushman-valdimar/\\" deleted file mode 100644 index 63b91fb685..0000000000 --- "a/contributions/executable-tutorial/ayushman-valdimar/\\" +++ /dev/null @@ -1,26 +0,0 @@ -# Assignment Proposal - -## Title - -Executable Tutorial: Configure a multi-node Consul cluster on Docker containers for service discovery and KV storage - -## Names and KTH ID - - Ayushman Khazanchi (ayushman@kth.se) - - Valdimar Bjornsson () - -## Deadline - -Task 2 - -## Category - -Executable tutorial - -## Description - -Topic: Containers - -Hashicorp Consul is a tool that does many things from service discovery to DNS resolution to providing a distributed KV store. This is especially useful for environments where there are many microservices. - -For our executable tutorial we will first show how to deploy Consul on docker containers with some custom configuration and get the cluster up and running. We will then also register a micro-service on it to demonstrate service discovery. Because we are setting up a multi-node Consul cluster and Consul itself is fairly lightweight we will use docker containers to deploy the whole setup and use volumes to mount the config files. - From 29c14b25a7ce9a05c344b6d48d44ee0ee3200b78 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Thu, 21 Apr 2022 13:17:32 +0200 Subject: [PATCH 09/12] updated readme with final submission --- .../executable-tutorial/ayushman-valdimar/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contributions/executable-tutorial/ayushman-valdimar/README.md b/contributions/executable-tutorial/ayushman-valdimar/README.md index 4cd89eeea2..f6c70d677f 100644 --- a/contributions/executable-tutorial/ayushman-valdimar/README.md +++ b/contributions/executable-tutorial/ayushman-valdimar/README.md @@ -1,4 +1,4 @@ -# Assignment Proposal +# Final Submission ## Title @@ -14,7 +14,7 @@ Task 2 ## Category -Executable tutorial +Executable Tutorial ## Description @@ -22,5 +22,8 @@ Topic: Containers Hashicorp Consul is a tool that does many things from service discovery to DNS resolution to providing a distributed KV store. This is especially useful for environments where there are many microservices. -For our executable tutorial we will first show how to deploy Consul on docker containers with some custom configuration and get the cluster up and running. We will then also register a micro-service on it to demonstrate service discovery. Because we are setting up a multi-node Consul cluster and Consul itself is fairly lightweight we will use docker containers to deploy the whole setup and use container volumes to mount the config files. +For our executable tutorial we will first show how to deploy Consul on docker containers with some custom configuration and get the cluster up and running. We will then also register a micro-service on it to demonstrate service discovery. Because we are setting up a multi-node Consul cluster and Consul itself is fairly lightweight we will use docker containers to deploy the whole setup and use container volumes to mount the config files. +Final Submission +* [Katacoda Tutorial](https://katacoda.com/valdi/scenarios/consul-on-docker) +* [GitHub Repo](https://github.com/valdimarb13/katacoda-scenarios) \ No newline at end of file From 2e00ca8b1cf60d81d81b558477e4f313ce205b01 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Thu, 21 Apr 2022 13:19:48 +0200 Subject: [PATCH 10/12] fix readme format --- contributions/executable-tutorial/ayushman-valdimar/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributions/executable-tutorial/ayushman-valdimar/README.md b/contributions/executable-tutorial/ayushman-valdimar/README.md index f6c70d677f..c94f18ae2a 100644 --- a/contributions/executable-tutorial/ayushman-valdimar/README.md +++ b/contributions/executable-tutorial/ayushman-valdimar/README.md @@ -1,4 +1,4 @@ -# Final Submission +# Assignment Proposal ## Title @@ -26,4 +26,4 @@ For our executable tutorial we will first show how to deploy Consul on docker co Final Submission * [Katacoda Tutorial](https://katacoda.com/valdi/scenarios/consul-on-docker) -* [GitHub Repo](https://github.com/valdimarb13/katacoda-scenarios) \ No newline at end of file +* [GitHub Repo](https://github.com/valdimarb13/katacoda-scenarios) From 3957de21bceffd539b93ebfec2803696e711de42 Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Thu, 28 Apr 2022 15:30:36 +0200 Subject: [PATCH 11/12] proposal for presentation task 3 --- .../ayushman-aabdull/README.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md diff --git a/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md b/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md new file mode 100644 index 0000000000..0db79aac0b --- /dev/null +++ b/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md @@ -0,0 +1,26 @@ +# Assignment Proposal + +## Title + +Certificate Management in DevSecOps + +## Names and KTH ID + +- Ayushman Khazanchi (ayushman@kth.se) +- Abdullah Abdullah (aabdull@kth.se) + +## Deadline + +Task 3 + +## Category + +Presentation + +## Description + +We want to talk about cerificate management. In this we will try to cover the basics of TLS certificates and certificate chains. We will cover a little bit about Zero Trust Architecture and how certificates can help in zero trust architectture or even simple microservice architectures. + +We will cover how it's done using Vault in a non-K8s environment and using Istio/Linkerd in a K8s environment. + + From 360565aab3ceed3a2de82703ec0b218a8272e6ca Mon Sep 17 00:00:00 2001 From: Ayushman Khazanchi Date: Tue, 3 May 2022 13:12:15 +0200 Subject: [PATCH 12/12] week 7 presentation: final submission with link to slides --- .../week7-dependency-DevSecOps/ayushman-aabdull/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md b/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md index 0db79aac0b..3b1b13d831 100644 --- a/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md +++ b/contributions/presentation/week7-dependency-DevSecOps/ayushman-aabdull/README.md @@ -23,4 +23,8 @@ We want to talk about cerificate management. In this we will try to cover the ba We will cover how it's done using Vault in a non-K8s environment and using Istio/Linkerd in a K8s environment. +*** Final Submission *** +Due to a packed schedule and a guest lecture in Week 7, we will be presenting our topic in week 8. + +Slides: https://docs.google.com/presentation/d/1lXiJTzGeSPloJal7OrpD9H0kKlee9bTX_kZGcHKhulQ/edit?usp=sharing