Creating a Custom Competitive Kubernetes Training Experience on AKS — Part 1

Introduction

Demo

Demo of finished (POC) Application

Goals

Design Decisions

Figure 1: Authentication Sequence Flow
#application.properties
azure.activedirectory.session-stateless=false
azure.activedirectory.client-id=eac99337-4658-4de4-92bc-b0401f417f7e
azure.activedirectory.client-secret=ABC123
azure.activedirectory.user-group.allowed-groups=CompGroup
//QuestionController.java
...
@PreAuthorize("hasRole('ROLE_CompGroup')")
@PostMapping(value = "/api/levels/{id}/questions", produces = MediaType.APPLICATION_JSON_VALUE)
public String levels(@PathVariable("id") long id, Authentication authentication) {
Figure 2: Azure K8s Role Assignment
Figure 3: User Role Binding
Figure 5: Main Screen
Figure 6: Leader Board
Figure 7: Relational Database Design

Conclusion

--

--

Cloud Platform Architect. Opinions and articles on medium are my own.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adrian Hynes

Cloud Platform Architect. Opinions and articles on medium are my own.