Skip to content

Commit

Permalink
update: web site version bump. testing drop
Browse files Browse the repository at this point in the history
  • Loading branch information
MarAvFe committed Aug 19, 2020
1 parent 5073285 commit 340c629
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This project is a small example of the following topics:
- continuous integration [Github Actions](https://github.com/features/actions)
- infrastructure as code ([Terraform](terraform.io))
- cloud services [AWS](https://aws.amazon.com/)
- Kubernetes Chaos
- Kubernetes Chaos Testing [LitmusChaos](https://litmuschaos.io/)

Overview
---
Expand Down Expand Up @@ -115,6 +115,38 @@ This enables S3 as terraform backend, where the infrastructure state will be sav

---

Test
---

### Chaos testing

[Litmus Chaos](https://litmuschaos.io/) will be used for this test.

With the created cluster, run the following commands:

```bash
$ aws eks update-kubeconfig --name hello-pong-eks-30eCLOFM # Config kubectl credentials
$ kubectl get pods # Verify pods were correctly started
$ kubectl apply -f https://litmuschaos.github.io/litmus/litmus-operator-v1.7.0.yaml # Install Litmus
$ kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.7.0?file=charts/generic/experiments.yaml # Get generic tests
$ kubectl get all -n litmus # Verify required resources were created
NAME READY STATUS RESTARTS AGE
pod/chaos-operator-ce-66866b6469-bdfzp 1/1 Running 0 7m34s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/chaos-operator-metrics ClusterIP 172.20.10.124 <none> 8383/TCP 7m27s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/chaos-operator-ce 1/1 1 1 7m34s
NAME DESIRED CURRENT READY AGE
replicaset.apps/chaos-operator-ce-66866b6469 1 1 1 7m34s
```

> Unfinished. The results were not as expected. Dropped for the scope of this delivery

---

Pipelines
---

Expand Down Expand Up @@ -226,6 +258,8 @@ This was a very straightforward and quick issue to solve thanks to [this answer]

## TODO

- [ ] Chaos testing
- [ ] Load testing
- [ ] Autoscaling
- [ ] Create IAM role with Terraform
- [ ] Create and destroy (somehow) S3 bucket with Terraform
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func main() {

func hello(w http.ResponseWriter, r *http.Request) {
log.Printf("Serving request: %s", r.URL.Path)
version := "0.9.0"
version := "1.0.0"
host, _ := os.Hostname()
var ipaddr []string = []string{}

Expand Down

0 comments on commit 340c629

Please sign in to comment.