Skip to content

Assignment #04

Due Date

Section Due Date
Saturday 11/03/2018 at 01:00PM

Getting Help

Info

Ask all your questions on Piazza. Assign assignment4 tag to your posts.

AWS Expenses

Warning

To keep your AWS credit usage to minimum, please terminate your k8s stack when you are done working on it.

Objectives

Setup Prometheus to Collect Metrics

Set up Prometheus on your Kubernetes cluster and collect Kubernetes cluster metrics.

Run Redis Exporter to Export Metrics

Run Redis Exporter in a sidecar along with Redis server and sentinel. Configure Prometheus to pull metrics from each Redis pod. You will also need to create a ServiceMonitorSpec to configure your Redis Exporter as target.

Setup Grafana Dashboards for Redis Metrics

Setup Grafana dashboard for the Redis metrics.

RBAC Specs for Helm

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: tiller
subjects:
- kind: ServiceAccount
  name: tiller
  namespace: kube-system

Reading

Submission

Danger

Releases created after due date will be considered late.

  1. All work for this assignment must be done on assignment4 feature branch and merged to master when you are dev complete.
  2. GitHub release must be created from the master branch.
  3. All team member’s branches must be in-sync. Each team member must create a release in their repository.
  4. All assignments will be delivered using GitHub releases feature. See GitHub documentation for details on how to create a release.

Grading Guidelines

Warning

Following guidelines are for information only and are subject to change at my discretion.

  1. Demonstrate that your deliverables have met assignment objectives.